java - JSP cant find bean Class using "" modifiers -


hey i'm using netbeans ide , i'm getting error when try run ejb program. error when declare , give path of class in jsp bean.

<jsp:usebean id="book" class="bookbean.book" scope="application" /> <jsp:setproperty name="book" property="*" /> 

when run program error

javax.servlet.servletexception: java.lang.instantiationexception: class bookbean.book : java.lang.illegalaccessexception: class java.beans.beans can not access member of class bookbean.book modifiers ""

and

java.lang.instantiationexception: class bookbean.book : java.lang.illegalaccessexception: class java.beans.beans can not access member of class bookbean.book modifiers "" 

i removed "" , put in '' see if works, doesn't. idea? put breakpoint there , def. root of problem. thanks.

i figured out. constructor not public....


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -