Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Maven Integration (M2E) » eclipse red error circles in profiles.xml
eclipse red error circles in profiles.xml [message #17058] Fri, 03 October 2008 16:25 Go to next message
Eclipse User
Originally posted by: rusty.berkeley.edu

My profiles.xml file starts as follows:

<profiles
xmlns="http://maven.apache.org/profiles/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/profiles/1.0.0
http://maven.apache.org/xsd/profiles-1.0.0.xsd">

In the left margin there are red error circles on lines 1 and 6; when I click on line 1's error circle it says

Referenced file contains errors (jar:file:C:/Program Files/eclipse-3.4.0/plugins/org.maven.ide.components.maven_m odel_edit_1.0.0.20080905-0917.jar!/xsd/profiles-v1_0_0.xsd). For more information, right click on the message and select "Show Details..."

(Right clicking on the message doesn't do anything or bring up anything with Show Details.)

When I click on line 6's error circle it says

cvc-elt.1: Cannot find the declaration of element 'profiles'.

When I paste the xsd url in my browser's address box it looks to me like the xsd has an element named profiles. Likewise with the xsd file in the 'referenced file'.

(This is an eclipse problem perhaps.)
Re: eclipse red error circles in profiles.xml [message #17120 is a reply to message #17058] Fri, 03 October 2008 16:39 Go to previous messageGo to next message
Eugene Kuleshov is currently offline Eugene Kuleshov
Messages: 505
Registered: July 2009
Senior Member
Rusty,

Can you please create jira issue for this. We will look at that.

Thanks

Eugene


Rusty Wright wrote:
> My profiles.xml file starts as follows:
>
> <profiles
> xmlns="http://maven.apache.org/profiles/1.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://maven.apache.org/profiles/1.0.0
> http://maven.apache.org/xsd/profiles-1.0.0.xsd">
>
> In the left margin there are red error circles on lines 1 and 6; when
> I click on line 1's error circle it says
>
> Referenced file contains errors (jar:file:C:/Program
> Files/eclipse-3.4.0/plugins/org.maven.ide.components.maven_m odel_edit_1.0.0.20080905-0917.jar!/xsd/profiles-v1_0_0.xsd).
> For more information, right click on the message and select "Show
> Details..."
>
> (Right clicking on the message doesn't do anything or bring up
> anything with Show Details.)
>
> When I click on line 6's error circle it says
>
> cvc-elt.1: Cannot find the declaration of element 'profiles'.
>
> When I paste the xsd url in my browser's address box it looks to me
> like the xsd has an element named profiles. Likewise with the xsd
> file in the 'referenced file'.
>
> (This is an eclipse problem perhaps.)
Re: eclipse red error circles in profiles.xml [message #17178 is a reply to message #17120] Fri, 03 October 2008 17:43 Go to previous message
Eclipse User
Originally posted by: rusty.berkeley.edu

Done.


Eugene Kuleshov wrote:
> Rusty,
>
> Can you please create jira issue for this. We will look at that.
>
> Thanks
>
> Eugene
>
>
> Rusty Wright wrote:
>> My profiles.xml file starts as follows:
>>
>> <profiles
>> xmlns="http://maven.apache.org/profiles/1.0.0"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="
>> http://maven.apache.org/profiles/1.0.0
>> http://maven.apache.org/xsd/profiles-1.0.0.xsd">
>>
>> In the left margin there are red error circles on lines 1 and 6; when
>> I click on line 1's error circle it says
>>
>> Referenced file contains errors (jar:file:C:/Program
>> Files/eclipse-3.4.0/plugins/org.maven.ide.components.maven_m odel_edit_1.0.0.20080905-0917.jar!/xsd/profiles-v1_0_0.xsd).
>> For more information, right click on the message and select "Show
>> Details..."
>>
>> (Right clicking on the message doesn't do anything or bring up
>> anything with Show Details.)
>>
>> When I click on line 6's error circle it says
>>
>> cvc-elt.1: Cannot find the declaration of element 'profiles'.
>>
>> When I paste the xsd url in my browser's address box it looks to me
>> like the xsd has an element named profiles. Likewise with the xsd
>> file in the 'referenced file'.
>>
>> (This is an eclipse problem perhaps.)
Previous Topic:running tomcat under elipse when using m2eclipse
Next Topic:stable dev build 0.9.6.20080811-2209 is published
Goto Forum:
  


Current Time: Thu Apr 17 03:56:28 EDT 2014

Powered by FUDForum. Page generated in 0.01579 seconds