facebook

web.xml issue when deploying app to WAR file

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #206016 Reply

    boofman15
    Member

    Whenever I deploy a web appliation to Tomcat as a WAR file, I get the following message:

    “Selected war files include a WEB-INF/web.xml file that will be ignored (please use webxml attribute to war task.)”

    The WAR file is still created and when I look in it, I see the web.xml I have created. Just makes me nervous when this message says the web.xml file will be ignored. What do I need to do to correct this?

    Thanks for your help.

    #206035 Reply

    Riyad Kalla
    Member

    boofman15,
    Are you deploying this WAR using our deployment tool and selecting Packaged War, or are you deploying this WAR using your own Ant script?

    Where are you seeing this error? Is it in the Tomcat console output? Where is your web.xml file WITHIN the WAR file? Where is your web.xml file located in your project within MyEclipse? Does your Ant script (if you are using one) move it before creating the WAR file?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: web.xml issue when deploying app to WAR file

You must be logged in to post in the forum log in