Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
36 | minor | always | 03-15-05 00:00 | 05-11-05 00:00 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.13 | ||
|
|||||
Summary: | 0000036: CLONE -Hello World Tutorial Error with Deploytool of J2EE | ||||
Description: |
RSN-27 Using the example web.xml file as shown on the website the following error occurs at deploy of the war file: ----- distribute: C:\servletTest\servletTest.war deployment started : 0% Deploying application in domain failed; Error loading deployment descriptors for servletTest Line 11 Column 18 -- cvc-complex-type.2.4.a: Invalid content was found starting with element 'url-pattern'. One of '{"http://java.sun.com/xml/ns/j2ee":servlet-name}' [^] is expected. ; requested operation cannot be completed !!! Operation Failed !!! !!! With The Following Failure Messages !!! Deploying application in domain failed; Error loading deployment descriptors for servletTest Line 11 Column 18 -- cvc-complex-type.2.4.a: Invalid content was found starting with element 'url-pattern'. One of '{"http://java.sun.com/xml/ns/j2ee":servlet-name}' [^] is expected. ; requested operation cannot be completed Error loading deployment descriptors for servletTest Line 11 Column 18 -- cvc-complex-type.2.4.a: Invalid content was found starting with element 'url-pattern'. One of '{"http://java.sun.com/xml/ns/j2ee":servlet-name}' [^] is expected. ********************************************************************** [Completed (time=2.1sec, status=13)] ********************************************************************** ----- That means the line <servlet-mapping> <url-pattern>/hello</url-pattern> <servlet-name>hello</servlet-name> </servlet-mapping> must be vise versa as follows: <servlet-mapping> <servlet-name>hello</servlet-name> <url-pattern>/hello</url-pattern> </servlet-mapping> Please correct the tutorial so that unskilled users do not have to worry about that error |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |