facebook

Removing JSF jars

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #249214 Reply

    patmeth
    Member

    Hello,

    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&#8221; prefix=”f” %>
    <%@ taglib uri=”http://java.sun.com/jsf/html&#8221; 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 Workbench

    Version: 4.1.1 GA
    Build id: 20060309-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse 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

    #249226 Reply

    Riyad Kalla
    Member

    We 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.

    #249617 Reply

    patmeth
    Member

    Thanks, this works.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Removing JSF jars

You must be logged in to post in the forum log in