Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoSuchMethod Exception

 
Harshani Wickramarathna
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic