Error when building web application

Hi there.

I get this error, when I try to build a web application:

Error: duplicate entry: WEB-INF/web.xml

I don't think it's a bug; so where is IDEA expecting me to keep the web.xml file? At the moment it lives in a WEB-INF directory inside my JSPs folder.



2 comments
Comment actions Permalink

I had the same problem. My web.xml had to be moved out of my content root.
Apparently, it was being copied as a resource and then recopied as a deployment descriptor.

0
Comment actions Permalink

Aah..... :-\

Ok, I file a bug for that one then.

Thanks for the workaround. Unfortunately, the project structure I have, cannot be changed; but that's handy to know.

0

Please sign in to leave a comment.