Giter Site home page Giter Site logo

Use of maven dependencies about exampleagent HOT 8 CLOSED

tdgunes avatar tdgunes commented on July 24, 2024 1
Use of maven dependencies

from exampleagent.

Comments (8)

nb8g13 avatar nb8g13 commented on July 24, 2024 1

When I try to add the class for my Agent to GENIUS, it immediately throws an error because the classes I use from my Maven dependencies can't be found. How can I add my agent to GENIUS so that I can test it?

from exampleagent.

tdgunes avatar tdgunes commented on July 24, 2024 1

Hi there,

I've just created a new branch called maven in this repository. By checking that branch out (have a look at the README.md), you should be able to create a jar package with all dependencies inside without any problems.

from exampleagent.

tdgunes avatar tdgunes commented on July 24, 2024 1

@nb8g13 I've just sent a new commit, now it adds source files of your agent too.

In any case, you should submit your agent beforehand to see if it is packaged correctly.

from exampleagent.

nb8g13 avatar nb8g13 commented on July 24, 2024 1

Thank you Taha.

Just a note for anyone using Windows and Maven. You will need to replace the ":" for ";" in order to test your code.

from exampleagent.

Chreschtf avatar Chreschtf commented on July 24, 2024 1

Ok nevermind, we got rid of the dependency :)

from exampleagent.

tdgunes avatar tdgunes commented on July 24, 2024

Yes, however make sure that the dependencies are included inside your agent's jar package.

from exampleagent.

Chreschtf avatar Chreschtf commented on July 24, 2024

Hello Taha,
we settled for a non-maven dependency, is there any change for the creation of the jar ? we can run it on our pc (only using eclipse, not intellij) but when submitting it we still get an NoClassDefFoundError...

from exampleagent.

tdgunes avatar tdgunes commented on July 24, 2024

@nb8g13 Do you mean this statement?

java -cp negosimulator.jar;agent1.jar negotiator.xml.multipartyrunner.Runner multilateraltournament.xml

If so, it would be better for me to write this in the README.md.

from exampleagent.

Related Issues (20)

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.