Building ejbs or servlets - Schema location mapping [message #121219] |
Fri, 15 July 2005 17:29 |
Eclipse User |
|
|
|
Originally posted by: peter.thevillage.ie
This is probably the dumbest question, but building and ejb in Eclipse 3.1
with WST installed, and using XDoclet 1.2.3, JBoss 3.2.3, in ejb-jar.xml
I get :
cvc-elt.1: Cannot find the declaration of element
|
|
|
Re: Building ejbs or servlets - Schema location mapping [message #121322 is a reply to message #121219] |
Fri, 15 July 2005 20:40 |
C. Schmidt Messages: 6 Registered: July 2009 |
Junior Member |
|
|
Hello Peter,
uncheck the Option "Window>Preferences>Internet>Cache>Disable caching"
and rebuild your Projects online.
Christof
Peter Harris schrieb:
> This is probably the dumbest question, but building and ejb in Eclipse 3.1
> with WST installed, and using XDoclet 1.2.3, JBoss 3.2.3, in ejb-jar.xml
> I get :
> cvc-elt.1: Cannot find the declaration of element 'ejb-jar'.
>
> Failed to read schema document
> 'http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd', because 1) could not
> find the document; 2) the document could not be read; 3) the root element
> of the document is not <xsd:schema>.
>
> I am not permanently connected to the internet, so it's not surprising it
> can't find this or any of the xmlns, xmlns:xsi or xsi:schemalocation URLs
> it is looking for.
>
> What should I replace these with, or is there a way to alias these
> addresses onto my local file system
>
> Thanks and apologies
> Peter
|
|
|
Re: Building ejbs or servlets - Schema location mapping [message #121382 is a reply to message #121322] |
Sat, 16 July 2005 07:18 |
Eclipse User |
|
|
|
Originally posted by: peter.thevillage.ie
Many thanks Christof,
Does this mean I can only do builds on line?? I am at the end of dial-up
line, and that would severely limit Eclipse's usefullness.
Peter
Christof Schmidt [AC] wrote:
> Hello Peter,
>
> uncheck the Option "Window>Preferences>Internet>Cache>Disable caching"
> and rebuild your Projects online.
>
> Christof
>
>
>
> Peter Harris schrieb:
>> This is probably the dumbest question, but building and ejb in Eclipse
>> 3.1
>> with WST installed, and using XDoclet 1.2.3, JBoss 3.2.3, in ejb-jar.xml
>> I get :
>> cvc-elt.1: Cannot find the declaration of element 'ejb-jar'.
>>
>> Failed to read schema document
>> 'http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd', because 1) could not
>> find the document; 2) the document could not be read; 3) the root element
>> of the document is not <xsd:schema>.
>>
>> I am not permanently connected to the internet, so it's not surprising it
>> can't find this or any of the xmlns, xmlns:xsi or xsi:schemalocation URLs
>> it is looking for.
>>
>> What should I replace these with, or is there a way to alias these
>> addresses onto my local file system
>>
>> Thanks and apologies
>> Peter
--
I don't suffer from insanity
I enjoy every minute of it.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05177 seconds