Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » tutorial:cmp school scehdule
tutorial:cmp school scehdule [message #148745] Thu, 24 November 2005 00: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 06: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] Fri, 25 November 2005 03: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 18:30 Go to previous messageGo to next message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
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] Mon, 28 November 2005 03: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: Tue Apr 23 08:57:42 GMT 2024

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

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

Back to the top