Hi
i am getting following error in hibernate console of eclipse(v3.1.1)
Error 2006-08-01 13:54:36.917 org.hibernate.MappingException: Resource:
com/TblIntRateIndex.hbm.xml not found
org.hibernate.MappingException: Resource: com/TblIntRateIndex.hbm.xml not found
at org.hibernate.cfg.Configuration.addResource(Configuration.java:479)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1465)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1433)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1414)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1390)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1344)
at
org.hibernate.console.ConsoleConfiguration.loadConfigurationXML(ConsoleConfiguration.java:208)
at org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:155)
at org.hibernate.console.ConsoleConfiguration$1.execute(ConsoleConfiguration.java:131)
at
org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:112)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:98)
at
org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:19)
at
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:70)
at
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
and my console fails to expand.
My resource view of my java project in eclipse is as follows
events
---com
---*.java
---*.hbm.xml
---*.class
---lib
---all libraries
--- .classpath
--- .project
--- hibernate.cfg.xml
--- hibernate.reveng.xml
hibernate.cfg.xml file is as follows
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
oracle.jdbc.driver.OracleDriver
scoreplus
jdbc:oracle:thin:@BLRKEC24428D:1521:ORCL
scoreplus
org.hibernate.dialect.Oracle9Dialect
<!-- JDBC connection pool (use the built-in) -->
1
org.hibernate.hql.classic.ClassicQueryTranslatorFactory
<!-- Echo all executed SQL to stdout -->
true
</session-factory>
</hibernate-configuration>
can some one help
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962094#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...