Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openxava by jljimenez
, 1 year ago
javax.persistence.EntityManager.getMetamodel()Ljavax/persistence/metamodel/Metamodel;
via Stack Overflow by user3243896
, 2 years ago
javax.persistence.EntityManager.getMetamodel()Ljavax/persistence/metamodel/Metamodel;
java.lang.NoSuchMethodError: javax.persistence.EntityManager.getMetamodel()Ljavax/persistence/metamodel/Metamodel;	at org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingJPA(AnnotatedClassParser.java:2558)	at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2473)	at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2425)	at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:67)	at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:47)	at org.openxava.component.ComponentParser.parse(ComponentParser.java:36)	at org.openxava.component.MetaComponent.get(MetaComponent.java:58)	at org.openxava.component.MetaComponent.exists(MetaComponent.java:70)	at org.openxava.application.meta.MetaApplication.existsModel(MetaApplication.java:151)	at org.openxava.application.meta.MetaApplication.getMetaModule(MetaApplication.java:140)	at org.openxava.controller.ModuleManager.getMetaModule(ModuleManager.java:1115)	at org.openxava.controller.ModuleManager.setupModuleControllers(ModuleManager.java:273)	at org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:1088)	at org.apache.jsp.xava.module_jsp._jspService(module_jsp.java:174)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)	at org.openxava.web.servlets.ModuleServlet.doGet(ModuleServlet.java:24)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:744)