File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes java.lang.IllegalArgument Exception: No bean specified Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "java.lang.IllegalArgument Exception: No bean specified" Watch "java.lang.IllegalArgument Exception: No bean specified" New topic
Author

java.lang.IllegalArgument Exception: No bean specified

natasa jones
Ranch Hand

Joined: Aug 20, 2006
Posts: 45
hello all!
i am trying to make a select drop down list,which is filled with values from database.
i am having this error when i am trying to submit my form:
java.lang.IllegalArgumentException: No bean specified.
i have declared and instatiated in my form the variabe i use to store user's selection and i cant find what is still going wrong!
the full description of the error is:

java.lang.IllegalArgumentException: No bean specified
org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:751)
org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:937)
org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:493)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:816)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

any help?thanks!
Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
Source for the jsp and form please
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.IllegalArgument Exception: No bean specified