Dear developers,

Following error occurs when deploying a web application to Glassfish:

An error has occured

Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.NullPointerException


I don't really know what it could be. I was developing with Tomcat 6, Spring, Struts, etc. And it works well with Tomcat 6! Now I want to port the application to Glassfish for my client.

And I still have a problem when compiling myself jsps from command line for Tomcat 6 with ant jspc task. (Is jspc task appropriate for Tomcat 6? or obsolete?)
The compiler couldn't find tag-bean tld definition from struts-taglib (Struts 1.3).

Thanks.
Manuel Dahmen.