04 2020 档案
摘要:问题:dependency导入坐标不提示 原因:可能因为使用了阿里云镜像。 解决办法: 1,注释本地maven目录下conf目录中的setting.xml中的阿里云镜像的这部分配置 2,打开setting->Build,Execution,Deployment->Maven 将setting.xml
阅读全文
摘要:错误信息:requires JUnit 4.12 or higher解决方法: 修改依赖中的junit版本为4.12(含)以上。 Spring整合junit的配置 1,导入spring整合junit的java包 2,使用junit提供的一个注解把原有的maiin方法替换了,替换成spring提供的。
阅读全文
摘要:转自:https://www.cnblogs.com/whaleX/p/10561729.html 说明: 如果我们的spring-boot项目中添加了spring-boot-starter-actuator ,项目启动后我们可以通过 http://localhost:8080/actuator/b
阅读全文
摘要:bean定义 Spring 官方文档对 bean 的解释是: In Spring, the objects that form the backbone of your application and that are managed by the Spring IoC container are
阅读全文
摘要:mac下安装idea: 这里就不写了,idea的安装比较简单 mac下安装maven: https://blog.csdn.net/dearKundy/article/details/80291275 配置环境变量 1)打开终端输入命令 vim ~/.bash_profile (编辑环境变量配置文件
阅读全文
摘要:spring成员: spring framework, spring boot2.0, spring data, spring MVC, spring WebFlux, spring cloud)
阅读全文

浙公网安备 33010602011771号