Advertisement
DakotaPride

Can't find "Main" class after updating project to 1.20

Sep 3rd, 2023
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. 15:46:24: Executing 'runClient'...
  2.  
  3.  
  4. > Configure project :
  5. Fabric Loom: 1.0.18
  6. plugin 'io.github.juuxel.loom-quiltflower' has been replaced with 'io.github.juuxel.loom-vineflower' and will be removed in a future release
  7. Unknown recipe viewer specified: unspecified. Must be JEI, REI, EMI, or disabled.
  8. Machete was disabled on this build through the `enabled` flag!
  9.  
  10. > Task :compileJava UP-TO-DATE
  11. > Task :processResources UP-TO-DATE
  12. > Task :classes UP-TO-DATE
  13. > Task :generateDLIConfig
  14. > Task :generateLog4jConfig
  15. > Task :generateRemapClasspath UP-TO-DATE
  16. > Task :configureLaunch
  17. > Task :downloadAssets UP-TO-DATE
  18. > Task :configureClientLaunch
  19.  
  20. > Task :runClient FAILED
  21. Error: Could not find or load main class net.fabricmc.devlaunchinjector.Main
  22. Caused by: java.lang.ClassNotFoundException: net.fabricmc.devlaunchinjector.Main
  23.  
  24. FAILURE: Build failed with an exception.
  25.  
  26. * What went wrong:
  27. Execution failed for task ':runClient'.
  28. > Process 'command 'C:\Users\rjtub\.jdks\openjdk-20.0.1\bin\java.exe'' finished with non-zero exit value 1
  29.  
  30. * Try:
  31. > Run with --stacktrace option to get the stack trace.
  32. > Run with --info or --debug option to get more log output.
  33. > Run with --scan to get full insights.
  34.  
  35. * Get more help at https://help.gradle.org
  36.  
  37. BUILD FAILED in 2s
  38. 7 actionable tasks: 3 executed, 4 up-to-date
  39. 15:46:26: Execution finished 'runClient'.
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement