Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[workaround found] eclipse forge 1.14.4 unresolved dependency snapshot


frakier
 Share

Recommended Posts

From what I have gathered this is the process...(the process was different last time I played with any mods)
Now I know I have to make changes to make a mod this is just a straight up test to see if I can narrow down what was going on and was [sort of] surprised to get the same error on the forge example mod.
1. Create WORKSPACE "test.forge.mod".
2. Create the PROJECT_FOLDER"test" in the WORKSPACE "test.forge.mod".
3. Copy in the contents of forge-1.14.4-28.1.87-mdk.zip into the "test" PROJECT_FOLDER.
4. Start eclipse and select the PROJECT_FOLDER then "import projects"->"Gradle"->"import existing gradle project" [NEXT] select the "test" PROJECT_FOLDER and [finish]. let eclipse do its thing.
5. Run the Gradle task  "idle" -> "eclipse" then "fg_runs"->"genEclipseRuns".
6. Be sure and refresh select the PROJECT_FOLDER "test" and refresh [f5] (some 40 errors or so will come down to two errors).
6. When all is said and done the project has two problems...
..."Project 'test' is missing required library: 'C:\Windows\System32\unresolved dependency - net.minecraftforge forge 1.14.4-28.1.87_mapped_snapshot_20190719-1.14.3''
and
..."The project cannot be built until build path errors are resolved".

I have searched all over and even tried looking around in here, actually found a similar topic but it seemed to just die and there is another topic from today that was for intellij that could be similar but did not want to hijack their post by even explaining I was getting something similar in eclipse.
Any help would be appreciated.

EDIT: if there are any logs tell me where to find them and I will attach them.

ALSO...

ECLIPSE:

Eclipse IDE for Java Developers

Version: 2019-06 (4.12.0)
Build id: 20190614-1200

JAVA:
(due to the recent changes by oracle using the recommended openJDK, tried "Eclipse OpenJ9" but it did not work with [drum-roll please] eclipse had to switch to Hotspot  version)
(would not be surprised if this is the whole problem)
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.232-b09, mixed mode)

Edited by frakier
changed title
Link to comment
Share on other sites

IntelliJ worked though and using the AdoptOpenJDK, got to be something on the eclipse gradle side having problems.
 

1. Create WORKSPACE "test.forge.mod.intellij".
2. Create the PROJECT_FOLDER "intellijtest" in the WORKSPACE folder.
3. Copy in the contents of forge-1.14.4-28.1.87-mdk.zip into the PROJECT_FOLDER.
4. Right click the PROJECT_FOLDER and in the contexzt menuslect "open folder as intellij idea community edition project". Let intellij do its thing.
5. On the bottom left hand side of the window next to "build" and "TODO" find the Terminal and click it. Execute gradlew genIntellijRuns
...{had a problem had to set classpath} still a problem intellij using internal jdk {had to point to the AdoptOpenJDK folder}...
6. "Run"->"Edit Configurations"->"Run Client"...
...set the "Use classpath of module:" to intellijtest.main .. [Apply]
...set the "JRE:"->"Browse"[using the folder icon] to your java jdk folder [for me it was "C:\Program Files\AdoptOpenJDK\jdk-8.0.232.09-hotspot"] .. [Apply]
...[OK].."Run"->"runClient"


WORKED!!
 

INTELLIJ:

IntelliJ IDEA 2019.2.4 (Community Edition)
Build #IC-192.7142.36, built on October 29, 2019
Runtime version: 11.0.4+10-b304.77 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 725M
Cores: 4
Registry:
Non-Bundled Plugins:
 

JAVA:
(due to the recent changes by oracle using the recommended openJDK, tried "Eclipse OpenJ9" but it did not work with [drum-roll please] eclipse had to switch to Hotspot  version)
(would not be surprised if this is the whole problem)
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.232-b09, mixed mode)

 

Link to comment
Share on other sites

Well went back and tried the eclipse again and it worked, seems intellij is downloading/unpacking the needed dependencies [the snapshot stuff] into ".gradle\caches\forge_gradle" that eclipse is not doing correctly or at all.

Before there was this error...
...missing required library: 'C:\Windows\System32\unresolved dependency - net.minecraftforge forge 1.14.4-28.1.87_mapped_snapshot_20190719-1.14.3''

now completes with
C:\Users\{username}\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.14.4-28.1.87_mapped_snapshot_20190719-1.14.3

Hope this helps someone else and if anyone knows where I should report this let me know.

Edited by frakier
said forge instead of eclipse
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.

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

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.