Results 1 to 2 of 2
  1. #1
    khewuwei is offline Member
    Join Date
    Aug 2009
    Posts
    1
    Rep Power
    0

    Default Cannot find the declaration of element 'web-app'

    Hi,

    I receive this error while trying to run a simple Java Servlet on the J2EE preview server:

    WARNING: ERROR@null line:2 col:302 : org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'.
    21-Aug-2009 12:18:11 org.mortbay.jetty.servlet.WebApplicationContext doStart
    WARNING: Configuration error on H:/workspace1/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/HelloWWW
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'.

    Any idea how to solve it?
    Thank you!!

    Cheers,
    khew

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    836
    Rep Power
    6

Similar Threads

  1. Declaration
    By asifahmed in forum New To Java
    Replies: 1
    Last Post: 04-05-2008, 05:38 AM
  2. public declaration ('undeclaring')
    By Jadellll in forum New To Java
    Replies: 2
    Last Post: 03-17-2008, 08:50 PM
  3. multiple declaration of a variable
    By eva in forum New To Java
    Replies: 2
    Last Post: 01-28-2008, 09:17 AM
  4. Array size declaration
    By JT4NK3D in forum New To Java
    Replies: 3
    Last Post: 01-18-2008, 10:37 PM
  5. JSP Declaration Directive
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-10-2007, 05:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •