WarファイルをEclipse(JRE5.0)でコンパイルしTomcat5.5にDeployしたら問題なく動きました。
でもWeblogic8.1.5でWarファイルを実行したら以下のエラーがでました。
Exception:weblogic.management.ApplicationException: start() failed. Module:
jsf-sample1 Error: weblogic.management.DeploymentException: javax/servlet/jsp/el/ELException
- with nested exception: [java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException]
[Deployer:149033]Apserver 上のアプリケーション jsf-sample1 を preparing
[Deployer:149033]Apserver 上のアプリケーション jsf-sample1 を prepared
[Deployer:149033]Apserver 上のアプリケーション jsf-sample1 を activating
[Deployer:149033]Apserver 上のアプリケーション jsf-sample1 を failed
[Deployer:149034]タスク [Deployer:149026]Apserver 上のアプリケーション jsf-sample1 をデプロイ。 に対する例外が発生しました。:
Exception:weblogic.management.ApplicationException: start() failed. Module:
jsf-sample1 Error: weblogic.management.DeploymentException:
javax/servlet/jsp/el/ELException - with nested exception:
[java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException]
Webを調べていると(http://66.102.7.104/search?q=cache:5_5WZrklf3UJ:forums.bea.com/bea/thread.jspa%3FthreadID%3D600008816%26tstart%3D60+with+nested+exception:+%5Bjava.lang.NoClassDefFoundError:+javax/servlet/jsp/el/ELException%5D+&hl=ja&gl=jp&ct=clnk&cd=4)とあり
どうも、
8.1 implements Servlet spec 2.3 & JSP 1.2 and I think the version of JSF you're trying to use requires at least an implementation of JSP 2.0 & Servlet 2.4.
Tomcat 5 implements JSP 2.0 & Servlet 2.4
Please download WebLogic Server 9.0 or the latest 9.1 and try the JSF application OR try an older version of JSF that runs on Servlet 2.3/JSP1.2 containers.
ということで、WebLogicのバージョンを9.0以降のJSPとSevletエンジンのバージョンを(JSP 2.0 & Servlet 2.4.)に上げる必要がありそうです、、。