I have a java method with the original signature as follows:
public boolean sampleMethod(int num)
This is being called in a lot of jsp’s in my project. Recently, I needed to change the method signature to:
public boolean sampleMethod(long num)
With this new signature, all the method calls in my jsp’s now gives me a java.lang.NoSuchMethodError. It seems that they are still invoking the old method even if I already compiled the code. I am using Intellij IDEA 11.0.
Your help is greatly appreciated.
Thanks!
It looks like you still have your old
warfile deployed. Do the following: