Class not found - external library

Discussion in 'Plugin Development' started by NonameSL, May 29, 2014.

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

    NonameSL

    I have this external library in my build path, and I am using it in my project. There are no errors and I can import everything, and the classes are working fine, except for when I start the server with my project in it, it doesn't load the project because the class me.NonameSL.CharacterLibrary.CharacterAction does not exist. CharacterLibrary is my external library.
    But... It does. Why is this problem happening?
     
  2. Offline

    metalhedd

    the external library isn't included in your plugin jar. you'll have to add it to the classpath when you launch your server, or 'shade' it into your jar.
     
Thread Status:
Not open for further replies.

Share This Page