Jump to content

[workaround found] eclipse forge 1.14.4 unresolved dependency snapshot


frakier

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • how to make animated doors?, maybe geckolib, but i don't know how to code it?
    • For crash 1, set max-tick-time to -1 in your server.properties Crash 2 shows a conflict or incompatibility between LuckPerms and the mod boh-0.0.6.1-forge-1.20.1_2.jar
    • Add the crash-report or latest.log (logs-folder) with sites like https://mclo.gs/ and paste the link to it here  
    • so my minecraft crashes when opening my world, i played without any troubles for about 5 days and today it started tweaking.. pls help me
    • Hi guys! I am having some issues with the server crashing over and over and I was hoping to get some guidance.  Thanks in advance! Crash 1: java.lang.Error: ServerHangWatchdog detected that a single server tick took 60.00 seconds (should be max 0.05)     at net.minecraft.server.dedicated.ServerWatchdog.run(ServerWatchdog.java:43) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:classloading}     at java.lang.Thread.run(Thread.java:840) ~[?:?] { Crash 2: java.lang.IllegalStateException: Capability missing for eeb7f026-34b4-42f5-9164-e7736461df83     at me.lucko.luckperms.forge.capabilities.UserCapabilityImpl.lambda$get$0(UserCapabilityImpl.java:66) ~[?:?] {re:classloading,re:classloading,re:classloading}     at net.minecraftforge.common.util.LazyOptional.orElseThrow(LazyOptional.java:261) ~[forge-1.20.1-47.3.10-universal.jar%23222!/:?] {re:mixin,re:classloading}     at me.lucko.luckperms.forge.capabilities.UserCapabilityImpl.get(UserCapabilityImpl.java:66) ~[?:?] {re:classloading,re:classloading,re:classloading}     at me.lucko.luckperms.forge.util.BrigadierInjector$InjectedPermissionRequirement.test(BrigadierInjector.java:143) ~[?:?] {}     at me.lucko.luckperms.forge.util.BrigadierInjector$InjectedPermissionRequirement.test(BrigadierInjector.java:129) ~[?:?] {}     at com.mojang.brigadier.tree.CommandNode.canUse(CommandNode.java:65) ~[brigadier-1.1.8.jar%2376!/:?] {}     at com.mojang.brigadier.CommandDispatcher.parseNodes(CommandDispatcher.java:359) ~[brigadier-1.1.8.jar%2376!/:?] {}     at com.mojang.brigadier.CommandDispatcher.parse(CommandDispatcher.java:349) ~[brigadier-1.1.8.jar%2376!/:?] {}     at com.mojang.brigadier.CommandDispatcher.parse(CommandDispatcher.java:317) ~[brigadier-1.1.8.jar%2376!/:?] {}     at net.minecraft.commands.Commands.m_230957_(Commands.java:237) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:classloading}     at net.mcreator.boh.procedures.TeleportbenProcedure.lambda$execute$2(TeleportbenProcedure.java:65) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading}     at net.mcreator.boh.BohMod.lambda$tick$2(BohMod.java:96) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading}     at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] {re:mixin}     at net.mcreator.boh.BohMod.tick(BohMod.java:96) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading}     at net.mcreator.boh.__BohMod_tick_ServerTickEvent.invoke(.dynamic) ~[boh-0.0.6.1-forge-1.20.1_2.jar%23165!/:?] {re:classloading,pl:eventbus:B}     at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}     at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}     at net.minecraftforge.event.ForgeEventFactory.onPostServerTick(ForgeEventFactory.java:950) ~[forge-1.20.1-47.3.10-universal.jar%23222!/:?] {re:classloading}     at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:835) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}     at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23217!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,re:classloading,pl:accesstransformer:B,xf:fml:xaerominimap:xaero_minecraftserver,pl:mixin:A}     at java.lang.Thread.run(Thread.java:840) ~[?:?] {}
  • Topics

×
×
  • Create New...

Important Information

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