File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Entity class not found/InvocationTargetException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Entity class not found/InvocationTargetException" Watch "Entity class not found/InvocationTargetException" New topic
Author

Entity class not found/InvocationTargetException

Sonx Nkuks
Ranch Hand

Joined: Aug 20, 2010
Posts: 47
Hello community,

I'm rather getting a confusing error i can't find solutions on the net. Let me show you my Hibernate configurations and mapping files



hbm


error



OverrideItemDo exists on za.co.epsilon.domain package. Could this be related to a conflict of jar files i have on my class path?



Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Try specifying the fully qualified name of the class in your Hibernate mapping file. Like this:

Likewise with other classes, such as OverrideItemId.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Sonx Nkuks
Ranch Hand

Joined: Aug 20, 2010
Posts: 47
Jesper de Jong wrote:Try specifying the fully qualified name of the class in your Hibernate mapping file. Like this:

Likewise with other classes, such as OverrideItemId.


changed it to


now i get
Sonx Nkuks
Ranch Hand

Joined: Aug 20, 2010
Posts: 47
My problem is not with mapping but using hibernate attach.clean

error


Question, how do i load an object with an unknown ID?

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Entity class not found/InvocationTargetException
 
Similar Threads
hibernate hello world
JDBC Driver class not found:
hibernate one-one mapping example issue
facing problem while inserting record with dynamic class
Error:java.lang.NoClassDefFoundError: javax/persistence/EntityList