Jump to content

forge scala-lang xml error


Icarus_00_

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • plz help me fix this!!: it wasn't doing this before, whenever I try to join my world it just stucks on the options screen and the 0% never ever shows up, and the game is now frozen! help me, please HELP! https://paste.gg/p/anonymous/0b4686cd036d496db16ec497b1ec7fb9
    • Internal ExeptIon server bug Image LInk  l V https://lens.google.com/search?ep=gsbubb&hl=en-CA&re=df&p=AbrfA8p0hRZLHI5ozxFtMWh8xA21sqBQ71eivErBLG_oF8j-5G7yFOjJQP7DxnD3oOFBAYE4ajAvyOag8ykwGITxwfBg-8CpFUB0plaWJyrGKiw28bj9LohjoyyI07OsFTE5vJa1o3aKF80ocbEG8U_v5QhX_B5B3k370goGoohHkTodvClNPrBATvS6rYMKO43iTr_QbdYL_78wxQ%3D%3D#lns=W251bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsIkVrY0tKR1E1T1RjeU5ETTVMV05pTVRVdE5HWXdNeTA1TmpWbUxXUXdOekZtWVdZeE9EWTJZaElmYTNoV05VWmFVREJJYTFGVWMwNXBYM3AxVm1GWlRWVTNSRnBoTFVob2F3PT0iLG51bGwsbnVsbCxudWxsLG51bGwsbnVsbCxudWxsLG51bGwsWyI4ZDdmNDE1Yi00ZWViLTQ2NzItOWQyOS05MTA2MWNmMzYyNjciXV0=
    • Ensure your system is running the latest version of Java. Sodium requires Java 17 or later for newer Minecraft versions (like 1.17+). 
    • Hi I wanted to my custom mob to hold any sword item, but didn’t rendered properly.   In entity class, make entity hold items as below: @Override public InteractionResult mobInteract(Player pPlayer, InteractionHand pHand) { //… ItemStack itemstack = pPlayer.getItemInHand(pHand); if (this.isTame()) { if ( (itemstack.is(Items.MELON_SLICE) || itemstack.is(Items.HONEY_BOTTLE)) && this.getHealth() < this.getMaxHealth() ) { //… } /* Handle holding sword */ else if (itemstack.getItem() instanceof SwordItem) { pPlayer.displayClientMessage(Component.literal("Clicked with item: " + itemstack.getDisplayName().getString()).withStyle(ChatFormatting.GOLD), true); //Return sword //pPlayer.getInventory().add(this.getItemInHand(InteractionHand.MAIN_HAND)); pPlayer.getInventory().add(this.getItemBySlot(EquipmentSlot.MAINHAND)); //The entity holds item //this.setItemInHand(InteractionHand.MAIN_HAND, itemstack); this.setItemSlot(EquipmentSlot.MAINHAND, itemstack.copy()); //Give copy of itemstack //If player is not in creative mode. From mobInteract() in wolf. if (!pPlayer.getAbilities().instabuild) { //Decrement sword count in hand pPlayer.getItemInHand(pHand).shrink(1); } return InteractionResult.SUCCESS; } else { //If player is sneaking pPlayer.displayClientMessage(getItemInHand(InteractionHand.MAIN_HAND).getDisplayName(), false); if (pPlayer.isShiftKeyDown()) { //Return sword //pPlayer.getInventory().add(this.getItemInHand(InteractionHand.MAIN_HAND)); pPlayer.getInventory().add(this.getItemBySlot(EquipmentSlot.MAINHAND)); //The entity holds nothing this.setItemInHand(InteractionHand.MAIN_HAND, ItemStack.EMPTY); return InteractionResult.SUCCESS; } else { //… } } else { return interactionresult; } }   And in render class, render the item as below: @Override public void render(RanaEntity pEntity, float pEntityYaw, float pPartialTicks, PoseStack pMatrixStack, MultiBufferSource pBuffer, int pPackedLight) { if(pEntity.isBaby()) { pMatrixStack.scale(0.5f, 0.5f, 0.5f); } model.setupAnim(pEntity, 0, 0, 0, pEntityYaw, 0); // //Get location and rotation of arm bone ModelPart rightArm = model.rightArm(); //Get right arm //Get location and rotation of item according to arm bone pMatrixStack.pushPose(); pMatrixStack.translate(rightArm.x, rightArm.y, rightArm.z); //Move to bone location pMatrixStack.mulPose(Axis.XP.rotationDegrees(rightArm.xRot)); //Rotate X pMatrixStack.mulPose(Axis.YP.rotationDegrees(rightArm.yRot)); //Rotate Y pMatrixStack.mulPose(Axis.ZP.rotationDegrees(rightArm.zRot)); //Rotate Z //Draw item //ItemStack itemStack = pEntity.getItemInHand(InteractionHand.MAIN_HAND); ItemStack itemStack = pEntity.getItemBySlot(EquipmentSlot.MAINHAND); if (!itemStack.isEmpty()) { //Offset pMatrixStack.translate(0.0, 0.0, 0.1); // Render the item //Minecraft.getInstance().getItemRenderer().renderStatic(itemStack, ItemDisplayContext.THIRD_PERSON_RIGHT_HAND, pPackedLight, OverlayTexture.NO_OVERLAY, pMatrixStack, pBuffer, pEntity.level(), pEntity.getId()); //itemRenderer.renderStatic(itemStack, ItemDisplayContext.THIRD_PERSON_RIGHT_HAND, pPackedLight, OverlayTexture.NO_OVERLAY, pMatrixStack, pBuffer, pEntity.level(), pEntity.getId()); itemInHandRenderer.renderItem(pEntity, itemStack, ItemDisplayContext.THIRD_PERSON_RIGHT_HAND, false, pMatrixStack, pBuffer, pEntity.getId()); } pMatrixStack.popPose(); super.render(pEntity, pEntityYaw, pPartialTicks, pMatrixStack, pBuffer, pPackedLight); }   I confirmed the entity can properly hold item(logically) but the item which the entity holds is not rendered at all.   Full code: https://github.com/sakiiiiika/ranamod   Thanks.
  • Topics

×
×
  • Create New...

Important Information

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