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

forge scala-lang xml error


Icarus_00_
 Share

Recommended Posts

Hi,

I tried installing minecraft forge 1.7.10 yesterday, but it didn't work, the installer window wouldn't even show up. After some research online, a saw a lot of people saying that i should try other versions, which didn't work either.
Finally i saw a comment that actually seemed to work, it told me to instal using the cmd [java -jar forge-1.7.10-10.13.4.1614-1.7.10-installer.jar], which did work, but after a few seconds the installation stopped and a window showed up saying that there was an error saying that some libraries failed to download, more specifically, org.scala-lang, and there were multiple libraries like that one missing. Someone told me that i should download directly the libraries and place them in the correspondent files inside of  "C:\Users\Utilizador\AppData\Roaming\.minecraft\libraries\org\scala-lang", amazingly these seemed to work, but there is one library that even though i have it in the correct place, and it's on the correct version, it doesn't work, i've tried to download it multiple times, and even tried different versions, but nothing seems to work.

584433298_xmlerror.png.2bce31054b063229c4732fea48aa871c.png- this is the version i have in C:\Users\Utilizador\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-xml_2.11\1.0.2

And now i can't even use any of my other minecraft versions, Is there a solution that anyone knows of?

I'll also leave this here, in case it helps at all...

Spoiler

C:\Users\Utilizador\Desktop\Minecraft\runtime\jre-x64\bin>java -jar forge-1.7.10-10.13.4.1614-1.7.10-installer.jar
Setting up logger: C:\Users\Utilizador\Desktop\Minecraft\runtime\jre-x64\bin\forge-1.7.10-10.13.4.1614-1.7.10-installer.jar.log
java.net.preferIPv4Stack=true
Considering library net.minecraftforge:forge:1.7.10-10.13.4.1614-1.7.10: Not Downloading {Wrong Side}
Considering library net.minecraft:launchwrapper:1.12: Not Downloading {Wrong Side}
Considering library org.ow2.asm:asm-all:5.0.3: Not Downloading {Wrong Side}
Considering library com.typesafe.akka:akka-actor_2.11:2.3.3
Considering library com.typesafe:config:1.2.1
Considering library org.scala-lang:scala-actors-migration_2.11:1.1.0
Considering library org.scala-lang:scala-compiler:2.11.1
Considering library org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2
Considering library org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2
Considering library org.scala-lang:scala-library:2.11.1
Considering library org.scala-lang:scala-parser-combinators_2.11:1.0.1
Considering library org.scala-lang:scala-reflect:2.11.1
Considering library org.scala-lang:scala-swing_2.11:1.0.1
Considering library org.scala-lang:scala-xml_2.11:1.0.2
  Checksum Failed:
    Found:    820fbca7e524b530fdadc594c39d49a21ea0337e
    Expected: 7a80ec00aec122fba7cd4e0d4cdd87ff7e4cb6d0
    Expected: 62736b01689d56b6d09a0164b7ef9da2b0b9633d
Downloading library org.scala-lang:scala-xml_2.11:1.0.2
  Trying unpacked library org.scala-lang:scala-xml_2.11:1.0.2
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
        at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
        at net.minecraftforge.installer.DownloadUtils$URLISSupplier.getInput(DownloadUtils.java:276)
        at net.minecraftforge.installer.DownloadUtils$URLISSupplier.getInput(DownloadUtils.java:264)
        at com.google.common.io.ByteStreams$6.openStream(ByteStreams.java:989)
        at com.google.common.io.ByteSource.copyTo(ByteSource.java:202)
        at com.google.common.io.Files.copy(Files.java:382)
        at net.minecraftforge.installer.DownloadUtils.downloadFile(DownloadUtils.java:198)
        at net.minecraftforge.installer.DownloadUtils.downloadInstalledLibraries(DownloadUtils.java:50)
        at net.minecraftforge.installer.ClientInstall.run(ClientInstall.java:131)
        at net.minecraftforge.installer.InstallerAction.run(InstallerAction.java:43)
        at net.minecraftforge.installer.InstallerPanel.run(InstallerPanel.java:406)
        at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:168)
        at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:54)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at net.minecraftforge.installer.Java6Gate.main(Java6Gate.java:48)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
        at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
        at sun.security.validator.Validator.validate(Validator.java:260)
        at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
        at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
        at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
        at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)
        ... 29 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
        at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
        at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
        ... 35 more
  File not found in installer archive: /maven/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar
Considering library lzma:lzma:0.0.1: Not Downloading {Wrong Side}
Considering library net.sf.jopt-simple:jopt-simple:4.5: Not Downloading {Wrong Side}
Considering library com.google.guava:guava:17.0: Not Downloading {Wrong Side}
Considering library org.apache.commons:commons-lang3:3.3.2: Not Downloading {Wrong Side}

 

Edited by Icarus_00_
Link to comment
Share on other sites

  • Icarus_00_ changed the title to forge scala-lang xml error
Guest
This topic is now closed to further replies.
 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Here is my configuration: % java -version java version "18.0.2" 2022-07-19 Java(TM) SE Runtime Environment (build 18.0.2+9-61) Java HotSpot(TM) 64-Bit Server VM (build 18.0.2+9-61, mixed mode, sharing) forge-1.19-41.1.0-mdk on macOS Monterey 12.5 I ran the command: ./gradlew genEclipseRuns and was hoping it will generate the Eclipse project files for me. The run log is at https://gist.github.com/arun-gupta/06b983a6976b4c0a0f510d0dc225ddd3 and the generated directory structure is at https://gist.github.com/arun-gupta/3f5bfc70ec5d3d903b0f97d42840abda. In previous versions (1.12-ish), it used to generate an eclipse directory but 1.19 does not seem to have it. I tried opening the top-level forge directory but Eclipse does not recognize it as a project as well. How do I open this project in Eclipse now?  
    • I didn't put in credentials, I used it only for testing installing forge. But still the problem mentioned above.
    • I am trying to use Forge 1.18.2, I have checked my firewall, redownloaded Forge, deleted the fml.toml file (which keeps reappearing) and looked at countless help pages. I am just trying to download and use forge so that I can play with my friends and it will not download. It tells me there may be an issue with the Java runtime config and that the exit code is one, and I have copied the exit code.   
    • Okay, i think i understand but im getting issues, i create another packet to sync entity to another players like this package com.naim.belloto.networking.packet; import com.naim.belloto.networking.handler.ClientSyncHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.FriendlyByteBuf; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.fml.DistExecutor; import net.minecraftforge.network.NetworkEvent; import java.util.Objects; import java.util.function.Supplier; public class ClientSyncPacket { public ClientSyncPacket() { } public ClientSyncPacket(FriendlyByteBuf buf) { } public void toBytes(FriendlyByteBuf buf) { } public boolean handle(Supplier<NetworkEvent.Context> ctx) { NetworkEvent.Context context = ctx.get(); context.enqueueWork(() -> { assert Minecraft.getInstance().player != null; int idplayer = Minecraft.getInstance().player.getId(); DistExecutor.unsafeCallWhenOn(Dist.CLIENT,() -> () -> ClientSyncHandler.handlePacket(ctx, idplayer)); }); return true; } } And in the handler: public class ClientSyncHandler { public static boolean handlePacket(Supplier<NetworkEvent.Context> ctx, int idPlayer) { Minecraft.getInstance().level.getEntity(idPlayer); return true; } } But is not working :// 
  • Topics

×
×
  • Create New...

Important Information

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