Hi Ramesh,
Is there any more information about the class definition that is not
found?
I suspect that you do not have all the required hibernate jars. But i
do not use hibernate. I know others on this list do so hopefully they
will be able to help resolve your issue.
Paul.
On Sep 18, 2008, at 2:43 PM, Ramesh Kumar wrote:
> Hi,
> I am facing the following issues when using REST webservices and
> Jersey and Hibernate.
> Please help me to solve this error
> "SEVERE: Servlet.service() for servlet ServletAdaptor threw exception
> java.lang.NoClassDefFoundError
> at
> org
> .hibernate
> .ejb
> .HibernatePersistence
> .createEntityManagerFactory(HibernatePersistence.java:124)
> at
> javax
> .persistence.Persistence.createEntityManagerFactory(Persistence.java:
> 52)
> at
> javax
> .persistence.Persistence.createEntityManagerFactory(Persistence.java:
> 34)
> "
>
> with regards,
> Ramesh Kumar.A
>
>
> Watch useful tips on recipes, fitness, yoga and fashion only on MSN
> videos. Try it!