刚用SpringBoot搭建的项目,To display the auto-configuration report re-run your application with 'debug' enab
2018-02-27 22:37
1021 查看
具体错误信息太长了,我就把重要的信息贴出来了,求大佬们帮忙看看,搞了一下午了
(在idea上跑的)
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-02-27 21:48:01.087 ERROR 11200 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productCategoryReposity': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.imooc.dataobject.ProductCategory
at
(在idea上跑的)
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-02-27 21:48:01.087 ERROR 11200 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mvcConversionService' defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.format.support.FormattingConversionService]: Factory method 'mvcConversionService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productCategoryReposity': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.imooc.dataobject.ProductCategory
at
相关文章推荐
- IDEA报错:Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. ('crmWatcherService'错误)
- spring boot 报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default p
- Eclipse打war包(maven项目)错误To see the full stack trace of the errors, re-run Maven with the -e switch
- Eclipse打war包(maven项目)错误To see the full stack trace of the errors, re-run Maven with the -e switch
- spring boot 报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default p
- Springboot启动报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
- 启动Spring Boot 项目 报错:Application failed to start with classpath
- Java问题解决:springboot启动出现-Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package
- Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test java.lang.IllegalStateException
- Spring Boot 项目构建 之 使用 Spring Boot 构建应用(Building an Application with Spring Boot)
- Spring Boot之No session repository could be auto-configured, check your configuration问题解决
- eclipse中,项目有红叉之-Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix
- springboot警告:ApplicationContext is unlikely to start due to a @ComponentScan of the default package
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get
- Your configuration specifies to merge with the ref 'refs/heads/master' from the remote, but no such
- 004-Spring boot 快速入门-项目搭建与启动、SpringBootApplication
- 关于sonar问题解决Re-run SonarQube Scanner using the -X switch to enable full debug logging non-zero code:1
- spring boot--creating your own auto-configuration
- IDEA启动Spring Boot项目提示Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServlet...
- maven项目报错--Project configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Qu