aspose file tools*
The moose likes Struts and the fly likes NoSuchMethod  Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "NoSuchMethod  Exception " Watch "NoSuchMethod  Exception " New topic
Author

NoSuchMethod Exception

Harshani Wickramarathna
Greenhorn

Joined: Nov 15, 2007
Posts: 28
Hi,

I've integrate spring into my struts2 application. When it runs it throws the following exception:

"DEBUG [http-8080-Processor25] ParametersInterceptor.doIntercept(148) | Setting params pa
ssword => [ chaminie ] username => [ chaminie ]
[Migration] DEBUG [http-8080-Processor25] CompoundRootAccessor.setProperty(70) | No object in the Co
mpoundRoot has a publicly accessible property named 'password' (no setter could be found).
[Migration] DEBUG [http-8080-Processor25] CompoundRootAccessor.setProperty(70) | No object in the Co
mpoundRoot has a publicly accessible property named 'username' (no setter could be found).
[Migration] ERROR [http-8080-Processor25] [default].invoke(253) | Servlet.service() for servlet defa
ult threw exception
java.lang.NoSuchMethodException: org.migration.webapp.action.LoginAction.execute()
at java.lang.Class.getMethod(Class.java:1581)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.getActionMethod
(AnnotationValidationInterceptor.java:55)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(Ann
otationValidationInterceptor.java:41)"

How can I get rid of this..
Please help me

Harshani
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoSuchMethod Exception