Deploy Code in Eclipse : error when running Tomcat

65 views
Skip to first unread message

Guillaume

unread,
Jun 9, 2011, 5:44:54 PM6/9/11
to openmeet...@googlegroups.com
Hi community,

I 've got a problem with the step3 of the tutorial "Build Source New (http://code.google.com/p/openmeetings/wiki/BuildSourceNew?tm=4)" (part Build and deploy the code in eclipse).

I follow all the previous instructions of this tutorial but when I right click on the Server and start , i've got this message in the console :

[DEBUG] [http-8080-1] org.hibernate.cfg.Configuration - Preparing to build session factory with filters : {}
9 juin 2011 23:33:48 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: "Servlet.service()" pour la servlet DefaultIndex a généré une 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:77)
    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.servlet.outputhandler.DefaultIndex.handleRequest(DefaultIndex.java:35)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(VelocityViewServlet.java:541)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(VelocityViewServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)

Do you know the reason of this error or some advices?

Thanks in advance


seba....@gmail.com

unread,
Jun 9, 2011, 6:56:50 PM6/9/11
to openmeet...@googlegroups.com
Hi Guillaume,

we know those Issues, please use the ant tasks for building the
software for now.

Sebastian

2011/6/9 Guillaume <guigui...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/nfiXC6e7BlkJ.
> 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.
>

--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
seba....@gmail.com

Guillaume

unread,
Jun 10, 2011, 4:59:43 AM6/10/11
to openmeet...@googlegroups.com
Hi,

Thanks a lot Sebastian for your help.

No problem when I compile with ant.

Last question : Now, if i want to change lzx files, it's just necessary to recompile the client with "ant compile.laszlo.main" ?

Best regards
Reply all
Reply to author
Forward
0 new messages