title: java.lang.NoClassDefFoundError: com/sun/enterprise/InjectionException
body: <p>When I installed a new instance of the Tomcat 7 with a default .jsf program the error above isn't shown. When I did basic changes in the program through of the Netbeans 7.4, I got this error: </p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError: com/sun/enterprise/InjectionException.</p>
  </blockquote>
  
  <p>My tests showed me that this error is related with code. But, I expected a better error message. I'm running Tomcat 7.</p>
  
  <p>I tried to work around the situation using Glassfish 4, but I stuck with error: SEC5054: Certificate has expired.</p>
  
  <p>I'm running on W32 and I'm thinking to change to Debian64. Probably the issues are understandable.</p>
  
  <p>What do you think about?</p>