Wrong Manifest.mf in IntelliJ IDEA created .jar

前端 未结 7 1954
-上瘾入骨i
-上瘾入骨i 2020-11-28 02:08

I\'m trying to package a project using OptaPlanner 6.0.1 libraries into a .jar through IntelliJ IDEA\'s jar artifact but instead of my manifest.mf containing the standard

7条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-28 02:26

    I had a similar problem.

    The problem was in file pom.xml.

    
      
        one.jar,
                      two.rar, 
                      other.jar
        
      
    
    

    I do not know for what reason this code works in eclipse, but not in IntelliJ

    This it correct.

    
      
        one.jar, two.rar, other.jar
      
    
    

    Manifest.mf worked!!!

    I hope this helps.

提交回复
热议问题