java - jsf use classes from different project -
i have 2 projects. 1 dao , 1 jsf stuff. when try enum dao project displayed on jsf page, not work. error occurs java.lang.noclassdeffounderror
, although dao project referenced in jsf project. have register dao project in web.xml? if yes, how manage this?
here's jsf code:
<h:selectonemenu id="type" value="#{calendarcontroller.type}"> <!-- use property name not method name --> <f:selectitems value="#{calendarcontroller.typevalues}" /> </h:selectonemenu>
the bean:
@managedbean @requestscoped public class calendarcontroller { ... private type type; ...
the enum dao project type, not found during deployment.
Comments
Post a Comment