Skip to content

faq 184221791

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

Error in MatsimTestUtils

by Johan W. Joubert on 2018-02-23 10:56:39


I am writing tests in the matsim-example-project and include the following:

@Rule public MatsimTestUtils utils = new MatsimTestUtils();

But when I run the tests I get the following initializationError:

Any clues as to how to solve it will be welcome.

(This question was originally posted here, but it seems we have two Questions spaces)


Comments: 1


Re: Error in MatsimTestUtils

by Amit Agarwal on 2018-02-23 11:15:57

Probably, {{matsim-test}} dependency is not added to pom ?

<dependency>  
 <groupId>org.matsim</groupId>   
 <artifactId>matsim</artifactId>   
 <type>test-jar</type>      
 <version>0.9.0</version>
 <scope>test</scope>
 </dependency>
Clone this wiki locally