Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » how to fix web.xml error?
how to fix web.xml error? [message #85637] Tue, 22 March 2005 05:14 Go to next message
Eclipse UserFriend
Originally posted by: jk9903.126.com

Does anyone kown how to fix the web.xml error? thanks!
Re: how to fix web.xml error? [message #85822 is a reply to message #85637] Tue, 22 March 2005 13:36 Go to previous messageGo to next message
Eclipse UserFriend
>Does anyone kown how to fix the web.xml error? thanks!

I just received word from the developer on the jsr109 project that the
schema file will be reposted. I havne't yet been given a time when the
schema will be available but have asked for one.

This will fix the web.xml error.


Lawrence
Re: how to fix web.xml error? [message #86038 is a reply to message #85822] Tue, 22 March 2005 23:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jk9903.126.com

Thanks!

But how can I validate a v2.4 web.xml without connection to the internet?
I downloaded some schemas and the dtds the 'org.eclipse.jst.j2ee'
plugin.xml lists, and copied them to the folder 'xsds' ,'dtds',uncommented
the mappings, but it doesn't works.
have I used the wrong procedure?
Re: how to fix web.xml error? [message #86215 is a reply to message #86038] Wed, 23 March 2005 12:21 Go to previous messageGo to next message
Eclipse UserFriend
>But how can I validate a v2.4 web.xml without connection to the internet?
>I downloaded some schemas and the dtds the 'org.eclipse.jst.j2ee'
>plugin.xml lists, and copied them to the folder 'xsds'
,'dtds',uncommented
>the mappings, but it doesn't works.
>have I used the wrong procedure?

You should add the relevant schemas to the XML catalog. For a tutorial on
the XML catalog see
http://www.eclipse.org/webtools/testtutorials/M2/xml/XMLCata logTutorial.html.
The missing schema can now retrieved at
http://www-128.ibm.com/developerworks/webservices/jsrproject /j2ee_web_services_client_1_1.xsd.
I'm working on getting the redirect at ibm.com updated so this will work
out of the box.

Lawrence
Re: how to fix web.xml error? [message #86706 is a reply to message #86215] Thu, 24 March 2005 03:09 Go to previous messageGo to next message
Eclipse UserFriend
I should have added, you should use the tutorial in my post above to help
you check the XML catalog to ensure your entries are registered properly
in the catalog and to learn how to register schemas manually. The
extension point listed in the org.eclipse.jst.j2ee plugin,
com.ibm.etools.xmlcatalog.catalogContributor, looks incorrect. It doesn't
look like this extension currently exists for the XML catalog and I don't
think using this extension will add schemas to the catalog. I think your
best bet is to register the schemas manually.


Lawrence
Re: how to fix web.xml error? [message #87175 is a reply to message #86706] Fri, 25 March 2005 01:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wu_kunlun.yahoo.com.cn

It works for me with the following change in:
eclipse\plugins\org.eclipse.jst.j2ee_1.0.0\plugin.xml
(after copying the dtd's and xsd's into the appropriate directories and
doing an eclipse -clean)

<extension
point="org.eclipse.wst.xml.uriresolver.catalogContributor">
<catalogContributor
catalogId="default">
<mappingInfo
key="-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
uri="dtds/web-app_2_2.dtd">
....



"Lawrence Mandel" <lmandel@ca.ibm.com> wrote in message
news:d1tsj1$e3a$2@news.eclipse.org...
>I should have added, you should use the tutorial in my post above to help
> you check the XML catalog to ensure your entries are registered properly
> in the catalog and to learn how to register schemas manually. The
> extension point listed in the org.eclipse.jst.j2ee plugin,
> com.ibm.etools.xmlcatalog.catalogContributor, looks incorrect. It doesn't
> look like this extension currently exists for the XML catalog and I don't
> think using this extension will add schemas to the catalog. I think your
> best bet is to register the schemas manually.
>
>
> Lawrence
Re: how to fix web.xml error? [message #87503 is a reply to message #87175] Sat, 26 March 2005 10:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jk9903.126.com

Thanks!

do you use:eclipse-SDK-3.1M5a-win32 + wtp-1.0M3 + j2sdk-1_4_2_05, and
download all dtds and xsds the
schemeclipse\plugins\org.eclipse.jst.j2ee_1.0.0\plugin.xml needs?
Re: how to fix web.xml error? [message #87731 is a reply to message #87503] Mon, 28 March 2005 12:52 Go to previous message
Eclipse UserFriend
Originally posted by: jeremydyoung.SPAM.ME.NOT.sbcglobal.net

I posted what I think is a reasonable solution to this problem here:

http://www.eclipse.org/newsportal/article.php?id=3486&gr oup=eclipse.webtools#3486

The subject is:

web.xml error. ( Possible Solution ) ( j2ee_web_services_client_1_1.xsd
not found ) ( reference problems )

Please give feedback if this is not a robust solution to the problem.
Previous Topic:web.xml: error in empty web project
Next Topic:installin WTP1.0M3 ?
Goto Forum:
  


Current Time: Sat May 03 01:27:08 EDT 2025

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

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

Back to the top