question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't launch "MinecraftClient" because class not found

See original GitHub issue
Warning: Class 'net.fabricmc.devlaunchinjector.Main' not found in module '(Project Name)'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
liachcommented, Jun 14, 2020

In Run tab in idea, there should be an Edit Configuration option, go in there. In the opened window, choose the Minecraft Client/ Minecraft Server configuration under applications. Then there should be Use module selection, and use the module with .main suffix, not the one without suffix

1reaction
liachcommented, Jun 14, 2020

Run gradlew idea task

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Could not find or load main class net.minecraft.client ...
I have just got a new PC and tried to run minecraft and got Error: Could not find or load main class net.minecraft.client.main.Main....
Read more >
How to Fix the Error could not find or load main class info ...
The solution for the Error: "could not find or load main class info.mineshafter. ... Your browser can't play this video.
Read more >
Minecraft Launcher Troubleshooting FAQ
My Launcher never gets to the login screen. It just loads forever. My Launcher fails to startup, and I get a system error...
Read more >
[MCL-8387] Java launcher "Could not find or load main class ...
I'm using Ubuntu 16.04 LTS, Java 8, and Minecraft Launcher version 1.6.82-j ... for whatever reason, can't access the main class in the...
Read more >
ClassNotFoundException: net.minecraft.client.main.Main #169
No need for logs i found the problem... i feel stupid and embarrassed/guilty but when the FAQ said it worked with the demo...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found