#java.lang.NoClassDefFoundError: org/json/JSONObject
1 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @rotund canyon! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
<@&765578700724371486>
Requested by Tener#7838
you need to package dependency with your jar
can i see a example?
thanks my fellow mate
@still latch now the build fails
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\keven\OneDrive\�rea de Trabalho\BossesConfig\build.gradle' line: 203
* What went wrong:
Could not determine the dependencies of task ':jar'.
> Could not get unknown property 'compile' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.
* 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
BUILD FAILED in 2s
my gradle is