Aenigma / ActionMockup

Other
1 stars 0 forks source link

Runtime error, cannot build #25

Closed jackal390iv closed 10 years ago

jackal390iv commented 10 years ago

Building ActionTaxiMockup 1.0-SNAPSHOT

--- exec-maven-plugin:1.2.1:exec (default-cli) @ ActionTaxiMockup --- Error: Main method not found in class com.allcoware.actiontaximockup.main.Main, please define the main method as: public static void main(String[] args)

or a JavaFX application class must extend javafx.application.Application

BUILD FAILURE

Total time: 1.985s Finished at: Thu Aug 28 14:48:04 EDT 2014

Final Memory: 6M/95M

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project ActionTaxiMockup: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

jackal390iv commented 10 years ago

this just doesn't make sense to me... the new main class I create, Launcher, is unconnected to the other classes... I downloaded all of the dependencies, javadoc, and sources... why won't it build?

Aenigma commented 10 years ago

I believe you removed the main method in com.allcoware.actiontaximockup.main.Main but the project is still configured to use it as the class to run. You should either call another class from the main method in com.allcoware.actiontaximockup.main.Main or reconfigure the project. The former would be easier. If you want to do the latter, you must: