org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlserverEntityManagerFactory': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver

Tridion | Bart Koopman | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Deployment fails with SI4T and SDL Tridion 2013, nested exception is java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver - Tridion Stack Exchange

    stackexchange.com | 8 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlserverEntityManagerFactory': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver
  2. 0

    Deployment fails with SI4T and SDL Tridion 2013, nested exception is java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver

    Tridion | 3 years ago | Bart Koopman
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlserverEntityManagerFactory': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/util/DTDEntityResolver
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 5879#274060871

    GitHub | 2 months ago | docbender
    java.lang.NoClassDefFoundError: javax/jmdns/ServiceListener
  5. 0

    an error code (sorry if duplicate and awnser allready somewhere else couldn't tell).

    GitHub | 4 years ago | samm45usa
    java.lang.NoClassDefFoundError: javax/swing/Painter

  1. andyglick 2 times, last 7 days ago
  2. bamboomy 1 times, last 2 weeks ago
  3. Handemelindo 4 times, last 2 months ago
  4. Hronom 1 times, last 2 months ago
  5. batwalrus76 6 times, last 3 months ago
8 more registered users
87 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.hibernate.util.DTDEntityResolver

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(Unknown Source)[na:1.6.0_26]
    2. java.security.AccessController.doPrivileged(Native Method)[na:1.6.0_26]
    3. java.net.URLClassLoader.findClass(Unknown Source)[na:1.6.0_26]
    4. java.lang.ClassLoader.loadClass(Unknown Source)[na:1.6.0_26]
    5. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)[na:1.6.0_26]
    6. java.lang.ClassLoader.loadClass(Unknown Source)[na:1.6.0_26]
    7. java.lang.ClassLoader.defineClass1(Native Method)[na:1.6.0_26]
    8. java.lang.ClassLoader.defineClassCond(Unknown Source)[na:1.6.0_26]
    9. java.lang.ClassLoader.defineClass(Unknown Source)[na:1.6.0_26]
    10. java.security.SecureClassLoader.defineClass(Unknown Source)[na:1.6.0_26]
    11. java.net.URLClassLoader.defineClass(Unknown Source)[na:1.6.0_26]
    12. java.net.URLClassLoader.access$000(Unknown Source)[na:1.6.0_26]
    13. java.net.URLClassLoader$1.run(Unknown Source)[na:1.6.0_26]
    14. java.security.AccessController.doPrivileged(Native Method)[na:1.6.0_26]
    15. java.net.URLClassLoader.findClass(Unknown Source)[na:1.6.0_26]
    16. java.lang.ClassLoader.loadClass(Unknown Source)[na:1.6.0_26]
    17. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)[na:1.6.0_26]
    18. java.lang.ClassLoader.loadClass(Unknown Source)[na:1.6.0_26]
    18 frames
  3. Hibernate
    Configuration.<init>
    1. org.hibernate.cfg.Configuration.reset(Configuration.java:322)[hibernate-core.jar:4.0.1.Final]
    2. org.hibernate.cfg.Configuration.<init>(Configuration.java:261)[hibernate-core.jar:4.0.1.Final]
    3. org.hibernate.cfg.Configuration.<init>(Configuration.java:265)[hibernate-core.jar:4.0.1.Final]
    3 frames
  4. Hibernate EJB
    HibernatePersistence.createContainerEntityManagerFactory
    1. org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:150)[hibernate-entitymanager.jar:4.0.1.Final]
    2. org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:71)[hibernate-entitymanager.jar:4.0.1.Final]
    2 frames
  5. Spring ORM
    AbstractEntityManagerFactoryBean.afterPropertiesSet
    1. org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:257)[spring-orm.jar:3.1.0.RELEASE]
    2. org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310)[spring-orm.jar:3.1.0.RELEASE]
    2 frames
  6. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)[spring-beans.jar:3.1.0.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)[spring-beans.jar:3.1.0.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[spring-beans.jar:3.1.0.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[spring-beans.jar:3.1.0.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)[spring-beans.jar:3.1.0.RELEASE]
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)[spring-beans.jar:3.1.0.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)[spring-beans.jar:3.1.0.RELEASE]
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[spring-beans.jar:3.1.0.RELEASE]
    8 frames
  7. Spring Context
    AbstractApplicationContext.getBean
    1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1093)[spring-context.jar:3.1.0.RELEASE]
    1 frame
  8. com.tridion.storage
    StorageFactoryConfigurationLoader.configure
    1. com.tridion.storage.persistence.JPADAOFactory.configureBundle(JPADAOFactory.java:66)[cd_datalayer.jar:na]
    2. com.tridion.storage.configuration.StorageFactoryConfigurationLoader.configureStorage(StorageFactoryConfigurationLoader.java:91)[cd_datalayer.jar:na]
    3. com.tridion.storage.configuration.StorageFactoryConfigurationLoader.configureStorage(StorageFactoryConfigurationLoader.java:65)[cd_datalayer.jar:na]
    4. com.tridion.storage.configuration.StorageFactoryConfigurationLoader.configure(StorageFactoryConfigurationLoader.java:51)[cd_datalayer.jar:na]
    4 frames
  9. com.tridion.configuration
    ConfigurationStepLoader.configure
    1. com.tridion.configuration.step.ConfigurationStepLoader.configure(ConfigurationStepLoader.java:47)[cd_core.jar:na]
    1 frame
  10. com.tridion.storage
    StorageManagerFactory.configure
    1. com.tridion.storage.StorageManagerFactory.configure(StorageManagerFactory.java:137)[cd_datalayer.jar:na]
    1 frame
  11. com.tridion.services
    BaseService.<init>
    1. com.tridion.services.BaseService.<init>(BaseService.java:107)[cd_core.jar:na]
    1 frame
  12. com.tridion.storage
    PageHandler.deploy
    1. com.tridion.storage.StorageManagerFactory.<init>(StorageManagerFactory.java:104)[cd_datalayer.jar:na]
    2. com.tridion.storage.StorageManagerFactory.reloadInstance(StorageManagerFactory.java:84)[cd_datalayer.jar:na]
    3. com.tridion.storage.StorageManagerFactory.<clinit>(StorageManagerFactory.java:56)[cd_datalayer.jar:na]
    4. com.tridion.storage.deploy.PageHandler.deploy(PageHandler.java:58)[cd_datalayer.jar:na]
    4 frames
  13. com.tridion.deployer
    QueueLocationHandler$1.run
    1. com.tridion.deployer.DeploymentHandler.deploy(DeploymentHandler.java:90)[cd_datalayer.jar:na]
    2. com.tridion.deployer.modules.PageDeploy.processPage(PageDeploy.java:145)[cd_deployer.jar:na]
    3. com.tridion.deployer.modules.PageDeploy.processItem(PageDeploy.java:118)[cd_deployer.jar:na]
    4. com.tridion.deployer.SectionVisitor.processSection(SectionVisitor.java:83)[cd_deployer.jar:na]
    5. com.tridion.deployer.SectionVisitor.processSection(SectionVisitor.java:87)[cd_deployer.jar:na]
    6. com.tridion.deployer.SectionVisitor.process(SectionVisitor.java:60)[cd_deployer.jar:na]
    7. com.tridion.deployer.Processor.process(Processor.java:109)[cd_deployer.jar:na]
    8. com.tridion.deployer.workers.ProcessorWorker.doWork(ProcessorWorker.java:77)[cd_deployer.jar:na]
    9. com.tridion.deployer.phases.ProcessingPhase.execute(ProcessingPhase.java:72)[cd_deployer.jar:na]
    10. com.tridion.deployer.phases.DeployPipelineExecutor.runMainExecutePhase(DeployPipelineExecutor.java:186)[cd_deployer.jar:na]
    11. com.tridion.deployer.phases.DeployPipelineExecutor.doExecute(DeployPipelineExecutor.java:97)[cd_deployer.jar:na]
    12. com.tridion.deployer.phases.DeployPipelineExecutor.execute(DeployPipelineExecutor.java:61)[cd_deployer.jar:na]
    13. com.tridion.deployer.TransactionManager.handleDeployPackage(TransactionManager.java:82)[cd_deployer.jar:na]
    14. com.tridion.deployer.queue.QueueLocationHandler$1.run(QueueLocationHandler.java:175)[cd_deployer.jar:na]
    14 frames
  14. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.6.0_26]
    2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)[na:1.6.0_26]
    3. java.util.concurrent.FutureTask.run(Unknown Source)[na:1.6.0_26]
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)[na:1.6.0_26]
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.6.0_26]
    6. java.lang.Thread.run(Unknown Source)[na:1.6.0_26]
    6 frames