Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via robocode by vengmo
, 1 year ago
exercise.Contract cannot be cast to exercise.Contr act
java.lang.ClassCastException: exercise.Contract cannot be cast to exercise.Contract at exercise.Soldier.setup(Soldier.java:26) at jade.core.Agent$ActiveLifeCycle.init(Agent.java:1452) at jade.core.Agent.run(Agent.java:1398) at java.lang.Thread.run(Unknown Source)