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

IntelliJ IDEA Run Configurations & Exception in thread "main" java.lang.ClassNotFoundException: net.fabricmc.loader.impl.launch.knot.KnotClient #1100

Open
Intezium opened this issue Apr 17, 2024 · 0 comments

Comments

@Intezium
Copy link

or java.lang.IllegalAccessError: class net.minecraft.registry.SimpleRegistry tried to access method 'void net.minecraft.registry.entry.RegistryEntry$Reference.setRegistryKey(net.minecraft.registry.RegistryKey)' (net.minecraft.registry.SimpleRegistry and net.minecraft.registry.entry.RegistryEntry$Reference are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @3c0ecd4b)

After moving the project folder, the project path changes and the IntelliJ IDEA run configurations ("Minecraft Client" and "Minecraft Server") cannot be started with the error mentioned above. If you delete the "runConfigurations" folder in the ".idea" folder, reload the Gradle project and IntelliJ IDEA, the run configuration works again.

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

1 participant