 <p>This is not a JSF nor a Dao design pattern implementation issue. It's a basic Java problem: <em>Unresolved compilation problem</em>. Make sure you have a <code>DAOException</code> class inside package <code>mybeans</code> (or the package this exception should be).</p> <p>Basic sample:</p> <pre><code>package mybeans; public class DAOException extends RuntimeException { //implement the exception as you want/need... } </code></pre>