cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: javax/persistence/criteria/Expression

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

Samebug tips

,
Expert tip

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.

,
Expert tip

The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

Solutions on the web

via GitHub by ApotroaicGod
, 1 year ago
java.lang.NoClassDefFoundError: javax/persistence/criteria/Expression
via GitHub by Destroyer4LP
, 2 years ago
java.lang.NoClassDefFoundError: javax/persistence/criteria/Selection
via GitHub by Destroyer4LP
, 2 years ago
java.lang.NoClassDefFoundError: javax/persistence/criteria/Selection
via GitHub by ApotroaicGod
, 1 year ago
java.lang.NoClassDefFoundError: javax/persistence/criteria/Selection
via GitHub by Hakker
, 1 year ago
java.lang.NoClassDefFoundError: am2/bosses/EntityFireGuardian
via GitHub by ppappila
, 2 years ago
java.lang.NoClassDefFoundError: cofh/util/ThermalExpansionHelper
java.lang.ClassNotFoundException: javax.persistence.criteria.Expression
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.forgeessentials.playerlogger.ModulePlayerLogger.load(ModulePlayerLogger.java:82)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_43_ModulePlayerLogger_load_FEModuleInitEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at com.forgeessentials.core.ForgeEssentials.load(ForgeEssentials.java:224)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:737)
at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:210)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Users with the same issue

2 times, 2 hours ago
Once, 2 days ago
Once, 3 days ago
2 times, 6 days ago
Once, 6 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.