简体   繁体   English

Gradle WEB-INF / classes文件夹

[英]Gradle WEB-INF/classes folder

How can I create WEB-INF/classes in war when I don't have anyone? 没有人时如何在战争中创建WEB-INF/classes In my war I have only web.xml . 在我的战争中,我只有web.xml

I need this because jboss. 我需要这个,因为jboss。 It cannot deploy project without this folder. 没有此文件夹,它将无法部署项目。

I need gradle configuration. 我需要gradle配置。

Add a fake text file to src/main/resources , and it will end up in WEB-INF/classes. src/main/resources添加一个伪造的文本文件,它将最终出现在WEB-INF / classes中。 Explain the purpose of this file by writing it in the file. 通过将其写入文件来说明该文件的用途。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM