hibernate-jpa-2.0-api-1.0.0.Final jar required for debugging openmeetings in eclipse?

65 views
Skip to first unread message

vis_omuser

unread,
Mar 25, 2011, 5:37:40 AM3/25/11
to OpenMeetings User
when i run openmeetings through eclipse ( latest code downloaded from
svn & deployed in tomcat 6 ) i got the following error

SEVERE: Servlet.service() for servlet rtmpt threw exception
java.lang.NoClassDefFoundError: javax/persistence/EntityListeners
at
org.hibernate.cfg.annotations.reflection.JPAMetadataProvider.getDefaults(JPAMetadataProvider.java:
96)
at
org.hibernate.annotations.common.reflection.java.JavaReflectionManager.getDefaults(JavaReflectionManager.java:
226)
at
org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:
1355)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:
1826)
at
org.openmeetings.app.hibernate.utils.HibernateUtil.getSessionFactory(HibernateUtil.java:
78)
at
org.openmeetings.app.hibernate.utils.HibernateUtil.createSession(HibernateUtil.java:
35)
at
org.openmeetings.app.data.basic.Configurationmanagement.getConfKey(Configurationmanagement.java:
50)
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.getCryptKey(ScopeApplicationAdapter.java:
3191)

i fixed it by copying hibernate-jpa-2.0-api-1.0.0.Final.jar into
WebContent/WEB-INF/lib folder

This error doesn't occur after building the application which doesn't
require the above jar

seba....@gmail.com

unread,
Mar 25, 2011, 8:34:56 PM3/25/11
to openmeet...@googlegroups.com

Hi,

thanks for the hint. We might did mis that jar with the last hibernate update. Tha ant task is always the final test. You might check out those task too, its quite handy as the ant tasks seem to run faster then the hole deployment in eclipse. There are ant tasks to even compile the client or openmeetings jar's only.

Sebastian

> --
> You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
> To post to this group, send email to openmeet...@googlegroups.com.
> To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
>
Reply all
Reply to author
Forward
0 new messages