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 Eclipse Bugzilla by prabaharan.vijayaratnam, 1 year ago
java.lang.NoClassDefFoundError: javax/persistence/StoredProcedureQuery	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:289)	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:304)	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:282)	at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:211)	at org.glassfish.persistence.jpa.PersistenceUnitLoader.(PersistenceUnitLoader.java:120)	at org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:224)	at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:495)	at org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:233)	at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:168)	at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)	at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:290)	at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86)	at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141)	at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138)	at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:215)	at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:224)	at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:250)	at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:138)	at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)	at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)	at java.lang.Thread.run(Thread.java:619)