MANIFEST.MF not working InvalidPluginException (NoClassDefFoundError)

Discussion in 'Plugin Development' started by n31ln3t, Jul 25, 2014.

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

    n31ln3t

    http://pastebin.com/dgxrn5dN

    Code:
    Manifest-Version: 1.0
    Class-Path: mail.jar
     
    
    Referenced libraries & Manifest location:

    [​IMG]


    Manifest page (Last page on Java Export Wizard via Eclipse)

    [​IMG]

    P.S. I don't want to use Maven Shading, I need to know how I can get it to work with only a manifest.MF file.

    Thanks! =)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  2. Offline

    fireblast709

    n31ln3t why is your lib in your jar... Just place it in /lib (in the server folder) and add ../lib/mail.jar to the classpath
     
Thread Status:
Not open for further replies.

Share This Page