org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PlatformConfigurator' defined in file [e:\Jetspeed-2.2.2\database\..\webapps\jetspeed\WEB-INF\assembly\boot\datasource.xml]: Invocation of init method failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via portals-jetspeed-dev by David Sean Taylor (JIRA), 1 year ago
Error creating bean with name 'PlatformConfigurator' defined in file [e:\Jetspeed-2.2.2\database\..\webapps\jetspeed\WEB-INF\assembly\boot\datasource.xml]: Invocation of init method failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'
via portals-jetspeed-dev by Gökhan Şahin (JIRA), 1 year ago
Error creating bean with name 'PlatformConfigurator' defined in file [e:\Jetspeed-2.2.2\database\..\webapps\jetspeed\WEB-INF\assembly\boot\datasource.xml]: Invocation of init method failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'
via portals-jetspeed-dev by David Sean Taylor (JIRA), 1 year ago
Error creating bean with name 'PlatformConfigurator' defined in file [e:\Jetspeed-2.2.2\database\..\webapps\jetspeed\WEB-INF\assembly\boot\datasource.xml]: Invocation of init method failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'
via Stack Overflow by Diode
, 2 years ago
Error creating bean with name 'sessionFactory' defined in class path resource [database/hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Association references unmapped class: org.e.models.Annotation
via reader8.cn by Unknown author, 1 year ago
Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.component.PojoComponentTuplizer]
via GitHub by Gargee
, 1 year ago
Error creating bean with name 'entityManagerFactory' defined in class path resource [Spring-AutoScan.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Invalid XML in persistence unit from URL [file:/Users/a-gbanerjee/jlux/KunderaDAL/target/classes/META-INF/persistence.xml]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PlatformConfigurator' defined in file [e:\Jetspeed-2.2.2\database\..\webapps\jetspeed\WEB-INF\assembly\boot\datasource.xml]: Invocation of init method failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:301)
at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.importFiles(JetspeedSerializerApplicationImpl.java:184)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
151 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.