aspose 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


Win a copy of Spring in Action this week in the Spring forum!
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: 14269
    
  21

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 8 API documentation
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?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Entity class not found/InvocationTargetException