Oleksandr Samsonov
Oleksandr Samsonov

Reputation: 1097

Gradle WEB-INF/classes folder

How can I create WEB-INF/classes in war when I don't have anyone? In my war I have only web.xml.

I need this because jboss. It cannot deploy project without this folder.

I need gradle configuration.

Upvotes: 0

Views: 1234

Answers (1)

JB Nizet
JB Nizet

Reputation: 692161

Add a fake text file to src/main/resources, and it will end up in WEB-INF/classes. Explain the purpose of this file by writing it in the file.

Upvotes: 3

Related Questions