GithubHelp home page GithubHelp logo

Comments (8)

duncte123 avatar duncte123 commented on August 15, 2024

With your current provided info I cannot diagnose your issue, also please note that only official bintray releases are supported, I cannot guarantee that git commits are working

from botcommons.

derDennis99 avatar derDennis99 commented on August 15, 2024

This is the Gradle:
`plugins {
id'java'
id'application'
id'com.github.johnrengelman.shadow' version '2.0.4'
}

jar {
manifest {
attributes(
'Main-Class': 'me.project.Main'
)
}
}

mainClassName = 'me.project.Main'

version '1.0'

sourceCompatibility = '14'

repositories {
jcenter()
mavenCentral()

maven {
    url 'https://jitpack.io'
}

}

dependencies {

compile group: 'net.dv8tion', name: 'JDA', version: '3.8.0_434'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'org.json', name: 'json', version: '20180130'
compile group: 'com.afollestad', name:'ason', version:'1.4.14'
//implementation group: 'com.github.duncte123', name: 'botCommons', version: 'fbb8f98'
implementation group: 'com.github.duncte123', name: 'botCommons', version: '33c00a5'
implementation group: 'net.sourceforge.htmlunit', name: 'htmlunit', version: '2.13'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.6'

}

compileJava.options.encoding = 'UTF-8'`

JDK Version: 14
Error with the gradle: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

what can I give you for info?

from botcommons.

duncte123 avatar duncte123 commented on August 15, 2024

update JDA, I'm surprised your bot would still come online with JDA 3

from botcommons.

derDennis99 avatar derDennis99 commented on August 15, 2024

ok i updated the version to the latest: 4.2.0_215
now i get this: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
and the code is still underlined in red ...

from botcommons.

duncte123 avatar duncte123 commented on August 15, 2024

That is unrelated to botCommons

from botcommons.

derDennis99 avatar derDennis99 commented on August 15, 2024

now i get:
java: cannot find symbol symbol: method defaultEmbed() location: class me.duncte123.botcommons.messaging.EmbedUtils

from botcommons.

duncte123 avatar duncte123 commented on August 15, 2024

That is because you bumped from version 1 to version 2 (a rewrite) check the usage linked in the readme

from botcommons.

derDennis99 avatar derDennis99 commented on August 15, 2024

"update JDA, I'm surprised your bot would still come online with JDA 3"

that was it sooorryyyy...

it had nothing to do with your project ... I had to update my complete program code to the new JDA ... now it's running like a freshly lubricated clockwork again. Thank you!

from botcommons.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.