问题描述
程序运行后到step2页面点击install按钮后报如下错误求助各路英雄帮忙报错信息如下:严重:Servlet.service()forservletDefaultIndexthrewexceptionjava.lang.NoClassDefFoundError:javax/persistence/EntityListenersatorg.hibernate.cfg.annotations.reflection.JPAMetadataProvider.getDefaults(JPAMetadataProvider.java:96)atorg.hibernate.annotations.common.reflection.java.JavaReflectionManager.getDefaults(JavaReflectionManager.java:226)atorg.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1355)atorg.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1826)atorg.openmeetings.app.hibernate.utils.HibernateUtil.getSessionFactory(HibernateUtil.java:77)atorg.openmeetings.app.hibernate.utils.HibernateUtil.createSession(HibernateUtil.java:35)atorg.openmeetings.app.data.basic.Configurationmanagement.getConfKey(Configurationmanagement.java:50)atorg.openmeetings.servlet.outputhandler.DefaultIndex.handleRequest(DefaultIndex.java:35)atorg.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(VelocityViewServlet.java:541)atorg.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(VelocityViewServlet.java:507)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:690)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:803)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)atorg.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)atjava.lang.Thread.run(UnknownSource)
解决方案
解决方案二:
http://zhidao.baidu.com/question/209842790.html可以看看
解决方案三:
那个我之前也看过啊不行啊是不是版本问题啊