Skip to content
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

While running the example I'm getting class not found exception error #26

Open
anushkbyakodi opened this issue Aug 12, 2021 · 0 comments

Comments

@anushkbyakodi
Copy link

anushkbyakodi commented Aug 12, 2021

Command run:
java -cp cloudsimsdn-1.0-with-dependencies.jar org.cloudbus.cloudsim.sdn.example.SDNExample MFF ../dataset-energy/energy-physical.json ../dataset-energy/energy-virtual.json ../dataset-energy/energy-workload.csv > results.out

Error: Could not find or load main class org.cloudbus.cloudsim.sdn.example.SDNExample
Caused by: java.lang.ClassNotFoundException: org.cloudbus.cloudsim.sdn.example.SDNExample

I implemented method 1 in installing and changed pom.xml as well. I've run mvn clean install and the build was successful
mvn clean install output:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.922 s
[INFO] Finished at: 2021-08-12T12:39:05+05:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant