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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -