Jump to content

Another ClassNotFoundException.


Tenyar97

Recommended Posts

Ahoj, všetci!  :D

 

I continually get this error, even though I've double, triple, and even quadruple checked my file structure, and the class is definitely there.

 

---- Minecraft Crash Report ----

 

 

---- Minecraft Crash Report ----

// I blame Dinnerbone.

 

Time: 9/30/13 9:12 PM

Description: There was a severe problem during mod loading that has caused the game to fail

 

cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: assets/betterdefense/common/Dark_Wood

at cpw.mods.fml.common.LoadController.transition(LoadController.java:149)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:698)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:232)

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:506)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:796)

at net.minecraft.client.main.Main.main(SourceFile:101)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)

at net.minecraft.launchwrapper.Launch.main(Launch.java:18)

Caused by: java.lang.NoClassDefFoundError: assets/betterdefense/common/Dark_Wood

at assets.betterdefense.common.BetterDefense.load(BetterDefense.java:409)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:697)

... 10 more

Caused by: java.lang.ClassNotFoundException: assets.betterdefense.common.Dark_Wood

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:179)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

... 38 more

Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file assets/betterdefense/common/Dark_Wood

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:171)

... 40 more

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.6.2

Operating System: Windows 8 (x86) version 6.2

Java Version: 1.7.0_21, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode, sharing), Oracle Corporation

Memory: 58383248 bytes (55 MB) / 137773056 bytes (131 MB) up to 518979584 bytes (494 MB)

JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v8.04 FML v6.2.35.804 Minecraft Forge 9.10.0.804 5 mods loaded, 5 mods active

mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized

FML{6.2.35.804} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge{9.10.0.804} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

tenyar97bd{1.0} [better Defense] (Better_Defense.zip) Unloaded->Constructed->Pre-initialized->Errored

 

 

 

I have rebuilt the class in question "Dark_Wood" from the ground up several times, in several fresh environments, and used reobfuscate_srg.bat

 

My file structure is as follows --

 

Better_Defense.zip

    ->assets

        ->betterdefense

            ->common

              ->Dark_Wood.class

 

This is not my first mod, and I feel stupid that I cannot do this. Please tell me, what am I doing wrong?

 

Thanks!

 

--Tenyar97

 

 

 

 

Link to comment
Share on other sites

Use reobfuscate_srg instead of reobfuscate.

 

That's what I've been doing...

 

It might have something to do with:

Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file assets/betterdefense/common/Dark_Wood

 

I took out the "fancy" things, so it is just a normal block with one texture. That kind of works... When I create/join a world it gets stuck on the "loading/creating world" screen. No error, no log. Any other ideas?

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I'm trying to load a new world (Forge 1.20.1 version 47.2.0) and I keep crashing. Here's the pastebin: https://pastebin.com/H3rRQYid
    • https://pastebin.com/CKfYxe6f thats the mod list its just some mods that i like and grouped together along with some newer mods that caught my eye. i load into minecraft fine, click singleplayer, this is a new modpack so i click create new world, everything seems fine and then i click create new world it starts preparing for world creation and then this error message pops up. Errors in currently selected datapacks prevented the world from loading. You can either try to load it with only the vanilla data pack ("safe mode"), or go back to the title screen and fix it manually. The game doesnt crash so I don't know if a crash report would help. when i click safe mode the screen freezes for a minute and then nothing happens and im still on that error screen. clicking back to title screen takes me back to the title screen. in the data packs screen there is a lot of red data packs. ive tried turning them all off but then when it tries to validate it says "Data pack validation failed!" also all the data packs just automatically downloaded with the mods i havnt added any extra ones. i can post a picture of the select data packs screen but it would take a lot of scrolling and multiple pictures so just let me know if i need to do that. a few examples of the text on the red dats packs are the following. - examplemod resources (this is what most of them say) - resources used for aquaculture (or whatever other mod name) - mobcatcher resources (again changes with mod name) -${mod_name} some also have mod descriptions or just the mod name or other variations of modname stuff or modname resources and when hovering over any of the red ones it says (made for an older version of minecraft) even when the mod says its for 1.18.2. lmk if you need any more info like logs or stuff and sorry for the long message just want to give lots of info.  
×
×
  • Create New...

Important Information

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