5 Replies Latest reply on Dec 2, 2011 2:23 PM by robsonperassoli

    Tomcat 7 + Weld 1.0.1  1.1beta + Servlet: Dont work

    ssamayoagt
      I have been succesfully ran JSF 2 + RichFaces 3.3.3 + Weld 1.x + Hibernate 3.6 (JPA w/RESOURCE LOCAL TRANSACTIONS) in Tomcat 7 but now I need "plain" servlet because I'm working in ExtJS so I want to use Servlet + CDI + Hibernate/JPA but I saddly found that Weld looks for org.apache.AnnotationProcessor which, according to Tomcat's 7 change log (http://tomcat.apache.org/tomcat-7.0-doc/changelog.html) was switched to InstanceManager.

      Before you suggest "why dont use Glassfish or JBoss" I will tell you why I'm using Tomcat 7:

      - Servlet 3 (annotations and login()/logout())
      - EL 2.2 (well, thats for JSF 2)
      - small footprint (I have small hosted server...)
      - and last but not least: VERY FAST START, ideal for developing

      So, chances are that Weld will support servlet in Tomcat 7?

      Or, how to add support for Tomcat 7 to Weld?