You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kees de Kooter (JIRA)" <ji...@codehaus.org> on 2006/01/23 09:36:06 UTC

[jira] Created: (MNGECLIPSE-56) Exception running M2 build

Exception running M2 build
--------------------------

         Key: MNGECLIPSE-56
         URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
     Project: Maven 2.x Extension for Eclipse
        Type: Bug

  Components: Maven Launcher  
    Versions: 0.0.4, 0.0.3    
 Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
    Reporter: Kees de Kooter
 Assigned to: Eugene Kuleshov 
    Priority: Blocker


When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 

The console shows the following:

java.lang.NoClassDefFoundError: and
Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNGECLIPSE-56) Exception running M2 build

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=all ]
     
Eugene Kuleshov closed MNGECLIPSE-56:
-------------------------------------

     Resolution: Fixed
    Fix Version: 0.0.5

Launcher will now wrap repository localtion into quotes.
Note, that generally you don't have to specify this location in plugin settings, unless you are using non default one.

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Eugene Kuleshov
>     Priority: Blocker
>      Fix For: 0.0.5
>  Attachments: bt-orderbuilder-workbench generate.launch, eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "tom perry (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_57036 ] 

tom perry commented on MNGECLIPSE-56:
-------------------------------------

for what it's worth, I have seen the same error "java.lang.NoClassDefFoundError: and"

initially in Window -> Preferences -> Maven2  I had set the local repository to the standard
local repo  c:/Documents and Settings/tperry/.m2/repository

When I first saw the error, I thought it was related to the embedded spaces in Documents and Settings
with the "and" somehow interpreted as a class or method?

I tried to enclose the path with double quotes, but could not save that, so I chose a path that did not
include spaces.

Since then I upgraded to the maven-eclipse-plugin 0.0.4, reselected Documents and Settings... as my
local repository, and the error has not occurred again.



> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: bt-orderbuilder-workbench generate.launch, eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Dmitri Maximovich (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56856 ] 

Dmitri Maximovich commented on MNGECLIPSE-56:
---------------------------------------------

I cannot reproduce the issue:

-Fresh installation of Eclipse 3.1.1 on Windows, no extra plugins. JDK 1.5.0_05 and _06. 
-Installed m2 plugin via update manager
-restart
-created project, enabled m2 on it
-run 'package' goal

no problems

Please provide detailed steps to reproduce problem. Did it happen after update from 0.0.3 or on fresh install? 
Kees, in your report you indicated that jre 1.5 is used but in a log attached there is 1.4. But I have also tried to run goals under 1.4 and still cannot reproduce it.

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Kees de Kooter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56735 ] 

Kees de Kooter commented on MNGECLIPSE-56:
------------------------------------------

Yes it is on windows and it persists after restarts of Eclipse. Logifle attached.

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Eugene Kuleshov
>     Priority: Blocker
>  Attachments: eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Kees de Kooter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56881 ] 

Kees de Kooter commented on MNGECLIPSE-56:
------------------------------------------

Dimitri, Eugene,

- The problem happends on both jre 1.4 and jre 1.5
- The windows firewall is disabled, we have no trouble running the java debugger
- We already had the poblem with version 0.0.3, we upgraded to 0.0.4
- Turning "Debug output" gives the same result in the eclipse log, the console only says "Launching M2"

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56858 ] 

Eugene Kuleshov commented on MNGECLIPSE-56:
-------------------------------------------

By the way, Kess, is there are any local firewall running on you windows machine? 
I've had some issues with Java debugger when running F-Secure antivirus/firewall...

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Dmitri Maximovich (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56915 ] 

Dmitri Maximovich commented on MNGECLIPSE-56:
---------------------------------------------

Kees,

Please attach your project (or any minimal project) on which probelm is reproduceable and specify what target you're executing.

To confirm: you're starting eclipse using Sun's JRE (not JDK) 1.5.0_06 on Windows XP?


> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNGECLIPSE-56) Exception running M2 build

Posted by "Kees de Kooter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=all ]

Kees de Kooter updated MNGECLIPSE-56:
-------------------------------------

    Attachment: eclipse.log

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Eugene Kuleshov
>     Priority: Blocker
>  Attachments: eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Dmitri Maximovich (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56860 ] 

Dmitri Maximovich commented on MNGECLIPSE-56:
---------------------------------------------

Yes, I have tried to run Eclipse and/or builder unde jre 1.5.0_06 - don't see any troubles.
Indeed it can be issue with firewall, I recall getting Windows builtin firewall popup dialog once in a while when starting builder

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNGECLIPSE-56) Exception running M2 build

Posted by "Kees de Kooter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=all ]

Kees de Kooter updated MNGECLIPSE-56:
-------------------------------------

    Attachment: bt-orderbuilder-workbench generate.launch

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: bt-orderbuilder-workbench generate.launch, eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Kees de Kooter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56923 ] 

Kees de Kooter commented on MNGECLIPSE-56:
------------------------------------------

Yes Dimitri, running JRE.
Attached the launch file.

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: bt-orderbuilder-workbench generate.launch, eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Kees de Kooter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_57094 ] 

Kees de Kooter commented on MNGECLIPSE-56:
------------------------------------------

Another workaround: use the "DOS" name of the directory to get rid of the spaces: 

{{C:\DOCUME~1\...\.m2\repository}}


> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: bt-orderbuilder-workbench generate.launch, eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56862 ] 

Eugene Kuleshov commented on MNGECLIPSE-56:
-------------------------------------------

Can you tell windows firewall to do not allow connection to debug port?

It is also unclear if attached log is related to the same issue because it refer to SocketException and bug report is talking about NoClassDefFoundError. Maybe Kees should just enable debug output for Maven (Window -> Preferences... -> Maven2) and check if he will see where NoClassDefFoundError is coming from...

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56667 ] 

Eugene Kuleshov commented on MNGECLIPSE-56:
-------------------------------------------

Is it on Windows?

Can you please confirm that it happens all the time (may need to restart Eclipse few times) and then attach Eclipse log from <workbench path>/.metadata/.log to this report. 

Thanks.


> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Eugene Kuleshov
>     Priority: Blocker

>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_56857 ] 

Eugene Kuleshov commented on MNGECLIPSE-56:
-------------------------------------------

Dmitri, have you tried to run Eclipse using JRE? You can also try to point m2 launcher to JRE...

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNGECLIPSE-56) Exception running M2 build

Posted by "Kees de Kooter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGECLIPSE-56?page=comments#action_57048 ] 

Kees de Kooter commented on MNGECLIPSE-56:
------------------------------------------

I think you just solved the mystery Tom!

I emptied the local repository box and now it runs just fine!!
What does this setting do anyway?

> Exception running M2 build
> --------------------------
>
>          Key: MNGECLIPSE-56
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-56
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Maven Launcher
>     Versions: 0.0.4, 0.0.3
>  Environment: Eclipse 3.1.1 + WTP 1.0, JRE 1.5.0_06
>     Reporter: Kees de Kooter
>     Assignee: Dmitri Maximovich
>     Priority: Blocker
>  Attachments: bt-orderbuilder-workbench generate.launch, eclipse.log
>
>
> When I try to run an m2 build an error pops up: "Could not find the main class. Program will exit.". 
> The console shows the following:
> java.lang.NoClassDefFoundError: and
> Exception in thread "main" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org