Jump to content

"Could not find net.minecraftforge:forge:1.15.2-31.1.44_mapped_snapshot_20200225-1.15.1"


Recommended Posts

I got the similiar problem... I'm using VSCode with OpenJDK 17, Gradle 7.4, Forge 1.18.2-40.0.52. And the error is basically same as the post.

When I running the command,

gradlew genVSCodeRuns

I got this error message:

Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find net.minecraftforge:forge:1.18.2-40.0.52_mapped_official_1.18.2.
Searched in the following locations:
  - file:/C:/Users/Administrator/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.2-40.0.52_mapped_official_1.18.2/forge-1.18.2-40.0.52_mapped_official_1.18.2.pom
  - file:/C:/Users/Administrator/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.2-40.0.52_mapped_official_1.18.2/forge-1.18.2-40.0.52_mapped_official_1.18.2.jar
Required by:
    project :

It didn't search the dependencies on the web, not like the post...

I also ran the command,

gradlew build --stacktrace --console plain

I got the same error too.

I just copied and pasted the MDK's code into my project, the build.gradle wasn't modified before I got the error. (My project name is examplemod, just for test and run the MDK's code.)

What should I do to fix the error?

Link to comment
Share on other sites

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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