Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   jsp-api.jar and conflicting class after migration from jsf ==> MyFaces (http://www.velocityreviews.com/forums/t390675-jsp-api-jar-and-conflicting-class-after-migration-from-jsf-myfaces.html)

Ben Engbers 02-07-2007 12:11 PM

jsp-api.jar and conflicting class after migration from jsf ==> MyFaces
 
Hi,

I a using Eclipse/Callisto with jdk1.5.0_08 and Tomcat 5.5.20 on a
Fedora core 6 platform, to develop web applications.

At the moment we are using a JSF-component which is developed with
jdeveloper, j2sdk1.4.2 and jsf-1.1 and I am trying to port this
component to MyFaces 1.1.4

I have a class which can't be compiled since it is missing a class (The
line "public class TabbedMenuTag extends UIComponentTag" results in "The
type javax.servlet.jsp.tagextTag cannot be resolved. It is indirectly
referenced from required .class files")
Adding jsp-api.jar to the classpath solves this problem.

If I restart Tomcat however, I get the following error:
INFO:
validateJarFile(<user-home/apache-tomcat-5.5.20/webapps/EAG2006/WEB-INF/lib/jsp-api.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2 Offending class:
javax/servlet/jsp/JspPage.class
The application won't run.

Questions:
Is this a Tomcat or a MyFaces or an Eclipse-bug (where should I report it)?
Is there a workaround?

Ben


All times are GMT. The time now is 03:30 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57