-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClassNotFoundException #51
Comments
I think this might be your class-path entry in MANIFEST.MF, can you try specifying main class file com.yahoo.egads.Egads in pom.xml and build again |
i modified the code in pom.xml , build is succeeded but the command after running shows same exeption |
To access this project you can run:
but when i type this command other exception occurred:
Maybe there are some setting need to be modified |
i installed the latest version of java JDK and maven on win10, then i successfully compiled using command mvn clean compile assembly:single, but when i type this
java -Dlog4j.configurationFile=src/test/resources/log4j2.xml -cp target/egads-*-jar-with-dependencies.jar com.yahoo.egads.Egads src/test/resources/sample_config.ini src/test/resources/sample_input.csv
an error occurs:
Error: Could not find or load main class com.yahoo.egads.Egads
Caused by: java.lang.ClassNotFoundException: com.yahoo.egads.Egads
The text was updated successfully, but these errors were encountered: