Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » tutorial:cmp school scehdule
tutorial:cmp school scehdule [message #148745] Wed, 23 November 2005 19:30 Go to next message
Eclipse UserFriend
Originally posted by: jennyhii.hotmail.com

hi, i had done this tutorial on the topic developing cmp school schedule.
but there is an error exist in my web.xml. the error message is as shown
below:

schema reference.4:failed to read schema document
'http://java.sun.com/xml/ns/j2ee/web-app _2.4.xsd', because 1) could not
find the document, 2)the document could not be read; 3) the root element
of the document is not <xsd:schema>.

what's wrong? thanks.
Re: tutorial:cmp school scehdule [message #148788 is a reply to message #148745] Thu, 24 November 2005 01:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jennyhii.hotmail.com

now the error displayed on my web.xml is as ahown below:

cannot find the declaration of element 'web-app'

how can i fix it? i'm using jboss 4.0.2, tomcat 5.5.9, xDoclet 1.2.3.
Re: tutorial:cmp school scehdule [message #149066 is a reply to message #148788] Thu, 24 November 2005 22:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jennyhii.hotmail.com

i have tried out so many different ways such as adding download
wep-app_2_4.xsd file to window> preference > web and xml > xml catalog.
but more errors displayed!!!!

the errors shown in this part:

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/
j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">

i have run out of idea and all my dynamic web projects cannot be compiled.
hope that someone can give me the ideas. thanx!
Re: tutorial:cmp school scehdule [message #149239 is a reply to message #149066] Sat, 26 November 2005 13:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jenny,

Are you working in WTP 0.7/0.7.1? There was a bug in the XML validator in
these releases where the XML validator won't always make use of the XML
catalog. This has been fixed in the WTP 1.0 stream. You can safely ignore
the errors if you're working disconnected in 0.7.

Lawrence
Re: tutorial:cmp school scehdule [message #149439 is a reply to message #149239] Sun, 27 November 2005 22:51 Go to previous message
Eclipse UserFriend
Originally posted by: jennyhii.hotmail.com

hi Lawrence,

i tried to removed the WTP 0.7 and redownload WTP1.0 but it still have
errors. the rroe message is as shown below:

'schemaLocation:SchemaLocation value = 'http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2.4.xsd' must be even number of
URI's'

what can i do know now?
Previous Topic:Cannot save new WSDL files - Hangs waiting for Backgroup opeation to complete
Next Topic:M9 - no perspective
Goto Forum:
  


Current Time: Thu May 08 17:04:23 EDT 2025

Powered by FUDForum. Page generated in 0.05863 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top