openrtb / openrtb2x

Up to date reference impl of the latest spec (2.0) of OpenRTB
BSD 3-Clause "New" or "Revised" License
266 stars 145 forks source link

cannot execute mvn clean install #48

Open anquegi opened 10 years ago

anquegi commented 10 years ago

I cloned the project and type mvn -X clean install, and when i runned it I get this failure:

Running org.openrtb.dsp.client.FiniteStateMachineTest Exception in thread "Timer-8" java.lang.ClassCastException: org.openrtb.dsp.client.StatefulBidder$TSMController$1 cannot be cast to org.openrtb.dsp.client.StatefulBidder$TSMController at org.openrtb.dsp.client.StatefulBidder$TSMStates$7.exec(StatefulBidder.java:358) at org.openrtb.common.util.statemachines.FiniteStateMachine.followTransition(FiniteStateMachine.java:102) at org.openrtb.dsp.client.StatefulBidder$TSMController$1.run(StatefulBidder.java:240) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.396 sec

Results :

Failed tests: fileNotFoundLoadData(org.openrtb.dsp.client.JsonFileBackedDAOTest): The message should match

Tests run: 24, Failures: 1, Errors: 0, Skipped: 0

I'm using Apache Maven 3.0.5 (rNON-CANONICAL_2013-03-12_12-47_mockbuild; 2013-03-12 13:47:10+0100) Maven home: /usr/share/maven Java version: 1.8.0, vendor: Oracle Corporation Java home: /usr/java/jdk1.8.0/jre Default locale: ca_ES, platform encoding: UTF-8 OS name: "linux", version: "3.13.7-100.fc19.x86_64", arch: "amd64", family: "unix"

mayankit commented 9 years ago

I am also facing the same problem.Any help will be highly appreciated.

tariel-x commented 9 years ago

There is a test fileNotFoundLoadData in /openrtb2x/demand-side/dsp-client/src/test/java/org/openrtb/dsp/client/ which is looking dummyfile.json I simply deleted this test method for the first time compilation

dieuit07 commented 7 years ago

+1

chompi commented 7 years ago

Sorry you are having trouble building the project. I will take a look and get back before the end of the week. Sorry it took me longer than expected to reply.