net.sf.hibernate.MappingException: Resource: com/a/b/c.xml not found

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 Oracle Community by 3004, 1 year ago
via Coderanch by saipadmlatha chirumalla, 11 months ago
Resource: /hibernate.properties not found
via Coderanch by kumaran dhakshna, 11 months ago
Error reading resource: Model/Honey.hbm.xml
via java2s.com by Unknown author, 1 year ago
Error reading resource: HIBERNA_MYSQL/Amigo.hbm.xml
via Coderanch by kumaran dhakshna, 11 months ago
Error reading resource: Model/honey.hbm.xml
via Coderanch by gunjan bohra, 11 months ago
Resource: /WEB-INF/xml/Department.hbm.xml not found
net.sf.hibernate.MappingException: Resource: com/a/b/c.xml not found
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:327)
at net.sf.hibernate.jca.ManagedConnectionFactoryImpl.initialize(ManagedConnectionFactoryImpl.java:145)
at net.sf.hibernate.jca.ManagedConnectionFactoryImpl.createConnectionFactory(ManagedConnectionFactoryImpl.java:85)
at weblogic.connector.common.internal.ConnectionPool.getConnectionFactory(ConnectionPool.java:1695)
at weblogic.connector.common.internal.ConnectionFactory.testConnectionProxyViability(ConnectionFactory.java:466)
at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:207)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1103)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1040)
at weblogic.common.resourcepool.ResourcePoolImpl.setInitialCapacity(ResourcePoolImpl.java:723)
at weblogic.connector.common.internal.ConnectionPoolManager.updateInitialCapacity(ConnectionPoolManager.java:495)
at weblogic.connector.common.internal.ConnectionPoolManager.preparePool(ConnectionPoolManager.java:140)
at weblogic.connector.deploy.Deployer.preparePool(Deployer.java:618)
at weblogic.connector.deploy.Deployer.prepare(Deployer.java:230)
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:248)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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