I am implementing a shopping website through JSP. I have a Java object called ShoppingCart
and one called Item. In ShoppingCart
there is a vector w
If that method was newly added and you get this error, you're apparently still using an old version of the class lacking the method in the classpath. You need to save the source code file, recompile/rebuild the class/project, redeploy the project and restart the server to get the new changes to work.
A bit decent IDE with a bit decent server plugin will do that automagically by the way.