Jump to content

Error when running Client


Luis_ST

Recommended Posts

I install eclipse on my new Pc and i copy my old workspace folder but now when i want to run client, server or data i get this Error:

i dont now where is the error

[mException in thread "main" [32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: java.lang.NoClassDefFoundError: jdk/nashorn/api/scripting/NashornScriptEngineFactory
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.coremod.CoreModEngine.loadCoreMod(CoreModEngine.java:48)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.coremod.CoreModProvider.addCoreMod(CoreModProvider.java:12)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.fml.loading.LoadingModList.addCoreMods(LoadingModList.java:88)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:125)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:213)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.fml.loading.FMLServiceProvider.runScan(FMLServiceProvider.java:107)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:111)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1766)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.Launcher.run(Launcher.java:75)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: 	at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: Caused by: java.lang.ClassNotFoundException: jdk.nashorn.api.scripting.NashornScriptEngineFactory
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: 	... 33 more
[m
> Task :runClient FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Users\luiss\.p2\pool\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.1.v20201027-0507\jre\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 10s
10 actionable tasks: 10 executed

 

Link to comment
Share on other sites

2 minutes ago, Luis_ST said:

[mException in thread "main" [32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: java.lang.NoClassDefFoundError: jdk/nashorn/api/scripting/NashornScriptEngineFactory

[m[32m[16:18:08] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: at net.minecraftforge.coremod.CoreModEngine.loadCoreMod(CoreModEngine.java:48)

Errors are pretty self explanatory.

You have a NoClassDefFound error, meaning a class was not found, the name of the class that wasn't found, and the line of code that called it.

  • Thanks 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I encountered the same problem while executing 'setupDevWorkspace', and the log is as follows: Current status: 971/1305 74% Error downloading asset (try 5) : minecraft/sounds/mob/wither_skeleton/hurt4.ogg java.io.IOException: Server returned HTTP response code: 400 for URL: http://resources.download.minecraft.net/0f/0f1b391091236dadf8ab0108185d450639e54879 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.URL.openStream(URL.java:1045) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:189) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Error downloading asset (try 4) : minecraft/sounds/mob/wither_skeleton/idle1.ogg java.io.IOException: Server returned HTTP response code: 400 for URL: http://resources.download.minecraft.net/0e/0e6d00d4c3f24a4e86eace20e63283a7d409854f at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.URL.openStream(URL.java:1045) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:189) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Error downloading asset (try 1) : minecraft/sounds/mob/wither_skeleton/idle2.ogg java.io.IOException: Server returned HTTP response code: 400 for URL: http://resources.download.minecraft.net/8c/8c5427b9b55d9cdc3910e5c608be4c70f83f90ea at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.URL.openStream(URL.java:1045) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:189) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Error downloading asset (try 5) : minecraft/sounds/mob/wither_skeleton/idle1.ogg java.io.IOException: Server returned HTTP response code: 400 for URL: http://resources.download.minecraft.net/0e/0e6d00d4c3f24a4e86eace20e63283a7d409854f at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.URL.openStream(URL.java:1045) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:189) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Current status: 972/1305 74%  
    • Earlier today, I got forge. It started working fine, the suddenly it stopped opening. It keeps taking me back to the launcher and saying that an error occured. I dont know what to do
    • Safe Storage is the best company in Hyderabad which provides home and household items storage services and facility at economical prices. Rent a personal storage space in Hyderabad! Contact today for more info!   Storage Services
    • As seen in the CrossbowItem class, an NBT boolean tag “Charged” is attached to crossbows. I have a custom item that extends CrossbowItem, and I want to attach other data in addition to the “Charged” tag. Should I use capabilities or NBTs? I am wondering if there are any significant advantages of using one over another for ItemStacks.
    • Hey everyone! I come here out of desperation as either due to a lack of available info or my lackluster googling skills, I can't find answers elsewhere. I started hosting a vanilla server for my GF and some of her friends. We had zero issues with this server. Everything worked instantly and everyone could connect. After a little while, My GF decided she wanted a few light, mostly QOL mods. I put together a version of the server on forge with all the mods she wanted. We started it up with all the default server properties (basically what we did for the vanilla one), but now no one could connect except me (on the pc it is hosted on). I thought it could be a mod conflicting with something, so i set up a fresh forge server with nothing added to it, had her make a fresh forge client to connect from, and she still can't connect. Just says "Connection timed out: No further information". if I start the vanilla server again while she is on the modded client, she can see that it's up and that it's incompatible. I know for a fact my port forwarding is correct, and the the ports on the forge server are fine. I haven't changed the "server-ip" option in server properties. speaking of which, i imported the server properties from the vanilla server to the forge server to see if that fixed anything and it didn't. I don't understand what about forge is causing them to not be able to connect, but i have narrowed it down to that. We are playing 1.19.4 with the latest forge version if that changes anything. I can provide any info needed. Thanks in advance.
  • Topics

×
×
  • Create New...

Important Information

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