-
Notifications
You must be signed in to change notification settings - Fork 96
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 |
Why is this error so prominent, someone should give a comprehensive guide on how to install iFogSim properly all the responses and youtube videos are not addressing this particular error. Thank you |
I installed the following:
|
Hi,
I'm a student working on a project related to edge computing, and I
recently came across your iFogSim tutorials on YouTube. I was really
impressed by your expertise and wanted to reach out to see if you'd be open
to a meeting to help me with some challenges I'm facing with Veins,
OMNET++, and SUMO.
My project is focused on simulating traffic scenarios to demonstrate the
benefits of deploying Fog devices for traffic management, specifically by
reducing network latency to improve outcomes. I'm using the SUMO simulator
to model these scenarios and compare different network latencies, as
iFogSim doesn't support this directly. Before I can use iFogSim, I need to
gather specific computational and network requirements, which I'm planning
to do by implementing a traffic management application with SUMO and
OMNET++, and then profiling the data for use in iFogSim simulations.
Right now, I'm mainly focusing on edge computing, but if time permits, I
hope to use the profiling data from Veins, SUMO, and OMNET++ for iFogSim
simulations later. However, I'm running into some errors with Veins and
could really use your guidance. It would be great if we could set up a
virtual meeting to discuss these issues in more detail. I'm not sure if you
can help with Veins or the other software I'm working with, but any
assistance would be greatly appreciated.
Thanks so much for your time, and I look forward to hearing from you!
Best regards,
Mehuli
…On Sun, 25 Aug 2024 at 09:36, mkabeer24 ***@***.***> wrote:
Why is this error so prominent, someone should give a comprehensive guide
on how to install iFogSim properly all the responses and youtube videos are
not addressing this particular error. Thank you
I installed the following:
1. JDK 22
2. Eclipse 2024-06
What could be the issue? Thanks
ifogsim.error.jpg (view on web)
<https://github.com/user-attachments/assets/6b6ebf9c-f672-4861-a64f-07a5baa3d198>
jre.library.ifogsim.jpg (view on web)
<https://github.com/user-attachments/assets/34a2e777-9de6-4a14-8c53-d7ab99c05d6c>
—
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASUDNW63VLRKM733KCZWTYTZTGJSNAVCNFSM5VAKAWF2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMZQHA3TGNBSGI2A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I fixed it too, remove everything, register eclipse PATH, then everything worked. |
ohh another method .. Thank you Hermano |
worked! |
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: