Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Trying to update to the latest version and I keep receiving the following error.

Exception in thread "main" java.lang.IllegalStateException: Could not find forge-1.18.1-39.0.59 in classpath
	at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonUserdevLaunchHandler.lambda$findJarOnClasspath$2(CommonUserdevLaunchHandler.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)

Checking several other mdk downloads, the referenced forge version is the same as the mdk name but version 39.0.66 references 39.0.59 in the build.gradle

Is this just a typo in the mdk file or have I misunderstood how this works?

  • Author
Just now, diesieben07 said:

Did you regenerate the run configurations for your IDE?

Yes, after updating the forge version I'm doing   ./gradlew genIntelliJruns --refresh-dependencies

After doing some further testing, it seems IntelliJ is caching the classpath data somewhere - if I update the forge version, run the above command it fails with the error.  If I then just restart IntelliJ the project builds without issue. 

Is it normal to need to restart IntelliJ after updating forge?

 

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.