maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Dugger" <m...@socotech.com>
Subject hibernate:export-schema and ClassNotFoundException
Date Wed, 31 Dec 2003 21:06:51 GMT

I'm trying to generate a schema for Hibernate, but my compiled classes are
not being found in by the thread's classloader:

Root cause
net.sf.hibernate.MappingException: net.sf.hibernate.MappingException:
persistent class [com.socotech.realtybaron.or.BusinessEntityImpl] not found
        at
net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:175)
        at
org.apache.maven.hibernate.beans.SchemaExportBean.getConfiguration(SchemaExp
ortBean.java:340)
        at
org.apache.maven.hibernate.beans.SchemaExportBean.execute(SchemaExportBean.j
ava:267)
        at
org.apache.maven.hibernate.jelly.SchemaExportTag.execute(SchemaExportTag.jav
a:83)
        at
org.apache.maven.hibernate.jelly.SchemaExportTag.doTag(SchemaExportTag.java:
98)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
        at org.apache.maven.cli.App.doMain(App.java:543)
        at org.apache.maven.cli.App.main(App.java:1109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

Has anyone experienced a similar problem?  Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message