Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 88881 - web.xml generated by tooling when creating new Web Project has errors
Summary: web.xml generated by tooling when creating new Web Project has errors
Status: CLOSED WORKSFORME
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: wst.web (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows 2000
: P3 critical with 1 vote (vote)
Target Milestone: 1.0 M4   Edit
Assignee: Neeraj Agrawal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 11:54 EST by Ali Murtaza Manji CLA
Modified: 2005-07-26 14:11 EDT (History)
0 users

See Also:


Attachments
detailed error dialog (Show Details) (26.28 KB, image/gif)
2005-03-23 11:56 EST, Ali Murtaza Manji CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Murtaza Manji CLA 2005-03-23 11:54:35 EST
(Am using M3 build that includes Eclipse M5 build, etc)

Created a new Web Project, tooling created the following web.xml:

<?xml version="1.0" encoding="UTF-8"?>

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

	<display-name>ZooWeb</display-name>
	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
		<welcome-file>index.htm</welcome-file>
		<welcome-file>index.jsp</welcome-file>
		<welcome-file>default.html</welcome-file>
		<welcome-file>default.htm</welcome-file>
		<welcome-file>default.jsp</welcome-file>
	</welcome-file-list>
</web-app>


However, there seems to be a validation error with this deployment descriptor, 
the error in the Problems view shows:

Severity	Description	Resource	In Folder	Location
	Creation Time
2	Referenced file contains errors 
(http://www.ibm.com/link/oss.software.ibm.com/redirect.shtml/jsr109/xsd/j2ee_web
_services_client_1_1.xsd).  For more information, right click on the message 
and select "Show Details..."	web.xml	ZooWeb/WebContent/WEB-INF	line 1
	March 23, 2005 11:46:48 AM


When I right click on the error and select "Show Details" I see the dialog that 
I will attempt to attach to this bug report
Comment 1 Ali Murtaza Manji CLA 2005-03-23 11:56:02 EST
Created attachment 19120 [details]
detailed error dialog (Show Details)
Comment 2 Neeraj Agrawal CLA 2005-04-18 11:47:21 EDT
Could not reproduce the problem, seems that a the referenced xsd from  the 
web.xml was  not  being resolved at the time ypou tried  to  create the web 
project.
Comment 3 David Williams CLA 2005-06-15 01:33:11 EDT
Changed Version field given new release numbering.
Comment 4 Chuck Bridgham CLA 2005-07-26 14:11:13 EDT
Closing already verified defects