Building ejbs or servlets - Schema location mapping [message #121219] |
Fri, 15 July 2005 13: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 16:40   |
Eclipse User |
|
|
|
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 03: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.
|
|
|
|
Re: Building ejbs or servlets - Schema location mapping [message #121451 is a reply to message #121382] |
Sun, 17 July 2005 02:23  |
Eclipse User |
|
|
|
Hi Peter,
No. The idea with the cache is that you do one build while connected to
the internet and then can work disconnected after that. The cache allows
you to quickly add resources to your workspace that the WTP does not have
the rights to redistribute.
Lawrence
>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
|
|
|
Powered by
FUDForum. Page generated in 0.04298 seconds