Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > jsp-api.jar and conflicting class after migration from jsf ==> MyFaces

Reply
Thread Tools

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

 
 
Ben Engbers
Guest
Posts: n/a
 
      02-07-2007
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JSF (MyFaces) Action issue Bhanu Java 0 01-11-2007 06:29 AM
Include JSF page within another JSF page BlackIce Java 1 07-05-2006 11:24 PM
JSF - MYFACES and javascript markb Java 0 06-26-2006 03:59 PM
JSF debugging / JSF newsgroup Sebastian Fey Java 1 04-07-2006 08:52 PM
[JSF]Need to deploy a jsf application on SunApplicationServer. dudu Java 0 03-03-2006 12:09 PM



Advertisments
 



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