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

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -