Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

1.19.2 Stumped on this error, java.lang.ClassNotFoundException: net.minecraftforge.event.entity.living.LivingChangeTargetEvent

Featured Replies

Posted

I had to update a ton of mods and managed to get them to work in single player, however.  I keep trying to boot up a server I'm hosting with my PC and the run.bat file starts smoothly until I get this error code: I would love some help if anyone can provide it to figure out what's causing this firing event error.

[08:12:31] [main/ERROR] [ne.mi.fm.ja.FMLModContainer/]: Exception caught during firing event: net/minecraftforge/event/entity/living/LivingChangeTargetEvent
        Index: 1
        Listeners:
                0: NORMAL
                1: net.minecraftforge.eventbus.EventBus$$Lambda$4126/0x0000000801672880@2ca404c8
java.lang.NoClassDefFoundError: net/minecraftforge/event/entity/living/LivingChangeTargetEvent
        at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
        at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3402)
        at java.base/java.lang.Class.privateGetPublicMethods(Class.java:3427)
        at java.base/java.lang.Class.getMethods(Class.java:2019)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.registerObject(EventBus.java:100)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.register(EventBus.java:128)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.QuarkModule.setEnabledAndManageSubscriptions(QuarkModule.java:178)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.QuarkModule.setEnabled(QuarkModule.java:162)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.config.ConfigResolver.lambda$buildCategory$3(ConfigResolver.java:80)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.config.ConfigResolver.configChanged(ConfigResolver.java:42)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.ModuleLoader.configChanged(ModuleLoader.java:88)
        at TRANSFORMER/[email protected]/vazkii.quark.base.proxy.CommonProxy.handleQuarkConfigChange(CommonProxy.java:113)
        at TRANSFORMER/[email protected]/vazkii.quark.base.proxy.CommonProxy.configChanged(CommonProxy.java:99)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.javafmlmod.FMLModContainer.lambda$new$0(FMLModContainer.java:42)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.lambda$dispatchConfigEvent$13(ModContainer.java:150)
        at java.base/java.util.Optional.ifPresent(Optional.java:178)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.dispatchConfigEvent(ModContainer.java:150)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ModConfig.fireEvent(ModConfig.java:77)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:62)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:50)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at java.base/java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:50)
        at TRANSFORMER/[email protected]/net.minecraftforge.fml.core.ModStateProvider.lambda$new$3(ModStateProvider.java:68)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$23(ModLoader.java:207)
        at java.base/java.util.Optional.ifPresent(Optional.java:178)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:207)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.lambda$loadMods$17(ModLoader.java:191)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:191)
        at TRANSFORMER/[email protected]/net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:33)
        at TRANSFORMER/[email protected]/net.minecraft.server.Main.main(Main.java:113)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
        at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
Caused by: java.lang.ClassNotFoundException: net.minecraftforge.event.entity.living.LivingChangeTargetEvent
        at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:141)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
        ... 50 more

Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
        at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
        ... 7 more
Caused by: java.lang.NoClassDefFoundError: net/minecraftforge/event/entity/living/LivingChangeTargetEvent
        at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
        at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3402)
        at java.base/java.lang.Class.privateGetPublicMethods(Class.java:3427)
        at java.base/java.lang.Class.getMethods(Class.java:2019)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.registerObject(EventBus.java:100)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.register(EventBus.java:128)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.QuarkModule.setEnabledAndManageSubscriptions(QuarkModule.java:178)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.QuarkModule.setEnabled(QuarkModule.java:162)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.config.ConfigResolver.lambda$buildCategory$3(ConfigResolver.java:80)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.config.ConfigResolver.configChanged(ConfigResolver.java:42)
        at TRANSFORMER/[email protected]/vazkii.quark.base.module.ModuleLoader.configChanged(ModuleLoader.java:88)
        at TRANSFORMER/[email protected]/vazkii.quark.base.proxy.CommonProxy.handleQuarkConfigChange(CommonProxy.java:113)
        at TRANSFORMER/[email protected]/vazkii.quark.base.proxy.CommonProxy.configChanged(CommonProxy.java:99)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.javafmlmod.FMLModContainer.lambda$new$0(FMLModContainer.java:42)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.lambda$dispatchConfigEvent$13(ModContainer.java:150)
        at java.base/java.util.Optional.ifPresent(Optional.java:178)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.dispatchConfigEvent(ModContainer.java:150)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ModConfig.fireEvent(ModConfig.java:77)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:62)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:50)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at java.base/java.util.Collections$SynchronizedCollection.forEach(Collections.java:2131)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:50)
        at TRANSFORMER/[email protected]/net.minecraftforge.fml.core.ModStateProvider.lambda$new$3(ModStateProvider.java:68)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$23(ModLoader.java:207)
        at java.base/java.util.Optional.ifPresent(Optional.java:178)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:207)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.lambda$loadMods$17(ModLoader.java:191)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:191)
        at TRANSFORMER/[email protected]/net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:33)
        at TRANSFORMER/[email protected]/net.minecraft.server.Main.main(Main.java:113)
        ... 13 more
Caused by: java.lang.ClassNotFoundException: net.minecraftforge.event.entity.living.LivingChangeTargetEvent
        at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:141)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
        ... 50 more

Quote

Caused by: java.lang.ClassNotFoundException: net.minecraftforge.event.entity.living.LivingChangeTargetEvent

Post a link to your logs/debug.log so we can see which mod is breaking that class or one of its related classes.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

  • Author

LordlyNova/Debug-Logs (github.com)

22 minutes ago, warjort said:

Post a link to your logs/debug.log so we can see which mod is breaking that class or one of its related classes.

 

I don't see any errors related to classloading other than the one from quark you posted before.

Maybe try without opifine to see if that is causing the problem?

Otherwise contact the quark mod author. They might be able to tell you what the problem is.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

  • Author
8 hours ago, warjort said:

I don't see any errors related to classloading other than the one from quark you posted before.

Maybe try without opifine to see if that is causing the problem?

Otherwise contact the quark mod author. They might be able to tell you what the problem is.

I tried without opifine and i'm still getting the same error in the same classloading. I'll just have to ask the author directly. thanks for helping out

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.