在intellij上打仗 [英] Building a war on intellij
本文介绍了在intellij上打仗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个导入到IntelliJ中的Java EE项目.我可以编译该项目,但是由于某些原因无法构建战争工件,因此当我进入build
选项卡时,<build artifacts>
选项将被清空(即,我无法选择它).我的项目编译正常,但我对如何建立战争仍然感到困惑.
I have a Java EE project I have imported into IntelliJ . I can compile the project but for some reason not able to build a war artifact , when I go to the build
tab the <build artifacts>
option is blanked out ( ie I cannot select it ) . my project compiles fine but I am still confused on how I could build my war .
推荐答案
操作顺序可以是这样的(取决于IDE版本):
Operating sequence can be such (dependent of IDE version):
选择:
文件->项目结构->工件
然后按 Alt + 插入并创建新的工件:
Then press Alt+Insert and create new artifact:
执行此操作后,项目构建工件应该可用.
After this actions item Build artifacts should be available.
这篇关于在intellij上打仗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文