It's not a secret anymore!
The moose likes Java in General and the fly likes Entity class not found/InvocationTargetException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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
Bartender

Joined: Aug 16, 2005
Posts: 12924
    
    3

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?

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Entity class not found/InvocationTargetException
 
Similar Threads
Error:java.lang.NoClassDefFoundError: javax/persistence/EntityList
facing problem while inserting record with dynamic class
JDBC Driver class not found:
hibernate one-one mapping example issue
hibernate hello world