Jump to content

ClassNotFoundException, dependencies not including, help needed, newbie at gradle


Recommended Posts

Posted (edited)

Hi all. I just started with FML development. 

Im new in java and gradle, so please sorry me. I feel like i missing some basics, but i didnt found anything, that may help me.

 

Im currently playing with my couple of my friends on local server and we wanna to do integration our game chat with third party software cloud for our purposes.

So i started to write client side mod. This cloud uses Websockets and i have arleady implemented almost whole logic with two dependencies (gson and java-websockets ( details coming bellow ) )

Everything was normal, before i tried to test build on normally (obfusicated) game -  i became crash with ClassNotFoundException: https://pastebin.com/aM9VEvnp 

And there my build.gradle:  https://pastebin.com/VhqLTqGN

 

As i have understood, my libralies like websocket (and maybe gson? ) arent included in final build and i cant find nothing.

Is there any way to fix that without addoptional stuff, multiple jar files and so on? 

And why my classPath doesnt work in this case?

 

Thanks!

 

Edited by Rutex
Posted

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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