readthefuckingmanual.net

[SOLVED] java.lang.NoClassDefFoundError: org/hibernate/cfg/AnnotationConfiguration

Error added: 2008-09-18T10:26:59Z

2 people waiting for the answer...

3 answers found.

Answer 1196 (55.555553% helpful)

the library should be placed in \"Web App Libraries\".
Under Eclipse simple import the library into WEB-INF/lib directory, right-click->build path->add to build path.
Permalink

Answer 706 (37.5% helpful)

Don\'t forget hibernate-annotations*.jar
Permalink

Answer 1102 (25.0% helpful)

and hibernate-commons-annotations.jar
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: