![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springBoot
丢垃圾的小熊
这个作者很懒,什么都没留下…
展开
-
(纠错)spring Boot启动报错
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. 2017-11-16 15:32:12.994 ERROR 2668 --- [ main] o.s.b.d.LoggingFailureAnalysi...原创 2018-07-27 11:19:13 · 213 阅读 · 0 评论 -
关于maven一updateProject项目的jdk就变成1.5或者时1.6的
一、在pom.xml中的<build><plugins><plugin>下加入maven-compiler-plugin依赖和<configconfiguration><source>1.7</source><target>1.7</target>这两个配置就可以了 <b原创 2018-11-12 10:00:28 · 925 阅读 · 0 评论 -
springboot报错The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one ti
自己记录一下一个小错: mysql默认服务器时区问题:修改jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8为 jdbc:mysql://localhost:3306/test?serverTimezone=GMT%2B8&useUnicode=true&characte...转载 2018-12-04 16:19:43 · 104 阅读 · 0 评论 -
spring+JUnit测试
背景:原本的springboot改成了不需要maven依赖自动导入jar包的java项目,导入了JUnit包和spring-test和spring-boot-test Junit测试配置类 @RunWIth(SpringJUnit4ClassRunner.class) //Application.class是系统启动类,不需要启动,直接运行测试类就能以junit的方式启动项目 @Sprin...原创 2018-12-03 17:18:43 · 203 阅读 · 0 评论