[英]META-INF/MANIFEST.MF file not found in unnamed.war
I am using Intellij idea and I want to deploy my project to the server. 我正在使用Intellij的想法,我想将我的项目部署到服务器。 Before that I tried to create a .war file but when i create a war file, i am getting this error
在此之前我尝试创建一个.war文件但是当我创建一个war文件时,我收到了这个错误
META-INF/MANIFEST.MF file not found in unnamed.war
How can I solve this problem ? 我怎么解决这个问题 ?
Add MANIFEST.MF
to YOUR_PROJECT_NAME/web/src/main/webapp/META-INF/
folder with the simple content : 使用简单内容将
MANIFEST.MF
添加到YOUR_PROJECT_NAME/web/src/main/webapp/META-INF/
文件夹:
Manifest-Version: 1.0
Or you can generate it using IntelliJ Artifacts Configuring 或者您可以使用IntelliJ Artifacts配置生成它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.