aspose file tools
The moose likes XML and Related Technologies and the fly likes XML File error in Webservice tutorial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML File error in Webservice tutorial" Watch "XML File error in Webservice tutorial" New topic

XML File error in Webservice tutorial

Sven Kastens

Joined: Feb 07, 2014
Posts: 8
i'm still quite new to java and xml also. i am trying at the time to get a tutorial working that is located at:
However when i do as told in the tutorial to write the Web.xml i get an error message:
The value of attribute "xsi:schemaLocation" associated with an element type "web-app" must not contain the '<' character.
this ist the web.xml from the tutorial:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="" xmlns="" xmlns:web="" xsi:schemaLocation=" <a href="">"</a> id="WebApp_ID" version="2.5">
<servlet-name>Jersey REST Service</servlet-name>
<servlet-name>Jersey REST Service</servlet-name>

even though the error message seems to make clear what i have to do to fix it. i can't figure it out. can some please help a helpless xml greenhorn ?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
Welcome to JavaRanch. It seems that the software running makes active links of things that look like URLs - which sometimes makes sense, but not here. It should read:

... and you should disregard that this forum software here does the same thing :-)
I agree. Here's the link:
subject: XML File error in Webservice tutorial
It's not a secret anymore!