Tags : SpringBoot,maven
发表时间:2018-05-06 00:03:37
SpringBoot使用@project.version@出现'@' that cannot start any token. (Do not use @ for indentation)....
出现上面困扰了很久,因为自己本地springboot项目在application.yml配置文件上是可以正常读取到maven指定的版本号的,在springboot admin上面是可以正常显示version。
如:
&nb
Tags : SpringBoot,热部署,Idea
发表时间:2018-02-28 23:05:18
1 pom.xml文件
注:热部署功能spring-boot-1.3开始有的
<!--添加依赖-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<!-- optional=true,依赖不会传递,该项目依赖devtools;之后依赖m
Tags : SpringBoot
发表时间:2018-08-13 22:31:28
SpringBoot启动失败,并且日志如下:
2018-08-13 22:26:59.360 WARN 24652 --- [ main] ionWarningsApplicationContextInitializer :
** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of t