NoSuchMethodErrors say the darndest things
Posted
by keynan21
on Stack Overflow
See other posts from Stack Overflow
or by keynan21
Published on 2010-06-09T20:56:04Z
Indexed on
2010/06/09
21:02 UTC
Read the original article
Hit count: 205
java
|nosuchmethoderror
So, I'm working in eclipse were everything compiles and runs correctly. However, when compiling under ant for the build server, A large number of tests fail with a NoSuchMethodError saying:
class A implements B interface B extends C C requires method getSyncID() // standard getter for an int field. A.java contains getSyncID() A.class contains getSyncID()
and yet the Error is still thrown.
Does anyone know how the hell this could happen? how to fix it.
© Stack Overflow or respective owner