spring boot configuration annotation processor bot found in classpath
出现这个错误,其实idea有提示总么解决
在pom.xml文件中加上
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
这个依赖,不得不说idea很强大
出现这个错误,其实idea有提示总么解决
在pom.xml文件中加上
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
这个依赖,不得不说idea很强大
2017-07-23
A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component .
前面那位同学的方法解决不了的时候可以换用jetty
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component .
前面那位同学的方法解决不了的时候可以换用jetty
2017-07-23
不能自动装配,不懂怎么回事Description:
A component required a bean of type 'com.meven.demo.MavenDemo.MavenDemoProperties' that could not be found.
Action:
Consider defining a bean of type 'com.meven.demo.MavenDemo.MavenDemoProperties' in your configuration.
A component required a bean of type 'com.meven.demo.MavenDemo.MavenDemoProperties' that could not be found.
Action:
Consider defining a bean of type 'com.meven.demo.MavenDemo.MavenDemoProperties' in your configuration.
2017-07-22