创建名称为'dataHubPublicationErrorJpaRepository'的bean时出错:初始化方法的调用失败

2020-09-24 14:22发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


2018-02-23 16:19:21,124 [INFO] [chktDefaultTypeSystem]创建类型系统2018-02-23 16:19:21,166 [INFO] [chktbClassPathTypeSystemReader]创建于2018年0:00:00.228的类型系统 -02-23 16:19:21,305 [WARN] [chdsExtensionEnabledXmlWebApplicationContext]在上下文初始化期间遇到异常-取消刷新尝试:org.springframework.beans.factory.BeanCreationException:创建名称为'dataHubPublicationErrorJpaRepository'的bean时出错:调用init方法失败 ; 嵌套异常是java.lang.IllegalArgumentException:不是托管类型:com.hybris.datahub.runtime.domain.jpa.entities.DataHubPublicationErrorEntity 2018-02-23 16:19:21,307 [INFO] [osojLocalContainerEntityEntityManagerFactoryBean]关闭JPA EntityManagerFactory 对于持久性单元'默认'2018-02-23 16:19:21,335 [INFO] [osceEhCacheManagerFactoryBean]关闭EhCache CacheManager 2018-02-23 16:19:21,360 [INFO] [osscThreadPoolTask​​Executor]关闭ExecutorService 2018-02 -23 16:19:21,380 [ERROR] [oswcContextLoader]上下文初始化失败org.springframework.beans.factory.BeanCreationException:创建名称为'dataHubPublicationErrorJpaRepository'的bean时出错:调用init方法失败; 嵌套的异常是java.lang.IllegalArgumentException:不是托管类型:com.hybris.datahub.runtime.domain.jpa.entities.DataHubPublicationErrorEntity位于org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583 )〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)〜[spring-beans-4.3。 3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3 [RELEASE],位于org.springframework.beans.factory.support.AbstractBeanFactory $ 1.getObject(AbstractBeanFactory.java:306)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework。 beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)〜 [spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)〜[spring-beans-4.3.3。 RELEASE.jar:4.3.3.RELEASE],位于org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE ]在org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:732)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.context.support .AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) 〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)〜[sprin g-web-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)〜[spring-web-4.3.3.RELEASE.jar :4.3.3.RELEASE],位于org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.apache。 catalina.core.StandardContext.listenerStart(StandardContext.java:4753)[catalina.jar:8.5.28] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5215)[catalina.jar:8.5.28 ]在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:8.5.28]在org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)[catalina .jar:8.5.28]在org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)[catalina.jar:8.5.28]在org.apache.catalina.core.StandardHost.addChild(StandardHost。 java:734)[catalina.jar:8.5.28] at org.apache.catalina.startup.HostConfig.deployWAR(HostCo nfig.java:986)[catalina.jar:8.5.28] at org.apache.catalina.startup.HostConfig $ DeployWar.run(HostConfig.java:1857)[catalina.jar:8.5.28] at java.util。 parallel.Executors $ RunnableAdapter.call(Executors.java:511)[na:1.8.0_71]在java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_71]在java.util中。 java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)上的current.ThreadPoolExecutor.java:1142 [na:1.8.0_71],java.lang上的na.1.8.0_71。 Thread.run(Thread.java:745)[na:1.8.0_71]原因:java.lang.IllegalArgumentException:非托管类型:组织上的com.hybris.datahub.runtime.domain.jpa.entities.DataHubPublicationErrorEntity类。 hibernate.metamodel.internal.MetamodelImpl.managedType(MetamodelImpl.java:472)〜[hibernate-core-5.2.6.Final.jar:5.2.6.Final] at org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation 。(JpaMetamodelEntityInformation.java:70)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在组织。 springframework.data.jpa.repository.support.JpaEntityInformationSupport.getEntityInformation(JpaEntityInformationSupport.java:67)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在org.springframework.data.jpa.repository.support .JpaRepositoryFactory.getEntityInformation(JpaRepositoryFactory.java:152)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java: 99)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:81)〜[spring-data-jpa -1.10.6.RELEASE.jar:na]在org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:199)〜[spring-data-commons-1.12.6.RELEASE.jar: na] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.initAndReturn(RepositoryFactoryBeanSupport.java:280)〜[spring-data-commons-1.12.6.RELE ASE.org:org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:266)〜[spring-data-commons-1.12.6.RELEASE.jar:na]在org。 springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:92)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579) 〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE] ...省略了25个常见框架2018年2月23日16:19:21.388 SEVERE [localhost-startStop-1] org.apache.catalina .core.StandardContext.startInternal一个或多个侦听器无法启动。 完整的详细信息将在相应的容器日志文件中找到23-Feb-2018 16:19:21.393 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/datahub-webapp]启动失败是由于 到先前的错误23-Feb-2018 16:19:21.459警告[localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc Web应用程序[datahub-webapp]注册了JDBC驱动程序[org.hsqldb.jdbc .JDBCDriver],但在Web应用程序停止时未能注销它。 为了防止内存泄漏,已强制注销JDBC驱动程序。

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


2018-02-23 16:19:21,124 [INFO] [chktDefaultTypeSystem]创建类型系统2018-02-23 16:19:21,166 [INFO] [chktbClassPathTypeSystemReader]创建于2018年0:00:00.228的类型系统 -02-23 16:19:21,305 [WARN] [chdsExtensionEnabledXmlWebApplicationContext]在上下文初始化期间遇到异常-取消刷新尝试:org.springframework.beans.factory.BeanCreationException:创建名称为'dataHubPublicationErrorJpaRepository'的bean时出错:调用init方法失败 ; 嵌套异常是java.lang.IllegalArgumentException:不是托管类型:com.hybris.datahub.runtime.domain.jpa.entities.DataHubPublicationErrorEntity 2018-02-23 16:19:21,307 [INFO] [osojLocalContainerEntityEntityManagerFactoryBean]关闭JPA EntityManagerFactory 对于持久性单元'默认'2018-02-23 16:19:21,335 [INFO] [osceEhCacheManagerFactoryBean]关闭EhCache CacheManager 2018-02-23 16:19:21,360 [INFO] [osscThreadPoolTask​​Executor]关闭ExecutorService 2018-02 -23 16:19:21,380 [ERROR] [oswcContextLoader]上下文初始化失败org.springframework.beans.factory.BeanCreationException:创建名称为'dataHubPublicationErrorJpaRepository'的bean时出错:调用init方法失败; 嵌套的异常是java.lang.IllegalArgumentException:不是托管类型:com.hybris.datahub.runtime.domain.jpa.entities.DataHubPublicationErrorEntity位于org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583 )〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)〜[spring-beans-4.3。 3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3 [RELEASE],位于org.springframework.beans.factory.support.AbstractBeanFactory $ 1.getObject(AbstractBeanFactory.java:306)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework。 beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)〜 [spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)〜[spring-beans-4.3.3。 RELEASE.jar:4.3.3.RELEASE],位于org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE ]在org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:732)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.context.support .AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) 〜[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)〜[sprin g-web-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)〜[spring-web-4.3.3.RELEASE.jar :4.3.3.RELEASE],位于org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE],位于org.apache。 catalina.core.StandardContext.listenerStart(StandardContext.java:4753)[catalina.jar:8.5.28] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5215)[catalina.jar:8.5.28 ]在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:8.5.28]在org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)[catalina .jar:8.5.28]在org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)[catalina.jar:8.5.28]在org.apache.catalina.core.StandardHost.addChild(StandardHost。 java:734)[catalina.jar:8.5.28] at org.apache.catalina.startup.HostConfig.deployWAR(HostCo nfig.java:986)[catalina.jar:8.5.28] at org.apache.catalina.startup.HostConfig $ DeployWar.run(HostConfig.java:1857)[catalina.jar:8.5.28] at java.util。 parallel.Executors $ RunnableAdapter.call(Executors.java:511)[na:1.8.0_71]在java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_71]在java.util中。 java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)上的current.ThreadPoolExecutor.java:1142 [na:1.8.0_71],java.lang上的na.1.8.0_71。 Thread.run(Thread.java:745)[na:1.8.0_71]原因:java.lang.IllegalArgumentException:非托管类型:组织上的com.hybris.datahub.runtime.domain.jpa.entities.DataHubPublicationErrorEntity类。 hibernate.metamodel.internal.MetamodelImpl.managedType(MetamodelImpl.java:472)〜[hibernate-core-5.2.6.Final.jar:5.2.6.Final] at org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation 。(JpaMetamodelEntityInformation.java:70)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在组织。 springframework.data.jpa.repository.support.JpaEntityInformationSupport.getEntityInformation(JpaEntityInformationSupport.java:67)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在org.springframework.data.jpa.repository.support .JpaRepositoryFactory.getEntityInformation(JpaRepositoryFactory.java:152)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java: 99)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:81)〜[spring-data-jpa -1.10.6.RELEASE.jar:na]在org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:199)〜[spring-data-commons-1.12.6.RELEASE.jar: na] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.initAndReturn(RepositoryFactoryBeanSupport.java:280)〜[spring-data-commons-1.12.6.RELE ASE.org:org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:266)〜[spring-data-commons-1.12.6.RELEASE.jar:na]在org。 springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:92)〜[spring-data-jpa-1.10.6.RELEASE.jar:na]在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory .invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579) 〜[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE] ...省略了25个常见框架2018年2月23日16:19:21.388 SEVERE [localhost-startStop-1] org.apache.catalina .core.StandardContext.startInternal一个或多个侦听器无法启动。 完整的详细信息将在相应的容器日志文件中找到23-Feb-2018 16:19:21.393 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/datahub-webapp]启动失败是由于 到先前的错误23-Feb-2018 16:19:21.459警告[localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc Web应用程序[datahub-webapp]注册了JDBC驱动程序[org.hsqldb.jdbc .JDBCDriver],但在Web应用程序停止时未能注销它。 为了防止内存泄漏,已强制注销JDBC驱动程序。

付费偷看设置
发送
1条回答
1楼-- · 2020-09-24 14:36

主要错误是

java.lang.IllegalArgumentException:不是托管类型:com.hybris.datahub.runtime.domain.jpa.entities.DataHubPublicationErrorEntity类

Spring JPA提供程序找不到DataHubPublicationErrorEntity。 Spring配置是否正在扫描com.hybris.datahub.runtime.domain.jpa.entities软件包?

一周热门 更多>