简体   繁体   English

EL在玻璃鱼上的部署问题

[英]EL Problems with deployment on glassfish

I'm having a hard time trying to deploy a webapp (actually working on tomcat) onto glasssfish 3. 我在尝试将webapp(实际上在tomcat上工作)部署到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: 我试图在我的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. 我删除了所有最初存在的jsp / jstl / el-api / el-impl ... jars,但是它一直失败。

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. 我与spring 2和tile 2.2x版本冲突。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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