Problem with Mevenide 2 in NB6

View: New views
4 Messages — Rating Filter:   Alert me  

Problem with Mevenide 2 in NB6

by Robert (kebernet) Cooper :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Using the one from the NB plugin installer I am getting:

java.lang.IllegalStateException: The embedder is not started, you need to call start() on the embedder prior to calling this method
    at org.apache.maven.embedder.MavenEmbedder.checkStarted (MavenEmbedder.java:812)
    at org.apache.maven.embedder.MavenEmbedder.buildSettings(MavenEmbedder.java:785)
    at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:138)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)

Is there something I am missing here?

--
:Robert "kebernet" Cooper
::kebernet@...
Alice's cleartext
Charlie is the attacker
Bob signs and encrypts
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8

Re: Problem with Mevenide 2 in NB6

by Bugzilla from mkleint@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please check that you are using the 3.0.9 version of maven2 support.
It's a duplicate of an issue reported earlier I suppose. (I can't doublecheck netbeans.org issuezilla seems to be down)
The most frequent (only) cause of the problem I know of is wrong ~/.m2/settings.xml file. And only wrong in a certain way.
A workaround (aside from fixing your settings.xml file) is to build your project with external command line maven instance. That can be set in the Project properties.

Regards

Milos

On Dec 3, 2007 7:33 PM, Robert kebernet Cooper <kebernet@...> wrote:
Using the one from the NB plugin installer I am getting:

java.lang.IllegalStateException: The embedder is not started, you need to call start() on the embedder prior to calling this method
    at org.apache.maven.embedder.MavenEmbedder.checkStarted (MavenEmbedder.java:812)
    at org.apache.maven.embedder.MavenEmbedder.buildSettings(MavenEmbedder.java:785)
    at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:138)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)

Is there something I am missing here?

--
:Robert "kebernet" Cooper
::kebernet@...
Alice's cleartext
Charlie is the attacker
Bob signs and encrypts
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8


Re: Problem with Mevenide 2 in NB6

by Robert (kebernet) Cooper :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Umm.. Well my settings XML is as follows, but I am not sure what would be wrong with it...

Changing to external maven seems to have corrected it. Thanks.

<?xml version="1.0" encoding="UTF-8"?>
<!--
    User-specific configuration for maven. Includes things that should not
    be distributed with the pom.xml file, such as developer identity, along with
    local settings, like proxy information. The default location for the
    settings file is ~/.m2/settings.xml
--><settings>
    <localRepository>/Docume~1/rcooper/.m2/repository/</localRepository>
    <profiles>
     <profile>
       <id> gwt-1.4.60</id>
       <properties>
         <google.webtoolkit.home>c:\gwt-windows-1.4.60</google.webtoolkit.home>
         <google.webtoolkit.extrajvmargs>-Xmx384m</google.webtoolkit.extrajvmargs>
       </properties>
     </profile>
   </profiles>
   <activeProfiles>
     <activeProfile>gwt-1.4.60</activeProfile>
   </activeProfiles>
</settings>


On Dec 3, 2007 2:02 PM, Milos Kleint <mkleint@...> wrote:
Please check that you are using the 3.0.9 version of maven2 support.
It's a duplicate of an issue reported earlier I suppose. (I can't doublecheck netbeans.org issuezilla seems to be down)
The most frequent (only) cause of the problem I know of is wrong ~/.m2/settings.xml file. And only wrong in a certain way.
A workaround (aside from fixing your settings.xml file) is to build your project with external command line maven instance. That can be set in the Project properties.

Regards

Milos


On Dec 3, 2007 7:33 PM, Robert kebernet Cooper <kebernet@...> wrote:
Using the one from the NB plugin installer I am getting:

java.lang.IllegalStateException: The embedder is not started, you need to call start() on the embedder prior to calling this method
    at org.apache.maven.embedder.MavenEmbedder.checkStarted (MavenEmbedder.java:812)
    at org.apache.maven.embedder.MavenEmbedder.buildSettings(MavenEmbedder.java:785)
    at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:138)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)

Is there something I am missing here?

--
:Robert "kebernet" Cooper
::kebernet@...
Alice's cleartext
Charlie is the attacker
Bob signs and encrypts
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8




--
:Robert "kebernet" Cooper
::kebernet@...
Alice's cleartext
Charlie is the attacker
Bob signs and encrypts
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8

Re: Problem with Mevenide 2 in NB6

by Bugzilla from mkleint@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

the issue number is http://www.netbeans.org/issues/show_bug.cgi?id=96919
it would be nice if you could add your ~/.netbeans/6.0/var/log/messages.log to the issue. And eventually try moving the settings.xml file temporarily away and start up netbeans.

Milos

On Dec 3, 2007 8:07 PM, Robert kebernet Cooper <kebernet@...> wrote:
Umm.. Well my settings XML is as follows, but I am not sure what would be wrong with it...

Changing to external maven seems to have corrected it. Thanks.

<?xml version="1.0" encoding="UTF-8"?>
<!--
    User-specific configuration for maven. Includes things that should not
    be distributed with the pom.xml file, such as developer identity, along with
    local settings, like proxy information. The default location for the
    settings file is ~/.m2/settings.xml
--><settings>
    <localRepository>/Docume~1/rcooper/.m2/repository/</localRepository>
    <profiles>
     <profile>
       <id> gwt-1.4.60</id>
       <properties>
         <google.webtoolkit.home>c:\gwt-windows-1.4.60</google.webtoolkit.home>
         <google.webtoolkit.extrajvmargs>-Xmx384m</google.webtoolkit.extrajvmargs>
       </properties>
     </profile>
   </profiles>
   <activeProfiles>
     <activeProfile>gwt-1.4.60</activeProfile>
   </activeProfiles>
</settings>



On Dec 3, 2007 2:02 PM, Milos Kleint <mkleint@...> wrote:
Please check that you are using the 3.0.9 version of maven2 support.
It's a duplicate of an issue reported earlier I suppose. (I can't doublecheck netbeans.org issuezilla seems to be down)
The most frequent (only) cause of the problem I know of is wrong ~/.m2/settings.xml file. And only wrong in a certain way.
A workaround (aside from fixing your settings.xml file) is to build your project with external command line maven instance. That can be set in the Project properties.

Regards

Milos


On Dec 3, 2007 7:33 PM, Robert kebernet Cooper <kebernet@...> wrote:
Using the one from the NB plugin installer I am getting:

java.lang.IllegalStateException: The embedder is not started, you need to call start() on the embedder prior to calling this method
    at org.apache.maven.embedder.MavenEmbedder.checkStarted (MavenEmbedder.java:812)
    at org.apache.maven.embedder.MavenEmbedder.buildSettings(MavenEmbedder.java:785)
    at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:138)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)

Is there something I am missing here?

--
:Robert "kebernet" Cooper
::kebernet@...
Alice's cleartext
Charlie is the attacker
Bob signs and encrypts
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8




--
:Robert "kebernet" Cooper
::kebernet@...
Alice's cleartext
Charlie is the attacker
Bob signs and encrypts
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9E8759F8