1

I am using Intellij idea and I want to deploy my project to the server. Before that I tried to create a .war file but when i create a war file, i am getting this error

META-INF/MANIFEST.MF file not found in unnamed.war 

How can I solve this problem ?

hsnclk
  • 77
  • 2
  • 12

1 Answers1

3

Add MANIFEST.MF to YOUR_PROJECT_NAME/web/src/main/webapp/META-INF/ folder with the simple content:

Manifest-Version: 1.0

Or you can generate it using IntelliJ Artifacts Configuring

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Anton Dozortsev
  • 4,782
  • 5
  • 34
  • 69