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