Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » eclipse red error circles in profiles.xml
eclipse red error circles in profiles.xml [message #17058] Fri, 03 October 2008 20:25 Go to next message
Eclipse UserFriend
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 20:39 Go to previous messageGo to next message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
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 21:43 Go to previous message
Eclipse UserFriend
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: Tue Mar 19 03:49:15 GMT 2024

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

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

Back to the top