Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » web.xml wrong editing with
web.xml wrong editing with [message #119402] Mon, 11 July 2005 17:17 Go to next message
Andy is currently offline AndyFriend
Messages: 21
Registered: July 2009
Junior Member
Hi, I use Tomcat 5.5 eclipse 3.1 wtp m5
Got an error:
cvc-complex-type.2.4.a: Invalid content was found starting with element
'display-name'. One of
'{"http://java.sun.com/xml/ns/j2ee":servlet-class,
"http://java.sun.com/xml/ns/j2ee":jsp-file}' is expected.

when I use anannotated java classes
Re: web.xml wrong editing with [message #119592 is a reply to message #119402] Mon, 11 July 2005 22:56 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Which version of XDoclet are you using? If not 1.2.3, give that one a
try. I believe I saw something like this in an earlier version that was
fixed in 1.2.3, but I'm not certain it was the same error.

Cheers,
Larry


Andy wrote:
> Hi, I use Tomcat 5.5 eclipse 3.1 wtp m5
> Got an error:
> cvc-complex-type.2.4.a: Invalid content was found starting with element
> 'display-name'. One of
> '{"http://java.sun.com/xml/ns/j2ee":servlet-class,
> "http://java.sun.com/xml/ns/j2ee":jsp-file}' is expected.
>
> when I use anannotated java classes
Re: web.xml wrong editing with [message #119812 is a reply to message #119592] Tue, 12 July 2005 10:40 Go to previous messageGo to next message
Andy is currently offline AndyFriend
Messages: 21
Registered: July 2009
Junior Member
Larry Isaacs wrote:
> Which version of XDoclet are you using? If not 1.2.3, give that one a
> try. I believe I saw something like this in an earlier version that was
> fixed in 1.2.3, but I'm not certain it was the same error.
>
> Cheers,
> Larry
>
>
> Andy wrote:
>
>> Hi, I use Tomcat 5.5 eclipse 3.1 wtp m5
>> Got an error:
>> cvc-complex-type.2.4.a: Invalid content was found starting with
>> element 'display-name'. One of
>> '{"http://java.sun.com/xml/ns/j2ee":servlet-class,
>> "http://java.sun.com/xml/ns/j2ee":jsp-file}' is expected.
>>
>> when I use anannotated java classes
I use XDoclet 1.2.3
Re: web.xml wrong editing with [message #119955 is a reply to message #119812] Tue, 12 July 2005 15:33 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Ok, it must be a different problem. Assuming you haven't already
figured out the problem, can you post the web.xml, or the portion that's
causing the problem.

Cheers,
Larry

Andy wrote:
> Larry Isaacs wrote:
>
>> Which version of XDoclet are you using? If not 1.2.3, give that one a
>> try. I believe I saw something like this in an earlier version that
>> was fixed in 1.2.3, but I'm not certain it was the same error.
>>
>> Cheers,
>> Larry
>>
>>
>> Andy wrote:
>>
>>> Hi, I use Tomcat 5.5 eclipse 3.1 wtp m5
>>> Got an error:
>>> cvc-complex-type.2.4.a: Invalid content was found starting with
>>> element 'display-name'. One of
>>> '{"http://java.sun.com/xml/ns/j2ee":servlet-class,
>>> "http://java.sun.com/xml/ns/j2ee":jsp-file}' is expected.
>>>
>>> when I use anannotated java classes
>
> I use XDoclet 1.2.3
Previous Topic:Custom DTD in JSP editor?
Next Topic:XML schema saving is slow
Goto Forum:
  


Current Time: Sat Jul 13 00:24:56 GMT 2024

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

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

Back to the top