spring boot 启动失败

C:\cn\com\org\net\yys\program\JDK\bin\java.exe -Dmaven.multiModuleProjectDirectory=D:\cn\com\org\net\yangys\毕业论文\bs\bs-java "-Dmaven.home=C:\cn\com\org\net\yys\program\IntelliJ IDEA 2018.3.3\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\cn\com\org\net\yys\program\IntelliJ IDEA 2018.3.3\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:C:\cn\com\org\net\yys\program\IntelliJ IDEA 2018.3.3\lib\idea_rt.jar=57278:C:\cn\com\org\net\yys\program\IntelliJ IDEA 2018.3.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\cn\com\org\net\yys\program\IntelliJ IDEA 2018.3.3\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.3.3 org.springframework.boot:spring-boot-maven-plugin:2.1.3.RELEASE:start
[WARNING] 
[WARNING] Some problems were encountered while building the effective settings
[WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...ttp://maven.aliyun.com/nexus/content/groups/public/</url>;  \n\t  <m... @164:6)  @ C:\Users\Administrator\.m2\settings.xml, line 164, column 6
[WARNING] 
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building bysj 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.1.3.RELEASE:start (default-cli) @ bysj ---

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.1.3.RELEASE)

2019-03-23 12:28:49.997  INFO 8072 --- [boot.App.main()] cn.com.springboot.App                    : Starting App on yangys with PID 8072 (D:\cn\com\org\net\yangys\毕业论文\bs\bs-java\target\classes started by Administrator in D:\cn\com\org\net\yangys\毕业论文\bs\bs-java)
2019-03-23 12:28:50.004  INFO 8072 --- [boot.App.main()] cn.com.springboot.App                    : No active profile set, falling back to default profiles: default
2019-03-23 12:28:52.437  INFO 8072 --- [boot.App.main()] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2019-03-23 12:28:52.608  INFO 8072 --- [boot.App.main()] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 152ms. Found 2 repository interfaces.
2019-03-23 12:28:53.521  INFO 8072 --- [boot.App.main()] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$7a46f14f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-03-23 12:28:54.554  INFO 8072 --- [boot.App.main()] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8089 (http)
2019-03-23 12:28:54.637  INFO 8072 --- [boot.App.main()] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-03-23 12:28:54.637  INFO 8072 --- [boot.App.main()] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.16]
2019-03-23 12:28:54.663  INFO 8072 --- [boot.App.main()] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\cn\com\org\net\yys\program\JDK\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\cn\com\org\net\yys\program\Git\bin;C:\cn\com\org\net\yys\program\TortoisGit\bin;C:\cn\com\org\net\yys\program\JDK\bin;C:\cn\com\org\net\yys\program\JDK\jre\bin;C:\cn\com\org\net\yys\program\apache-maven-3.6.0\bin;.]
2019-03-23 12:28:54.930  INFO 8072 --- [boot.App.main()] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2019-03-23 12:28:54.930  INFO 8072 --- [boot.App.main()] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 4814 ms
2019-03-23 12:28:55.420  INFO 8072 --- [boot.App.main()] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
	name: default
	...]
2019-03-23 12:28:55.552  INFO 8072 --- [boot.App.main()] org.hibernate.Version                    : HHH000412: Hibernate Core {5.3.7.Final}
2019-03-23 12:28:55.555  INFO 8072 --- [boot.App.main()] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2019-03-23 12:28:55.866  INFO 8072 --- [boot.App.main()] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.4.Final}
2019-03-23 12:28:56.225  INFO 8072 --- [boot.App.main()] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2019-03-23 12:28:56.694  INFO 8072 --- [boot.App.main()] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2019-03-23 12:28:56.717  INFO 8072 --- [boot.App.main()] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
2019-03-23 12:28:57.795  INFO 8072 --- [boot.App.main()] org.hibernate.tuple.PojoInstantiator     : HHH000182: No default (no-argument) constructor for class: cn.com.springboot.bean.User (class must be instantiated by Interceptor)
2019-03-23 12:28:58.107  INFO 8072 --- [boot.App.main()] org.hibernate.tuple.PojoInstantiator     : HHH000182: No default (no-argument) constructor for class: cn.com.springboot.bean.PicRepo (class must be instantiated by Interceptor)
2019-03-23 12:28:58.340  INFO 8072 --- [boot.App.main()] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-03-23 12:28:59.954  WARN 8072 --- [boot.App.main()] aWebConfiguration$JpaWebMvcConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2019-03-23 12:29:00.006  WARN 8072 --- [boot.App.main()] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'documentationPluginsBootstrapper' defined in URL [jar:file:/D:/cn/com/org/net/yangys/apache-maven-3.1.0/repo/io/springfox/springfox-spring-web/2.7.0/springfox-spring-web-2.7.0.jar!/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL [jar:file:/D:/cn/com/org/net/yangys/apache-maven-3.1.0/repo/io/springfox/springfox-spring-web/2.7.0/springfox-spring-web-2.7.0.jar!/springfox/documentation/spring/web/plugins/WebMvcRequestHandlerProvider.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/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.RequestMappingHandlerMapping]: Factory method 'requestMappingHandlerMapping' 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/servlet/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 'picRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: interface cn.com.springboot.repository.PicRepository
2019-03-23 12:29:00.010  INFO 8072 --- [boot.App.main()] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2019-03-23 12:29:00.016  INFO 8072 --- [boot.App.main()] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2019-03-23 12:29:00.030  INFO 8072 --- [boot.App.main()] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2019-03-23 12:29:00.033  INFO 8072 --- [boot.App.main()] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2019-03-23 12:29:00.057  INFO 8072 --- [boot.App.main()] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-03-23 12:29:00.083 ERROR 8072 --- [boot.App.main()] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'documentationPluginsBootstrapper' defined in URL [jar:file:/D:/cn/com/org/net/yangys/apache-maven-3.1.0/repo/io/springfox/springfox-spring-web/2.7.0/springfox-spring-web-2.7.0.jar!/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcRequestHandlerProvider' defined in URL [jar:file:/D:/cn/com/org/net/yangys/apache-maven-3.1.0/repo/io/springfox/springfox-spring-web/2.7.0/springfox-spring-web-2.7.0.jar!/springfox/documentation/spring/web/plugins/WebMvcRequestHandlerProvider.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/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.RequestMappingHandlerMapping]: Factory method 'requestMappingHandlerMapping' 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/servlet/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 'picRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: interface cn.com.springboot.repository.PicRepository
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1325) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1171) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$102/1267968690.getObject(Unknown Source) ~[na:na]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849) ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.5.RELEASE.jar:5.1.5.RELEASE]
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
	at cn.com.springboot.App.main(App.java:14) [classes/:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_31]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_31]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_31]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_31]
	at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:558) [spring-boot-maven-plugin-2.1.3.RELEASE.jar:2.1.3.RELEASE]
	at java.lang.Thread.run(Unknown Source) [na:1.8.0_31]

猜你喜欢

转载自blog.csdn.net/qq_18532033/article/details/88758929