Giter Site home page Giter Site logo

Comments (4)

kainagel avatar kainagel commented on July 17, 2024

from matsim-code-examples.

JWJoubert avatar JWJoubert commented on July 17, 2024

Thanks Kai, but I still cannot get the test to pass. Sorry to bat the ball back into your court, but the injection stuff is a bit beyond me.

com.google.inject.CreationException: Unable to create injector, see the following errors:

1) An exception was caught and reported. Message: Strategies in the org.matsim package must not be loaded by name!
  at org.matsim.core.controler.ControlerDefaultsModule.install(ControlerDefaultsModule.java:48) (via modules: org.matsim.core.controler.Controler$2 -> org.matsim.core.controler.ControlerDefaultsModule -> org.matsim.core.replanning.StrategyManagerModule)

1 error
	at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)
	at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
	at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:232)
	at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:236)
	at org.matsim.core.controler.Injector.createInjector(Injector.java:74)
	at org.matsim.core.controler.Controler.run(Controler.java:223)
	at ...

from matsim-code-examples.

JWJoubert avatar JWJoubert commented on July 17, 2024

@kai I see you made other changes to matsim core. Let me first pull them too... maybe that will resolve the test failing.

from matsim-code-examples.

JWJoubert avatar JWJoubert commented on July 17, 2024

Yep, sorry about that. Update matsim and matsim-code-examples. All config tests at least now passing. Will go through the others too to make sure they too pass.

from matsim-code-examples.

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.