You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/09/27 11:47:37 UTC

[Myfaces Wiki] Update of "Installation and Configuration" by ThomasWabner

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by ThomasWabner:
http://wiki.apache.org/myfaces/Installation_and_Configuration

The comment on the change is:
added a short description how to exclude the jsp-api-2.0.jar file

------------------------------------------------------------------------------
  If you see a blank page on startup - the files jsp-2.0.jar and commons.el must
  be deleted, since Tomcat 5.5.x delivers those files out of the box
  and a library conflict is caused with the one given by the MyFaces war.
+ 
+ If you want to write your own tags you need the jsp-api-2.0.jar file in your compile classpath. If you use Maven2 you can exclude the jsp-api-2.0.jar from the war file by define a dependency like this:
+ {{{
+  <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>jsp-api</artifactId>
+      <version>2.0</version>
+      <scope>provided</scope>
+  </dependency>
+ }}}
+ The scope '''provided''' tells maven to exclude the jar file while packaging.
  
  == Apache Tomcat 5.5.9 ==