[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to