-
Notifications
You must be signed in to change notification settings - Fork 79
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
Errors when testing DCNS #10
Comments
Hi, |
Hi, Thanks for mentioning the libraries. I just double checked my external libraries and I realized that I forget to unzip the common_math.jar. However, after unzip the jars and have the same library setting as tutorial https://www.youtube.com/watch?v=uqg7TcOQS5Q, I get a new error showing as: What is the commons-math3-3.5-javadoc.jar? it is not in the tutorial but in a folder. |
I also noticed that some test cases work, but some do not. In the test.perfeval folder, if I run DCNSFog.java or TranslationService then the previous errors show up; if i run microserviceAppSample2.java, TwoApps.java or VRGameFog.java then they work as expected. |
Hi, |
thanks for quick response. I just double check my files and I am sure the class path refer to the file in the mentioned folder. |
Hi, To assist further with this, would it be possible to post screenshots of your class path libraries either from run configurations or the project structure ? |
That is the extra jre in the folder and once remove it, the error message is gone. However, the DCNS file is still not working. I tested all other samples in the test.perfeval folder, all other files either work or missing input files(reasonable), but DCNS give me the error message: Error: Could not find or load main class org.fog.test.perfeval.DCNSFog This should not happen as the main function starts in line 52 |
Doing a clean build might help solve it. |
I just clean build, did not work; I also remove all files and re-downloaded them from Github again, with proper JRE configurations. The error is still there. |
Sorry to hear that. Please try following all the instructions in the Readme. The software has been tested and should work properly. (https://github.com/Cloudslab/iFogSim/blob/main/README.md) |
Thanks for the assistance. I did follow the readme instructions, and the ifogsim seems working well just other than the DCSNs file. I guess I may ignore some details in the configuration. I will keep trying. Thank you! |
follow steps here - it worked for me |
Hi,
I am trying to make the ifogsim and ifogsim2 running. They both have the same error messages as:
Starting DCNS...
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The constructor AppModule(int, String, String, int, double, int, long, long, String, CloudletScheduler, Map<Pair<String,String>,SelectivityModel>) refers to the missing type Pair
Pair cannot be resolved to a type
I am using JDK13.0.2.
The text was updated successfully, but these errors were encountered: