简体   繁体   中英

EL Problems with deployment on glassfish

I'm having a hard time trying to deploy a webapp (actually working on tomcat) onto glasssfish 3.

I tried different solutions, but none actually worked. I keep getting a:

 java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.ClassNotFoundException: org.apache.el.ExpressionFactoryImpl

I tried to set the following in my web.xml:

  <context-param>
    <param-name>com.sun.faces.expressionFactory</param-name>
    <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
  </context-param>

without any luck...

I removed all the jsp / jstl / el-api / el-impl... jars which were there in the first place, but it keeps failing.

Any help would be highly appreciated. Let me know if you need more information.

Actually the problem was with tiles. I had versions conflicts with spring 2 and tiles 2.2x.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM