Problems with web.xml file

0
Warning: selected war files include a WEB-INF/web.xml which will be ignored 
(webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')

I'm using Netbeans to work with a Spring project and so far I had not encountered this warning.

IDE performed the project normally. Although I use the jetty plugin to run through the terminal, I used netbeans tomcat and the application ran smoothly. Now it only runs through the terminal with the jetty plugin ..

I made some changes to the code and suddenly I started to see this message, so I came back several commits when the code still worked. To my surprise the message came back to appreciate !! And I can not run IDE netbeans What's happening? And how to solve this?

    
asked by anonymous 29.04.2017 / 15:49

1 answer

0

As you used the version control and to some extent your applica- tion everything was in working perfectly.

As something happened and this message began to appear and you returned to the commit where everything worked well, reconpiled and tried to deploy, even then the IDE shows that there is a defect, that is to say that it is broken.

To solve this problem, please unpack netbeans. "It's rare" but netbeans corrupts your configuration data and keeps showing these obsolete messages!

    
29.04.2017 / 22:02