Skip to content

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

@anushkbyakodi

Description

@anushkbyakodi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions