2 Replies Latest reply on Jul 28, 2011 10:57 AM by hantsy bai

    Seam 3 Rest module does not support Servlet Container?

    hantsy bai Master

      I tried to used Seam 3 Rest module in our project, but when I added seam modules in pom.xml.
      When Tomcat 7 starts up, an NPE exception was threw, caused by the SeamRestStartup class.

      It is a web Listener with @WebListener annotation. It seems the @Inject object can not be ready when called them.

      In before tomcat 6, I did not encountered this problem, because the @WebListener annotation was not recognized.

      In the Rest module doc, it indicates It MUST be used in a JEE6 container. It means Rest modules can not be used in servlet container(tomcat 7)?