[root@taotao01 data]# java -jar data-1.0-SNAPSHOT.jar
2019-06-30 02:15:03.366 INFO 42680 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@59f95c5d: startup date [Sun Jun 30 02:15:03 CST 2019]; root of context hierarchy
2019-06-30 02:15:04.930 INFO 42680 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-06-30 02:15:05.084 INFO 42680 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$2a336072] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.4.2.RELEASE)
2019-06-30 02:15:22.956 INFO 42680 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://192.168.22.16:8888
2019-06-30 02:15:24.628 INFO 42680 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=data, profiles=[development], label=master, version=a7a08725ff060c4ee848ed7f549e5882c42e8dad, state=null
2019-06-30 02:15:24.628 INFO 42680 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: CompositePropertySource [name='configService', propertySources=[MapPropertySource [name='configClient'], MapPropertySource [name='https://gitee.com/ctocloud/spring-cloud-config-repo.git/data-development.yml'], MapPropertySource [name='https://gitee.com/ctocloud/spring-cloud-config-repo.git/data.yml'], MapPropertySource [name='https://gitee.com/ctocloud/spring-cloud-config-repo.git/application.yml']]]
2019-06-30 02:15:24.661 INFO 42680 --- [ main] com.test.data.DataApplication : The following profiles are active: development
2019-06-30 02:15:24.833 INFO 42680 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@51081592: startup date [Sun Jun 30 02:15:24 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@59f95c5d
2019-06-30 02:15:35.919 INFO 42680 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'hystrixFeature' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration$HystrixWebConfiguration; factoryMethodName=hystrixFeature; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/hystrix/HystrixCircuitBreakerConfiguration$HystrixWebConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration; factoryMethodName=hystrixFeature; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/hystrix/HystrixCircuitBreakerConfiguration.class]]
2019-06-30 02:15:37.038 INFO 42680 --- [ main] o.s.b.f.config.PropertiesFactoryBean : Loading properties file from URL [jar:file:/root/projects/chenfromsz-spring/chenfromsz-spring-boot-cloud/docker/data/data-1.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-integration-core-4.3.5.RELEASE.jar!/META-INF/spring.integration.default.properties]
2019-06-30 02:15:37.081 INFO 42680 --- [ main] o.s.i.config.IntegrationRegistrar : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2019-06-30 02:15:37.783 INFO 42680 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'managementServletContext' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.actuate.autoconfigure.EndpointWebMvcHypermediaManagementContextConfiguration; factoryMethodName=managementServletContext; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/actuate/autoconfigure/EndpointWebMvcHypermediaManagementContextConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration; factoryMethodName=managementServletContext; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.class]]
2019-06-30 02:15:38.933 WARN 42680 --- [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @Configuration bean definition 'refreshScope' since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
2019-06-30 02:15:40.623 INFO 42680 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=35466116-e240-3f27-bb04-76e426c18d94
2019-06-30 02:15:40.750 INFO 42680 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
2019-06-30 02:15:40.973 INFO 42680 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created.
2019-06-30 02:15:41.151 INFO 42680 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-06-30 02:15:41.293 INFO 42680 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'neo4jConfig' of type [class com.test.data.config.Neo4jConfig$$EnhancerBySpringCGLIB$$f2521213] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-06-30 02:15:41.294 INFO 42680 --- [ main] o.s.d.neo4j.config.Neo4jConfiguration : Initialising PersistenceExceptionTranslationPostProcessor
2019-06-30 02:15:41.967 INFO 42680 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration' of type [class org.springframework.amqp.rabbit.annotation.RabbitBootstrapConfiguration$$EnhancerBySpringCGLIB$$d4851ba3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-06-30 02:15:43.380 INFO 42680 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$e195d75] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-06-30 02:15:45.544 INFO 42680 --- [ main] o.s.b.f.config.PropertiesFactoryBean : Loading properties file from URL [jar:file:/root/projects/chenfromsz-spring/chenfromsz-spring-boot-cloud/docker/data/data-1.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-integration-core-4.3.5.RELEASE.jar!/META-INF/spring.integration.default.properties]
2019-06-30 02:15:45.544 INFO 42680 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationGlobalProperties' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-06-30 02:15:45.616 INFO 42680 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationGlobalProperties' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-06-30 02:15:46.316 INFO 42680 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$2a336072] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-06-30 02:15:46.421 INFO 42680 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.stream.config.ChannelBindingServiceConfiguration$PostProcessorConfiguration' of type [class org.springframework.cloud.stream.config.ChannelBindingServiceConfiguration$PostProcessorConfiguration$$EnhancerBySpringCGLIB$$5e3f601] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-06-30 02:15:50.279 INFO 42680 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9000 (http)
2019-06-30 02:15:50.398 INFO 42680 --- [ main] o.apache.catalina.core.StandardService : Starting service Tomcat
2019-06-30 02:15:50.405 INFO 42680 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.6
2019-06-30 02:15:51.124 INFO 42680 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2019-06-30 02:15:51.126 INFO 42680 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 26293 ms
2019-06-30 02:15:56.113 WARN 42680 --- [ost-startStop-1] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2019-06-30 02:15:56.113 INFO 42680 --- [ost-startStop-1] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2019-06-30 02:15:56.197 INFO 42680 --- [ost-startStop-1] c.netflix.config.DynamicPropertyFactory : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@5c4c2e08
2019-06-30 02:15:59.452 INFO 42680 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'zuulServlet' to [/zuul/*]
2019-06-30 02:15:59.466 INFO 42680 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2019-06-30 02:15:59.519 INFO 42680 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*]
2019-06-30 02:15:59.520 INFO 42680 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2019-06-30 02:15:59.520 INFO 42680 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2019-06-30 02:15:59.520 INFO 42680 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2019-06-30 02:15:59.520 INFO 42680 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2019-06-30 02:15:59.520 INFO 42680 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*]
2019-06-30 02:15:59.520 INFO 42680 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*]
2019-06-30 02:15:59.726 INFO 42680 --- [ost-startStop-1] o.s.c.n.zuul.ZuulFilterInitializer : Starting filter initializer context listener
2019-06-30 02:16:00.386 INFO 42680 --- [ main] o.s.d.neo4j.config.Neo4jConfiguration : Initialising Neo4jSession
2019-06-30 02:16:05.060 INFO 42680 --- [ main] o.neo4j.ogm.metadata.ClassFileProcessor : Starting Post-processing phase
2019-06-30 02:16:05.060 INFO 42680 --- [ main] o.neo4j.ogm.metadata.ClassFileProcessor : Building annotation class map
2019-06-30 02:16:05.060 INFO 42680 --- [ main] o.neo4j.ogm.metadata.ClassFileProcessor : Building interface class map for 0 classes
2019-06-30 02:16:05.068 INFO 42680 --- [ main] o.neo4j.ogm.metadata.ClassFileProcessor : Post-processing complete
2019-06-30 02:16:05.068 INFO 42680 --- [ main] o.neo4j.ogm.metadata.ClassFileProcessor : 0 classes loaded in 4608 milliseconds
2019-06-30 02:16:05.192 INFO 42680 --- [ main] org.neo4j.ogm.service.DriverService : Using driver: org.neo4j.ogm.drivers.http.driver.HttpDriver
2019-06-30 02:16:05.842 INFO 42680 --- [ main] o.s.d.neo4j.mapping.Neo4jMappingContext : Neo4jMappingContext initialisation completed
2019-06-30 02:16:09.051 INFO 42680 --- [ main] o.s.b.f.config.PropertiesFactoryBean : Loading properties file from class path resource [rest-default-messages.properties]
2019-06-30 02:16:09.394 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.lang.Long com.test.data.domain.User.id and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=id]
2019-06-30 02:16:09.395 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.lang.String com.test.data.domain.User.name and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=name]
2019-06-30 02:16:09.395 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.lang.String com.test.data.domain.User.email and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=email]
2019-06-30 02:16:09.395 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.lang.Integer com.test.data.domain.User.sex and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=sex]
2019-06-30 02:16:09.443 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.util.Date com.test.data.domain.User.create and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=create]
2019-06-30 02:16:09.445 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: java.util.List com.test.data.domain.User.owners and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=owners]
2019-06-30 02:16:09.482 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.lang.Long com.test.data.domain.Owner.id and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=id]
2019-06-30 02:16:09.482 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.lang.String com.test.data.domain.Owner.name and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=name]
2019-06-30 02:16:09.483 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.util.Date com.test.data.domain.Owner.create and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=create]
2019-06-30 02:16:09.487 INFO 42680 --- [ main] o.s.d.neo4j.mapping.Neo4jMappingContext : No class information found in OGM meta-data for class com.test.data.domain.User so treating as simple type for SD Commons
2019-06-30 02:16:09.487 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private com.test.data.domain.User com.test.data.domain.Owner.user and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=user]
2019-06-30 02:16:09.488 INFO 42680 --- [ main] o.s.d.neo4j.mapping.Neo4jMappingContext : No class information found in OGM meta-data for class com.test.data.domain.Role so treating as simple type for SD Commons
2019-06-30 02:16:09.488 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private com.test.data.domain.Role com.test.data.domain.Owner.role and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=role]
2019-06-30 02:16:10.050 INFO 42680 --- [ main] o.s.d.neo4j.mapping.Neo4jMappingContext : No class information found in OGM meta-data for class com.test.data.domain.Belong so treating as simple type for SD Commons
2019-06-30 02:16:10.071 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: com.test.data.domain.Belong com.test.data.domain.User.belong and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=belong]
2019-06-30 02:16:10.126 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.lang.Long com.test.data.domain.Unit.id and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=id]
2019-06-30 02:16:10.126 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.lang.String com.test.data.domain.Unit.name and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=name]
2019-06-30 02:16:10.127 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: private java.util.Date com.test.data.domain.Unit.create and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=create]
2019-06-30 02:16:10.127 WARN 42680 --- [ main] o.s.d.n.mapping.Neo4jPersistentProperty : Owning ClassInfo is null for field: java.util.List com.test.data.domain.Unit.users and propertyDescriptor: org.springframework.beans.GenericTypeAwarePropertyDescriptor[name=users]
2019-06-30 02:16:10.128 WARN 42680 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'profileController' defined in URL [jar:file:/root/projects/chenfromsz-spring/chenfromsz-spring-boot-cloud/docker/data/data-1.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-data-rest-webmvc-2.5.5.RELEASE.jar!/org/springframework/data/rest/webmvc/ProfileController.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceMappings' defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.rest.core.mapping.RepositoryResourceMappings]: Factory method 'resourceMappings' threw exception; nested exception is java.lang.IllegalArgumentException: PersistentEntity must not be null!
2019-06-30 02:16:10.156 INFO 42680 --- [ main] o.apache.catalina.core.StandardService : Stopping service Tomcat
2019-06-30 02:16:10.228 INFO 42680 --- [ost-startStop-2] o.s.c.n.zuul.ZuulFilterInitializer : Stopping filter initializer context listener
2019-06-30 02:16:10.380 INFO 42680 --- [ main] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2019-06-30 02:16:10.457 ERROR 42680 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'profileController' defined in URL [jar:file:/root/projects/chenfromsz-spring/chenfromsz-spring-boot-cloud/docker/data/data-1.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-data-rest-webmvc-2.5.5.RELEASE.jar!/org/springframework/data/rest/webmvc/ProfileController.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceMappings' defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.rest.core.mapping.RepositoryResourceMappings]: Factory method 'resourceMappings' threw exception; nested exception is java.lang.IllegalArgumentException: PersistentEntity must not be null!
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:754) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866) ~[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542) ~[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) [spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371) [spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) [spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) [spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
at com.test.data.DataApplication.main(DataApplication.java:15) [classes!/:1.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [data-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [data-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [data-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58) [data-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceMappings' defined in class path resource [org/springframework/data/rest/webmvc/config/RepositoryRestMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.rest.core.mapping.RepositoryResourceMappings]: Factory method 'resourceMappings' threw exception; nested exception is java.lang.IllegalArgumentException: PersistentEntity must not be null!
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1022) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1131) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1059) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
... 27 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.rest.core.mapping.RepositoryResourceMappings]: Factory method 'resourceMappings' threw exception; nested exception is java.lang.IllegalArgumentException: PersistentEntity must not be null!
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
... 40 common frames omitted
Caused by: java.lang.IllegalArgumentException: PersistentEntity must not be null!
at org.springframework.util.Assert.notNull(Assert.java:115) ~[spring-core-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.data.rest.core.mapping.RepositoryAwareResourceMetadata.<init>(RepositoryAwareResourceMetadata.java:52) ~[spring-data-rest-core-2.5.5.RELEASE.jar!/:na]
at org.springframework.data.rest.core.mapping.RepositoryResourceMappings.populateCache(RepositoryResourceMappings.java:90) ~[spring-data-rest-core-2.5.5.RELEASE.jar!/:na]
at org.springframework.data.rest.core.mapping.RepositoryResourceMappings.<init>(RepositoryResourceMappings.java:76) ~[spring-data-rest-core-2.5.5.RELEASE.jar!/:na]
at org.springframework.data.rest.core.mapping.RepositoryResourceMappings.<init>(RepositoryResourceMappings.java:55) ~[spring-data-rest-core-2.5.5.RELEASE.jar!/:na]
at org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration.resourceMappings(RepositoryRestMvcConfiguration.java:599) ~[spring-data-rest-webmvc-2.5.5.RELEASE.jar!/:na]
at org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration$$EnhancerBySpringCGLIB$$2f1c7c15.CGLIB$resourceMappings$7(<generated>) ~[spring-data-rest-webmvc-2.5.5.RELEASE.jar!/:na]
at org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration$$EnhancerBySpringCGLIB$$2f1c7c15$$FastClassBySpringCGLIB$$6a57bbb4.invoke(<generated>) ~[spring-data-rest-webmvc-2.5.5.RELEASE.jar!/:na]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356) ~[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
at org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration$$EnhancerBySpringCGLIB$$2f1c7c15.resourceMappings(<generated>) ~[spring-data-rest-webmvc-2.5.5.RELEASE.jar!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
... 41 common frames omitted
java.lang.IllegalArgumentException: PersistentEntity must not be null!
猜你喜欢
转载自blog.csdn.net/yuhaibao324/article/details/94243868
今日推荐
周排行