Pircbotx NoClassFoundException error

Discussion in 'Plugin Development' started by robertcarr22, Nov 11, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    robertcarr22

    I am using the Pircbotx API to make an IRC plugin for Bukkit.

    I have it in my class path in the manifest file but I still get this error in the console:
    http://pastebin.com/k1Vcx6ah

    It seems like that specific class is the only one causing an issue :/
    I have also asked for help from the pircbotx people but they think its a bukkit problem

    Any help would be great!
     
  2. Offline

    Minecrell

  3. Offline

    robertcarr22


    I've never used Maven :/ I know that the API is referenced right it just seems that something goes wrong
     
  4. What is going wrong is that you are not providing the pircbotx classes in your plugin jar (hence the class not being found, Bukkit doesn't come with it).

    Shading is maven's way of copying the contents of one jar (pircbotx) into another (your plugins jar)
     
  5. Offline

    robertcarr22


    I have set up the manifest.mf file to point to a libraries folder that has all the libraries inside it and it is definitely working as it would cause an error earlier in the code. It doesn't error until it comes to the listener class and i don't know why :/
     
Thread Status:
Not open for further replies.

Share This Page