-
1. Re: JBoss Eclipse IDE + hibernate Console Problem
maxandersen Jun 25, 2006 11:32 AM (in response to tamri)what is in the error log view about ? any stacktrace details?
-
2. Re: JBoss Eclipse IDE + hibernate Console Problem
jmontieleud Jun 29, 2006 8:02 PM (in response to tamri)Hi I have the same problem. Here is the stack trace. I dont know if it matters but
all of the entries in the screenshot of the HTML manual have backslashes, while when I edit the "Hibernate Configuration" the path to the configuration file are slashes. Could it be something relates to windows, I´ll try in a linux box ...
thanks
org.hibernate.MappingException: Resource: com/deu/apps/pp/business/model/Antiguedad.hbm.xml not found
----------------------------------------------------------------
org.hibernate.MappingException: Resource: com/deu/apps/pp/business/model/Antiguedad.hbm.xml not found
at org.hibernate.cfg.Configuration.addResource(Configuration.java:483)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1469)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1437)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1418)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1394)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1348)
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:69)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:207)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
----------------------------------------------------------------
eclipse.buildId=I20060602-1317
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_VE
Command-line arguments: -os win32 -ws win32 -arch x86 -
3. Re: JBoss Eclipse IDE + hibernate Console Problem
maxandersen Jun 30, 2006 3:13 AM (in response to tamri)so that file is not in any of the classpath entries of the console configuration.
-
4. Re: JBoss Eclipse IDE + hibernate Console Problem
jmontieleud Jul 3, 2006 1:13 AM (in response to tamri)Well, I followed the docs and added just the Oracle JDBC driver JAR and the directory where all my POJOs and *.hbm.xml are
com/deu/apps/pp/business/model/
is not that what I am to do ??
POJOs and hbm.xml are in the same directory, the file is there and my app works just fine.
Should I post my hibernate.cfg.xml or any other info ?
tks -
5. Re: JBoss Eclipse IDE + hibernate Console Problem
maxandersen Jul 3, 2006 2:05 AM (in response to tamri)that is not the root directory (which is what you put in classpaths)