aspose file tools*
The moose likes Web Services and the fly likes I keep getting a Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "I keep getting a "java.lang.NoSuchMethodError" for a stub getter method." Watch "I keep getting a "java.lang.NoSuchMethodError" for a stub getter method." New topic
Author

I keep getting a "java.lang.NoSuchMethodError" for a stub getter method.

Amardeep Singh Paneser
Greenhorn

Joined: Nov 05, 2012
Posts: 2

I Updated my XSD to include a new custom type as shown below.



But then when i try to execute the below method :



I get the below Exception at "parameters.getBaseVals().getApptVals();" line in above method. I already crosschecked and see that the "getApptVals()" method is there in the "BaseType" class. I am not sure why i am getting this exception.




I am getting this exception in WAS 7.0.0.19 server. Any Ideas; Could someone please assist?
Amardeep Singh Paneser
Greenhorn

Joined: Nov 05, 2012
Posts: 2

The issue is now resolved; I found out that there was old compiled version of the class getting deployed on the server. Once we deleted the old classes; the issue was resolved.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I keep getting a "java.lang.NoSuchMethodError" for a stub getter method.
 
Similar Threads
servlets and xml
problem with schemas
XML valiadation using schema
XmlException on calling WSDL2Java
namespace