NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans shows me errors badges in editor view while project build fine with maven

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
yehohanan82



Joined: 02 Dec 2010
Posts: 8

PostPosted: Fri Dec 10, 2010 1:37 pm    Post subject: Netbeans shows me errors badges in editor view while project build fine with maven Reply with quote

Hi everyone,

I can build my project (a maven web application) with netbeans by clicking the tool icon and also by executing "mvn clean install" in a terminal.

My problem is that netbeans still shows me some errors in the editor view. in fact, it doesn't found some classes which are in others bundles correctly referenced in the pom.xml file.

I thought maybe that netbeans was internally using the maven 3 API to do whatever it does but when removing the var env M2_HOME so as to use the maven 3 embedded version, i can build my bundle too.

I have not any exotic bundle and just the necessary.

So I don't understand what it is that disturb netbeans ? Why can't he finds my classes when every others tools can ?

Thanks for any hint. I'm on it since 3 days. I read a lot and I still don't find what's going on here. I'm about to switch back to eclipse but I would rather not.

Thanks for any help.

JD

PS : is it possible that there is a link to this bug report : http://netbeans.org/bugzilla/show_bug.cgi?id=129645

I say that because the two projects which are causing me these troubles are cxf generated bundles (from a wsdl).
Back to top
Milos Kleint
Posted via mailing list.





PostPosted: Fri Dec 10, 2010 1:56 pm    Post subject: Netbeans shows me errors badges in editor view while project build fine with maven Reply with quote

if you are using maven 3.0, make sure you are using netbeans 7.0 beta.

Milos

On Fri, Dec 10, 2010 at 2:37 PM, yehohanan82 <address-removed> wrote:
Quote:
Hi everyone,

I can build my project (a maven web application) with netbeans by clicking the tool icon and also by executing "mvn clean install" in a terminal.

My problem is that netbeans still shows me some errors in the editor view. in fact, it doesn't found some classes which are in others bundles correctly referenced in the pom.xml file.

I thought maybe that netbeans was internally using the maven 3 API to do whatever it does but when removing the var env M2_HOME so as to use the maven 3 embedded version, i can build my bundle too.

I have not any exotic bundle and just the necessary.

So I don't understand what it is that disturb netbeans ? Why can't he finds my classes when every others tools can ?

Thanks for any hint. I'm on it since 3 days. I read a lot and I still don't find what's going on here. I'm about to switch back to eclipse but I would rather not.

Thanks for any help.

JD

PS : is it possible that there is a link to this bug report : http://netbeans.org/bugzilla/show_bug.cgi?id=129645

I say that because the two projects which are causing me these troubles are cxf generated bundles (from a wsdl).




Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo