facebook

web.xml Errors [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #199704 Reply

    jamie
    Member

    Hi,
    I think this is a bug! I’m trying to get some hands-on of Servlet/JSP development and am using myeclipse as my IDE for that. I’m running through some example from the book Weblogic Server Bible. Myeclipse reports various entries into Web.xml as I progress as errors although I see no reason why that should be.
    First off – adding an <welcome-file-list> entry. I had to move this entry further down the web.xml file to get myeclipse to accept it.
    Next <login-config> behaved the same.
    And finally adding <security-constraint> entries put the file permanently into error. No moving the entries around brought any relief this time.
    I quite certain that I haven’t made any typing errors – I’ve been over everything pretty thoroughly. I’m using myeclipse v. 2.6.3. The error reported is always that the <web-app> element should contain content of the type following, where the following is a list of valid elements.
    Hope this is enough info for you.
    Jamie

    #199716 Reply

    support-michael
    Keymaster

    Jame,

    1) Can you provide more context such as OS, versions of Eclipse and MyEclipse, other plugins installed?

    2) Can you send me a copy of your problematic webl.xml file for further research? Send it to support@genuitec.com to my attention.

    Michael
    MyEclipse Support

    #199771 Reply

    support-michael
    Keymaster

    Jamie,

    I responded by email. It turns out that your web.xml did not conform to the spec and the XML validator is functioning properly.

    Michael
    MyEclipse Support

    #199775 Reply

    jamie
    Member

    Thank you Michael,

    so it was just a beginner’s mistake then? Still it’s definately good to know what was causing the problem.

    I adjusted the order of elements and now everything is ‘good to go’!

    Keep up the good work.

    Jamie

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: web.xml Errors [Closed]

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