This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ..." Watch "java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ..." New topic
Author

java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ...

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm new to spring, using Spring 3.0.2 with Tomcat 6.0.26 (Java 1.6). I'm getting the exception, "java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'userPromotionRule' available as request attribute", when I visit my page, /sweeps/rules/form.jsp, for creating my bean. Relevant JSP code is ...



Below is the controller ...



I'm missing a link to something somewhere. Can you suggest additional things I should troubleshoot? Complete stack trace is below ...


 
jQuery in Action, 2nd edition
 
subject: java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ...
 
Similar Threads
Exception in PhaseListener RESTORE_VIEW 1 afterPhase
JSF,Spring MVC, Hibernate Integration exception
getting java.lang.NullPointerException
servlet mapping
validation problem