You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marc Dugger <ma...@socotech.com> on 2003/12/31 22:26:55 UTC

RE: hibernate:export-schema and ClassNotFoundException [SOLUTION]

Nevermind:  http://www.hibernate.org/134.html

> -----Original Message-----
> From: Marc Dugger [mailto:marc@socotech.com]
> Sent: Wednesday, December 31, 2003 3:07 PM
> To: users@maven.apache.org
> Subject: hibernate:export-schema and ClassNotFoundException
>
>
>
> 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(SchemaEx
> portBean.j
> ava:267)
>         at
> org.apache.maven.hibernate.jelly.SchemaExportTag.execute(SchemaExp
> ortTag.jav
> a:83)
>         at
> org.apache.maven.hibernate.jelly.SchemaExportTag.doTag(SchemaExpor
> tTag.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(NativeMethodAccessorIm
> pl.java:39
> )
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> cessorImpl
> .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


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