3 Replies Latest reply on Aug 28, 2011 3:00 AM by panayk

    Tomcat 7 servlet injection

    panayk

      The title says it all. The instruction for Tomcat 6.0 do not work. Is it possible?

        • 1. Re: Tomcat 7 servlet injection
          alesj

          Which Weld version are you using?


          We fixed some related issue in 1.1.2.Final.

          • 2. Re: Tomcat 7 servlet injection
            panayk
            <dependency org="org.jboss.weld.servlet" name="weld-servlet" rev="1.1.2.Final" />
            <dependency org="org.jboss.weld.servlet" name="weld-tomcat-support" rev="1.0.1.Final" />

            The above is the latest weld-tomcat-support.jar I could find.

            The error message is related to AnnotationProcessor which has been dropped from Tomcat 7.0, as I understand.

            Thank you!
            • 3. Re: Tomcat 7 servlet injection
              panayk

              UPDATE
              ------


              It seems Weld supports Tomcat 7 supports Weld Servlet Injection out of the box, without any configuration, so sorry for the unnecessary post.


              Now I am getting an error about inactive conversation scope, but this is unrelated, I think.