Joined: Thu Apr 14, 2011 6:03 pm Posts: 3
|
I get a ClassNotFoundException when I try to configure after adding an annotated class from a jar that is not on the classpath.
I am able to create the Class object from the class file in this external jar (meaning it isn't on the runtime classpath).
I use this object as the parameter call to .addAnnotatedClass()
The configuration fails with a ClassNotFoundException, it looks as if internally Hibernate is attempting to load this class from the runtime classpath and it isn't there so an AssertionException is raised.
Any ideas on how to resolve this?
|
|