NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
yehohanan82
Joined: 02 Dec 2010 Posts: 8
|
Posted: Fri Dec 10, 2010 1:37 pm Post subject: Netbeans shows me errors badges in editor view while project build fine with maven |
|
|
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.
|
Posted: Fri Dec 10, 2010 1:56 pm Post subject: Netbeans shows me errors badges in editor view while project build fine with maven |
|
|
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 |
|
 |
|
|
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
|
|