HIBERNATE - java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration

E

Eleanna Skouta

Hi,

I have a web application. When I run it on the server I get this :(

java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration

Can anybody help me please?

Thank you :)
 
E

Ewald Ertl

Hi,

Hi,

I have a web application. When I run it on the server I get this :(

java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration

Can anybody help me please?
Do you have the hibernate jar-files in the classpath, when running
your
application on the server?

HTH
Ewald
 
A

Arne Vajhøj

Ewald said:
Do you have the hibernate jar-files in the classpath, when running
your
application on the server?

And it needs to be the correct version too.

org.hibernate.cfg.Configuration was once
net.sf.hibernate.cfg.Configuration !

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top