- This topic has 2 replies, 2 voices, and was last updated 18 years, 7 months ago by patmeth.
-
AuthorPosts
-
patmethMemberHello,
I added JSF and Struts capabilities to a web project. Right now, the <f:view> tag shows an error of no tag view defined since the tag library names can’t be resolved from any jars.
These are the taglib directives:
<%@ taglib uri=”http://java.sun.com/jsf/core” prefix=”f” %>
<%@ taglib uri=”http://java.sun.com/jsf/html” prefix=”h” %>I just downloaded the latest version of MyEclipse and am having this problem. I did not have this problem with the previous version. Also, the myfaces jar does not show up among the jars at the top level of the project even though I added JSF capabilities. Instead the myfaces jar shows up with a file-line icon under the lib folder.
Can I remove the jsf or struts capabilities from a project through a menu command? I have not found any option to do so?
Thanks. The MyEclipse configuration information is below.,
Glenn*** Date: Thu Mar 23 13:13:21 EST 2006
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060309-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.1
Build id: M20050929-0840Eclipse Platform
Version: 3.1.1
Build id: M20050929-0840Eclipse RCP
Version: 3.1.1
Build id: M20050929-0840Eclipse Java Development Tools
Version: 3.1.1
Build id: M20050929-0840Eclipse Plug-in Development Environment
Version: 3.1.1
Build id: M20050929-0840Eclipse Project SDK
Version: 3.1.1
Build id: M20050929-0840Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
f30_38
-vm
C:\WINDOWS\system32\javaw.exe
Riyad KallaMemberWe currently don’t offer the ability to remove capabilities. But if you are getting “cannot be resolved” errors AND you still see the JARs under your WEB-INF/lib directory, it most likely means MyEclipse did not automatically add the JARs to your build path as it should have.
Go to your Project Properties > Java Build Path > Libraries and click Add, then drill down and select the JARs still listed under the WEB-INF/lib directory and hit OK. Then rebuild the project (After closing all the editors) that should remove those errors.
patmethMemberThanks, this works.
-
AuthorPosts