Welcome to IRC overflow, where you can ask IRC questions and receive answers from other members of the community.

5 questions

7 answers

2 comments

13 users

How to start a pIRCx bot

2 like 0 dislike
22 views

I'm developing a Java bot for my network based on pIRCx. My intellij won't start the bot for some reason, and when I try to manually start it with the command `java -jar myBot.jar` I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/Lists
        at org.pircbotx.Configuration$Builder.<init>(Configuration.java:318)
        at com.ircBot.Start.main(Start.java:29)
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.Lists
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 2 more

So I looked up my issue, and it appears you need to insert a class path. The guide recommends something like this: `java -classpath pircbot.jar;. MyBotMain` which I've tried as `java -classpath myBot.jar;. ircBot`. All that happens now is the bot doesn't start and java prints help on my screen.

asked Oct 3, 2017 in Bots by R

1 Answer

0 like 0 dislike
 
Best answer
compile 'com.google.api-client:google-api-client:1.22.0'
compile group: 'org.slf4j', name:'slf4j-api', version: '1.7.2'
compile group: 'ch.qos.logback', name:'logback-classic', version: '1.0.9'
compile group: 'ch.qos.logback', name:'logback-core', version: '1.0.9'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
answered Oct 3, 2017 by xnite (420 points)
selected Oct 3, 2017 by siniStar

Related questions

0 like 0 dislike
2 answers 26 views
1 like 0 dislike
1 answer 43 views
0 like 0 dislike
1 answer 67 views
67 views asked Oct 3, 2017 in Eggdrop by Lars
IRC Indexes IRC Clients IRC Resources IRC overflow
Arranged by OS   (To update information for a client, or to add a client: contact us)
 Windows Windows
Mac Mac (OS X)
iOS iOS
Android Android
linux Linux
IRC overflow is sponsored by IRC4Fun
Like us on Facebook!   &   Follow us on Twitter!
...