I had an application created on SEAM 1.2 which was fine, but then I needed to use GWT, so I changed to SEAM 2.0. After some hours of fight with the application to make it work on 2.0 and also integrate a simple GWT test class, I find myself having a problem which I just can't figure it out. If the web.xml of the application contains
<listener> <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> </listener>
18:21:18,768 ERROR [[/projectmanager]] Exception starting filter Seam Filter java.lang.ClassCastException: org.jboss.seam.servlet.SeamFilter
I solved the problem by zipping the project in an ear. In SEAM 1.2 it was in an war and it worked just fine.