Adding Library Using Maven

Discussion in 'Plugin Development' started by thebiologist13, Jan 26, 2013.

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

    thebiologist13

    Hi!

    I wanted to be able to use the Java Expression Library in my plugin, so I created a lib folder in my jar, added the library to the folder, and added the library to the build path. Sadly though, the console threw a NoClassDefFoundException when loaded like this.

    I heard you can use Maven Shade to compile it to load right, but I have never used Maven before. Where should I begin? I have an Eclipse java project for my plugin with no Maven and the M2E plugin on Eclipse right now.

    Thanks!:D
    ~thebiologist13
     
  2. Offline

    Sagacious_Zed Bukkit Docs

  3. Offline

    thebiologist13

Thread Status:
Not open for further replies.

Share This Page