IntelliJ Artifact具有无效扩展名

编程入门 行业动态 更新时间:2024-10-26 14:28:57
本文介绍了IntelliJ Artifact具有无效扩展名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在jboss上部署工件时遇到了一个奇怪的问题。在IntelliJ中生成默认的spring-mvc项目之后,我尝试运行它,但IntelliJ在运行/调试配置中显示一条消息,表明我的神器XYZ:war爆炸的扩展名无效。

I have strange a problem with deploying an artifact on jboss. After generating the default spring-mvc project in IntelliJ, I tried to run it, but IntelliJ showed in "Run/Debug Configuration" a message that my "Artifact XYZ:war exploded has invalid extension".

我在stackoverflow更改扩展名上找到了建议,但我有正确的 .war 扩展名。

I found advice on stackoverflow "change extension" but I have correct .war extension.

有什么问题?

推荐答案

只需将.war添加到输出目录名称即可。

Simply add .war to your output directory name.

不幸的是,使用Maven更改 pom.xml 可能会导致修改输出目录,您将不得不再次执行此操作。

Unfortunately changing the pom.xml with Maven will probably result into a modification of the output directory, and you will have to do it again.

更多推荐

IntelliJ Artifact具有无效扩展名

本文发布于:2023-11-02 17:55:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1553037.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:扩展名   IntelliJ   Artifact

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!