Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException: can't find class net.fabricmc.loader.impl.game.minecraft.Log4jLogHandler #649

Closed
Soro335 opened this issue Apr 21, 2022 · 39 comments

Comments

@Soro335
Copy link

Soro335 commented Apr 21, 2022

image
this issue appears in snapshot 22w16b, with fabric loader 0.14.0 and fapi 0.51.2. it occurs in intellij and minecraft launcher

@KosmX
Copy link

KosmX commented Apr 21, 2022

Probably shadowedactionbar mod is causing this.

@Soro335
Copy link
Author

Soro335 commented Apr 21, 2022

Probably shadowedactionbar mod is causing this.

I haven't used other mods besides fapi and this problem is still the same

@KosmX
Copy link

KosmX commented Apr 21, 2022

That would belong to another issue. sorry

I can not reproduce this from the available information, please send a crash log.

@Soro335
Copy link
Author

Soro335 commented Apr 21, 2022

That would belong to another issue. sorry

I can not reproduce this from the available information, please send a crash log.

it's weird but i don't have the latest files in crash-reports/logs but i only have this file
image

@Soro335
Copy link
Author

Soro335 commented Apr 21, 2022

fabricloader.log

@KosmX
Copy link

KosmX commented Apr 22, 2022

I think something is wrong with your Minecraft path.

I can reproduce it in a Windows VM, by using non-ascii characters in the username. (or in the path somewhere)

@sfPlayer1
Copy link
Contributor

Please try with Loader 0.14.1

@Soro335
Copy link
Author

Soro335 commented Apr 22, 2022

Not fixed with Fabric Loader 0.14.1

@Soro335
Copy link
Author

Soro335 commented Apr 22, 2022

image
same

@KosmX
Copy link

KosmX commented Apr 22, 2022

Same in my VM.
If needed, I can help reproduce the issue.

@sfPlayer1
Copy link
Contributor

sfPlayer1 commented Apr 22, 2022

Is one of you able to try with #654 please? One way to do this is temporarily replacing the fabric loader jar in .minecraft/libraries/net/fabricmc/fabric-loader with your own build based on the PR or mine below (remove .zip at the end, Github rejects jars). It may also be required to use a different loader version (only on the jar/folder/version json) to prevent it from being re-downloaded.

I'd need a log with that version and -Dfabric.debug.logLibClassification -Dfabric.debug.logClassLoad.

@Soro335
Copy link
Author

Soro335 commented Apr 22, 2022

=(
image

@sfPlayer1
Copy link
Contributor

New build for testing at fabric-loader-0.14.1+local.jar.zip, PR updated too

@Soro335
Copy link
Author

Soro335 commented Apr 23, 2022

also doesn't work =(

@sfPlayer1
Copy link
Contributor

Log with the mentioned system properties please, also make sure you are actually running my new builds.

@Soro335
Copy link
Author

Soro335 commented Apr 23, 2022

I don't have the latest logs, I don't know why

@sfPlayer1
Copy link
Contributor

If the game is unable to run until logging is initialized, Fabric Loader will dump the output to fabricloader.log in your game directory (next to mods/). Enabling the launcher's game output/log window would also help not losing output.

@Soro335
Copy link
Author

Soro335 commented Apr 23, 2022

image
?

@sfPlayer1
Copy link
Contributor

@Soro335
Copy link
Author

Soro335 commented Apr 23, 2022

thats all i have
image

@Soro335
Copy link
Author

Soro335 commented Apr 23, 2022

for example, thats loader 0.13.3 + 1.18.2
image

@sfPlayer1
Copy link
Contributor

No idea what's up with that log window, it might be allergic to Loader's slightly different formatting,

The log file I mentioned earlier should still be there. Please contact me on Discord if there is further trouble getting that.

@sfPlayer1
Copy link
Contributor

I released 0.14.2, please give it a try and report back

@Soro335
Copy link
Author

Soro335 commented Apr 24, 2022

Yes, game can launch now, thank u so much!!
2022-04-24_13 41 37

@Soro335 Soro335 closed this as completed Apr 24, 2022
@SecretLodge
Copy link

I released 0.14.2, please give it a try and report back

Please help me with this problem. You can send me fabric loader 0.14.2?

@KosmX
Copy link

KosmX commented May 8, 2022

https://fabricmc.net/
Download the Fabric installer from FabricMC,
tick show snapshots and select Fabric loader 0.14.2 (or the latest)
edit: You don't need to tick show snapshots, just select a different Fabric loader version, and install it

@SecretLodge
Copy link

Unfortunately, the error did not go anywhere
крвправправправпраправпр
.

@sfPlayer1
Copy link
Contributor

Your screenshot is too cut off, hard to tell what's going on. Also use latest Fabric Loader, 0.14.5 at this time, not 0.14.2.

@eliximinatus
Copy link

I am encountering this same exact issue.
0.16.4

@eliximinatus
Copy link

image

@sfPlayer1
Copy link
Contributor

Log with -Dfabric.debug.logLibClassification -Dfabric.debug.logClassLoad please

@eliximinatus
Copy link

I put those into JVM arguments, and I got:
image

@eliximinatus
Copy link

Issue this time might just be 0.16.4

@Octol1ttle
Copy link

Log with -Dfabric.debug.logLibClassification -Dfabric.debug.logClassLoad please

Send the log file after trying to launch the game with those arguments

@sfPlayer1
Copy link
Contributor

The appropriate log file might be fabricloader.log in your game directory, but it's easier to grab the game/console output from your launcher.

@eliximinatus
Copy link

I believe this might be it. The issue might be symlinks by the way.
fabricloader.log

@joaopinto24
Copy link

This is happening with versions 0.16.1 up it seems

@eliximinatus
Copy link

Downgrading to 0.16.3 helped for me.

@sfPlayer1
Copy link
Contributor

#974 may address this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants