Giter VIP home page Giter VIP logo

Comments (7)

nourghoniem avatar nourghoniem commented on July 30, 2024

Hello @g-shilpi, I've encountered the same issue. Were you able to solve it?

from iotsim-edge.

TomDev7 avatar TomDev7 commented on July 30, 2024

What IDE are you using? I had similar issues, in overall it seems to be caused by cloudsim package absent - as mentioned in the docs/guide you need to import it manually (lib/cloudsim.jar in the repo). I tried with Eclipse, but with no positive effect. I ended up trying IntelliJ IDEA - open project, select the IoTSimEdge folder, then file->project structure->libraries and add that lib/cloudsim.jar. IDEA resolves all dependencies successfully - build successful (and Eclipse failed here, or I did misuse it) and you are ready to go.

from iotsim-edge.

DNJha avatar DNJha commented on July 30, 2024

Hi @g-shilpi and @nourghoniem, sorry for the late reply.

The error is because of the CloudSim dependency. CloudSIm jar file is provided with the project (see EdgeIoTSim\lib folder). After downloading the project, you have to add this library to the working library. Even after adding this, it may give build failure. Try to run Example 1 and share both Build failure and execution error message with me.

from iotsim-edge.

nourghoniem avatar nourghoniem commented on July 30, 2024

problem solved. Thank you, sir.

from iotsim-edge.

nourghoniem avatar nourghoniem commented on July 30, 2024

@DNJha Sir, I get build errors and the examples don't run successfully because of the errors in the packages.
https://drive.google.com/drive/folders/1c6egobduA440hEojYmdybxJQtWY5j0XX?usp=sharing

from iotsim-edge.

TomDev7 avatar TomDev7 commented on July 30, 2024

@nourghoniem as I mentioned, try another IDE, try IDEA. I had various problems as well in Eclipse. After initial research as to their origin I stopped trying to solve them and gave a shot to IntelliJ as for previous experiences with it handles dependencies nicely. As far as licensing issues are not your concern (eg. IDEA community vs pro version), I would suggest at least to try it out.
Cheers.

from iotsim-edge.

nourghoniem avatar nourghoniem commented on July 30, 2024

@TomDev7 I installed IDEA and it worked! Thank you

from iotsim-edge.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.