Taglib Error

          I'm getting the following error when deploying a simple taglib in a war file :
          Could not parse deployment descriptor: org.xml.sax.SAXParseException: Could not
          parse: taglib starting at line 1
          the location of the tag lib is the WEB-INF/user-taglib.tld
          the web.xml file contains the following reference to that tld file
          <taglib>
          <taglib-uri>user-taglib.tld</taglib-uri>
          <taglib-location>WEB-INF/user-taglib.tld</taglib-location>
          </taglib>
          the code in the jsp refers to the tag lib as follows:
          <%@ taglib uri="user-taglib.tld" prefix="u" %>
          I have meesed with the taglib-uri setting a number of times, using user, taglib.jar,
          and user-taglib.tld. I always get the same error though. This is quite frustrating
          as it seems as if I am following the documentation to the letter. Obviously something
          is messed up, but I can't seem to pinpoint it.
          Anyone who can help, Thanks - Matt
          

          Dunno - looks ok - except that the shortname (user) does not match the name in
          your <%@ taglib .... prefix=u ... %>
          - but i don't think that matters.
          Looking at mine, I have
          <%@ taglib uri="/ea.tld" prefix="ea" %>
          - note the '/' in front of ea.tld.
          Mike
          "Matt Torpey" <[email protected]> wrote:
          >
          >Thanks Mike - Here it is
          >
          >
          ><?xml version="1.0" encoding="ISO-8859-1" ?>
          ><!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
          >1.1//EN"
          > "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
          >
          > <taglib>
          >
          > <tlibversion>1.0</tlibversion>
          > <jspversion>1.1</jspversion>
          > <shortname>user</shortname>
          > <info>
          >
          > A tutorial tag library to demonstrate simple functionality
          >
          > </info>
          >
          > <tag>
          > <name>iterate</name>
          > <tagclass>com.pbg.nextgen.taglib.UserTag</tagclass>
          > <teiclass>com.pbg.nextgen.taglib.UserTEI</teiclass>
          > <info>Basic tag with an extra info class</info>
          > <bodycontent>JSP</bodycontent>
          > <attribute>
          > <name>id</name>
          > <required>false</required>
          > </attribute>
          > <attribute>
          > <name>name</name>
          > <required>false</required>
          > </attribute>
          > </tag>
          >
          >
          > <env-entry>
          > <description>A test value</description>
          > <env-entry-name>envEntry1</env-entry-name>
          > <env-entry-value>myenventry</env-entry-value>
          > <env-entry-type>java.lang.String</env-entry-type>
          > </env-entry>
          >
          >
          > </taglib>
          >
          >
          >
          >
          >"Mike Reiche" <[email protected]> wrote:
          >>
          >>Please post the contents of user-taglib.tld. That's what the message
          >>is referring
          >>to ...
          >>
          >>>Could not
          >>>parse: taglib starting at line 1
          >>
          >>Mike
          >>
          >>"Matt Torpey" <[email protected]> wrote:
          >>>
          >>>I'm getting the following error when deploying a simple taglib in a
          >>war
          >>>file :
          >>>
          >>>Could not parse deployment descriptor: org.xml.sax.SAXParseException:
          >>>Could not
          >>>parse: taglib starting at line 1
          >>>
          >>>the location of the tag lib is the WEB-INF/user-taglib.tld
          >>>the web.xml file contains the following reference to that tld file
          >>> <taglib>
          >>> <taglib-uri>user-taglib.tld</taglib-uri>
          >>> <taglib-location>WEB-INF/user-taglib.tld</taglib-location>
          >>> </taglib>
          >>>
          >>>the code in the jsp refers to the tag lib as follows:
          >>> <%@ taglib uri="user-taglib.tld" prefix="u" %>
          >>>
          >>>
          >>>I have meesed with the taglib-uri setting a number of times, using
          >user,
          >>>taglib.jar,
          >>>and user-taglib.tld. I always get the same error though. This is
          >quite
          >>>frustrating
          >>>as it seems as if I am following the documentation to the letter.
          >Obviously
          >>>something
          >>>is messed up, but I can't seem to pinpoint it.
          >>>
          >>>Anyone who can help, Thanks - Matt
          >>
          >
          

Similar Messages

  • Taglib error in JDeveloper

    dear friends
    I'm creating my first simple application with JDeveloper 10g.
    in my jsp (First.jsp) I declare the taglib as
    <%@ taglib uri="/lib/dotJ.tld" prefix="dotj" %>
    and my web.xml as
    <taglib>
    <taglib-uri>/lib/dotJ.tld</taglib-uri>
    <taglib-location>/lib/dotJ.tld</taglib-location>
    </taglib>
    also dotJ.jar and dotJ.tld are located in /lib directory
    but when I compile My.jsp I recieves the error
    Error(: java.lang.ClassNotFoundException: com.dotj.form.FormValidatorTEI"
    regards

    Also add the JAR file to the Project libraries with Tools>Project Properties>Libraries.
    And, add the tld to the WEB-INF directory, not the lib directory.

  • JSP taglib  Error

    hi
    I am using IPlanet 4.1 web Server
    Here is the error i get ..
    [02/Jul/2001:16:39:20] info (11201): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to open taglibrary /mylib.tld : Could not locate TLD
    META-INF/taglib.tld
    at
    org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java,
    Compiled Code)
    at org.apache.jasper.compiler.DelegatingListener.(DelegatingListener.java, Compiled Code)
    at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code)
    at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
    at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
    at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
    at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java, Compiled
    Code)
    at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java, Compiled
    Code)
    at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java, Compiled
    Code)
    Can anyone please help me on this .
    My JSP file looks like :
    <%@ taglib uri="/mylib.tld" prefix="test" %>
    <html>
    <body>
    <test:hello name="Hans">
    </body>
    </html>
    And The mylib.tld is :
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>test</shortname>
    <tag>
    <name>hello</name>
    <tagclass>classes.HelloTag</tagclass>
    <bodycontent>empty</bodycontent>
    <attribute>
    <name>name</name>
    </attribute>
    </tag>
    </taglib>
    Thanks,
    vikas

    Does your web server have an internet connection, or is it just a localhost on a development machine? If it can't see the internet, it can't find the DTD:
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    ...which may be your problem. A workaround is to download the above file, put it on your webserver somewhere, and change this url to point to the new location.

  • Taglib error in EP7.3

    hi friends,
    im getting this error in EP 7.3 ???
    No start tag for hbj:group
    - Can not find the tag library descriptor for "tagLib".
    event i have done these two steps...
    1.this is code i have placed in portalapp.xml
    <component-profile>
    <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
    </component-profile>
    2.This is code i have palced at 1st line of my JSP page
    <%@taglib uri = "tagLib" prefix="hbj"%>
    Caused by: java.lang.NullPointerException: while trying to invoke the method com.sapportals.portal.prt.deployment.descriptor.IConfiguration.getPropertyValue(java.lang.String) of an object loaded from local variable 'profile'
    help me how resolve this.
    Regards,
    prasad .

    Hi,
    If you are doing exactly the same as what is written above then try the following-
    1)
    In your portalapp.xml, first define the Sharing Reference as the application-config under the application tag
      <application-config>
        <property name="Vendor" value="sap.com"/>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
    Then for your component, define the component-profile
    <component-profile>
    <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>
    </component-profile>
    2)
    In your jsp, include the following at the first line
    <%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %>
    Regards,
    Atul

  • TagLib error in EP 7.3

    hi friends,
    im getting this error in EP 7.3 ???
                     No start tag for hbj:group
         - Can not find the tag library descriptor for  "tagLib".
    event i have done these two steps...
    1.this is code i have placed in portalapp.xml      
         <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
    2.This is code i have palced at 1st line of my JSP page
      <%@taglib uri = "tagLib" prefix="hbj"%>
    help me how resolve this.
    Regards,
    prasad .

    Hi,
    If you are doing exactly the same as what is written above then try the following-
    1)
    In your portalapp.xml, first define the Sharing Reference as the application-config under the application tag
      <application-config>
        <property name="Vendor" value="sap.com"/>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
    Then for your component, define the component-profile
    <component-profile>
    <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>
    </component-profile>
    2)
    In your jsp, include the following at the first line
    <%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %>
    Regards,
    Atul

  • WebServices TagLib Error

    EveryTime you develop a WebService in Sun Java Studio 5 update 1, automatically, a taglib is created for the webapplication, the tag denoted by ws will take your parameters and set them up into your webservice interface.
    There is a terrible bug that we discovered last week.
    If you pass on more than 13 parameters and all of the are the same type, it will swap parameter 13 with parameter 1.
    Has anyone heard of this error before.

    Hi,
    Could you please log in this bug with details at:
    http://developers.sun.com/prodtech/javatools/jsstandard/reference/bugs/index.html
    Thanks

  • Portal throwing taglib errors after installing WCI Analytics component

    Error stack trace
    Task #1 (InitPortalObjects) END (OK)
    Task #2 (CheckDevKit) END (OK)
    Task #3 (InitializePaths) END (OK)
    Task #4 (InitializeApplication) END (OK)
    Task #5 (InitializeAppWarmUpHelper) END (OK)
    Task #6 (InitializeImageServerHelper) END (OK)
    Task #7 (InitializeConfigHelper) END (OK)
    Task #8 (InitializeResourceManager) END (OK)
    Task #9 (LoadVersionHelper) END (OK)
    Task #10 (InitializeActivitySpaces) END (OK)
    Task #11 (InitializeVarPacks) END (OK)
    Task #12 (InitializeImageServerHelperPartII) END (OK)
    Task #13 (InitializeObjects) END (OK)
    FATAL: Task #14 (LoadCustomLoads) step 2 failed to complete.
    LoadManagers: Error loading Custom Tags in TagLibManager.
    LoadCustomManagers: XML or classpath problem.
    RECOMMENDATION: Verify your classpath is correct. Check that the
    relevant JAR files in the customactivityspaces.xml and
    customtags.xml files are present in both PORTAL_HOME/lib/java
    as well as inside the PORTAL_HOME/webapp/portal.war in the
    WEB-INF/lib subdirectory. Check secondary details below.
    com.plumtree.openfoundation.util.XPException: Fatal error loading lib file analyticstag: Unable to locate Tag Library meta data.
    at com.plumtree.portaluiinfrastructure.tags.manager.TagLibManager.InternalLoadLibFile(TagLibManager.java:460)
    at com.plumtree.portaluiinfrastructure.tags.manager.TagLibManager.InternalLoadClasses(TagLibManager.java:400)
    at com.plumtree.portaluiinfrastructure.tags.manager.TagLibManager.LoadCustomClasses(TagLibManager.java:354)
    at com.plumtree.portaluiinfrastructure.application.PTAppWarmUpHelper.LoadManagers(PTAppWarmUpHelper.java:486)
    at com.plumtree.uiinfrastructure.application.startup.LoadCustomLoads.LoadCustomManagers(LoadCustomLoads.java:305)
    at com.plumtree.uiinfrastructure.application.startup.LoadCustomLoads.executeStep(LoadCustomLoads.java:197)
    at com.plumtree.uiinfrastructure.application.AppWarmUp.LoopStartupTasks(AppWarmUp.java:995)
    at com.plumtree.uiinfrastructure.application.AppWarmUp.RunStartupTasks(AppWarmUp.java:893)
    at com.plumtree.uiinfrastructure.application.AppWarmUp.Init(AppWarmUp.java:200)
    at com.plumtree.portal.application.AppWarmUpServlet.init(AppWarmUpServlet.java:61)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173
    Caused by: com.plumtree.openfoundation.util.XPException: Fatal error loading lib file analyticstag: Unable to locate Tag Library meta data.
    at com.plumtree.portaluiinfrastructure.tags.manager.TagLibManager.InternalLoadLibFile(TagLibManager.java:434)
    ... 51 more
    Any inputs appreciated.

    Redeploy portal app and it should work fine.

  • JSP runtime taglib error: "parent is not defined as bean"

              Hi,
              I had a site running on WLS 5.1 SP6 and WLCS 2.01 SP2, I installed WLS 5.1 SP9
              from scratch and WLCS 2.01 SP3 on top of SP2. Since then, I'm having trouble with
              a JSP tag from WLCS's esjsp.jar.
              Here's the code:
              <es:notnull value="nextURL">
              (note that nextURL is null )
              and here's the exception:
              <ServletContext-General> Servlet failed with Exception
              weblogic.servlet.jsp.JspException: (line 42): parent is not defined as bean
              any ideas ?
              Phil
              

              Hi,
              I had a site running on WLS 5.1 SP6 and WLCS 2.01 SP2, I installed WLS 5.1 SP9
              from scratch and WLCS 2.01 SP3 on top of SP2. Since then, I'm having trouble with
              a JSP tag from WLCS's esjsp.jar.
              Here's the code:
              <es:notnull value="nextURL">
              (note that nextURL is null )
              and here's the exception:
              <ServletContext-General> Servlet failed with Exception
              weblogic.servlet.jsp.JspException: (line 42): parent is not defined as bean
              any ideas ?
              Phil
              

  • JDev 10.1.3 compile error in servlet 2.4 web.xml

    I built a Servlet 2.4/JSP 2.0 application in JDev 10.1.3. When I try to make/compile/deploy it the compiler gives me errors like the following for every JSP file that has a JSTL 1.1 taglib:
    Error(2,9): Element "web-app' used but not declared
    Error(2,63): Attribute 'xmlns:xsi' used but not declared
    Error(3,103): Attribute 'xsi:schemaLocation' used but not declared
    Error(4,16): Attribute 'version' used but not declared
    Error(4,56): Attribute 'xmlns' used but not declared
    Error(4,57): Can not build schema 'http://java.sun.com/xml/ns/j2ee' located at 'http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd'
    Error(5,15): Element 'description used but not declared
    It is obviously havng problems with the web.xml file (which is in the servlet 2.4 format) and is probably not finding the web.xml DTD document. How do I fix it?
    Installation is on Solaris 9 using J2SDK 1.4.2_04-b05
    By the way, this system is on a disconnected network. How do I get JDeveloper updates for a system not connected to the Internet?

    Allen,
    A JSP with web.xml web-app element
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    runs in JDeveloper 10.1.3
    thanks,
    Deepak

  • OC4J Preview Installation Error

    Hello,
    I have downloaded the OC4J Developers Preview version (10.0.3.0.0) from OTN. Now, when I start the OC4J, I always get the following error on the console.
    JspTagLibListener error : oracle.xml.parser.schema.XSDBuilder.
    build(Ljava/net/URL;)Loracle/xml/parser/schema/XMLSchema;
    Also, when I try to acceess the homepage of OC4J, I get the following error on the browser
    Request URI:/index.jsp
    Exception:
    java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build(Ljava/net/URL;)Loracle/xml/parser/schema/XMLSchema;
    Both the errors do seem to be related. I have not changed/updated any configuration files of oc4j yet. These errors occur in a clean installation.
    Any idea how this can be removed?
    Thanks in advance.

    Hmm, that's the exact platform and JDK I'm using and I have no problems with the 1003 release. I've not seen anyone else ever mention this problem either.
    Even though you're getting a funky taglib error, it still looks like it initialized -- can you hit the home page ad see if it works (http://localhost:8888) -- if so, do the JSP/servlet examples on the page work?
    Has it ever worked for you or is this your first time trying it out?
    Have you deployed any applications to it previously or configured applications?
    If you extract the oc4j_extended.zip file to a different directory does it work?
    Can you try it on another machine just to check?
    That's all I can think of at the moment.
    cheers
    -steve-

  • While deploying application in weblogic 10.3 getting following eror

    while deploying app into weblogic 10.3 getting following taglib errors please any one cane ensure this....
    An error occurred during activation of changes, please see the log for details.
    weblogic.application.ModuleException:
    Substituted for the exception weblogic.servlet.jsp.CompilationException which lacks a String contructor, original message - footer.jsp:1:5: Invalid tag library. <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %> ^----^ footer.jsp:1:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %> ^----^ footer.jsp:1:5: Invalid tag library. <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %> ^----^ footer.jsp:1:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %> ^----^ footer.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> ^----^ footer.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> ^----^ footer.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> ^----^ footer.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> ^----^ footer.jsp:4:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-tiles-el.tld" prefix="tiles" %> ^----^ footer.jsp:4:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-tiles-el.tld" prefix="tiles" %> ^----^ tabset.jsp:1:5: Invalid tag library. <%@ taglib uri="/WEB-INF/struts-tiles-el.tld" prefix="tiles" %> ^----^ tabset.jsp:1:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-tiles-el.tld" prefix="tiles" %> ^----^ tabset.jsp:1:5: Invalid tag library. <%@ taglib uri="/WEB-INF/struts-tiles-el.tld" prefix="tiles" %> ^----^ tabset.jsp:1:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-tiles-el.tld" prefix="tiles" %> ^----^ tabset.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> ^----^ tabset.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> ^----^ tabset.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> ^----^ tabset.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> ^----^ connection.jsp:1:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %> ^----^ connection.jsp:1:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %> ^----^ connection.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> ^----^ connection.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> ^----^ connection.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> ^----^ connection.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> ^----^ connection.jsp:4:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-tiles-el.tld" prefix="tiles" %> ^----^ connection.jsp:4:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file. <%@ taglib uri="/WEB-INF/struts-tiles-el.tld" prefix="tiles" %> ^----^ connection.jsp:5:5: Invalid tag library. <%@ taglib uri="/WEB-INF/tb-tags.tld" prefix="tb"%> ^----^ connection.jsp:5:5

    Hi Pratik,
    Would suggest you to create a "*wlfullclient.jar*" by going through the below link and add it in your weblogic workshop and then try to deploy your application. Also it is always recommended that you should compile the old application again with the new JDK version your new weblogic sever is using.
    Tpoic:*Creating a wlfullclient.jar for JDK 1.6 client applications*
    http://download.oracle.com/docs/cd/E15051_01/wls/docs103/client/jarbuilder.html#wp1078098
    Hope this would help you.
    Regards,
    Ravish Mody

  • What happened to my Date-Access Tag Descriptions?

    Hi,
    I install the file OJSPUTIL.JAR and include in my classpath and SQLTAGLIB.TLD is deployed this the application. And I write a JSP file,such as in the following:
    <%@ taglib uri="/WEB-INF/sqltaglib.tld" prefix="sql" %>
    <sql:dbOpen URL="jdbc:oracle:thin:@njjyc_rmsserver:1521:rms5" user="rms" password="rmsrms" connId="con1">
    </sql:dbOpen>
    <sql:dbQuery connId="con1" skipRows=<%=rowstart%> maxRows='10'>
         select depaid,depaname from depa order by depaid
    </sql:dbQuery>
    <sql:dbClose connId="con1" />
    It is working at first time when I am browsing in IE,the second time is working too sometims,But the third time no data apprear with the same URL in IE.
    The error message is "javax.servlet.jsp.JspTagException: java.sql.SQLException: closed Resultset: next at oracle.jsp.dbutil.tagext.dbNextTag.doStartTag(dbNextTag.java:90).
    Is my usage of this taglib error?
    Your advise is appreciated!

    Hi,
    I don't know what Java/JSP app server you're running. In my case, I use oc4j - Oracle J2EE Container. I had this problem and it was resolved by switching to Oracle's JspServlet - oracle.jsp.JspServlet to handl JSP's.
    Go to technet.oracle.com, find and download OracleJSP 1.1.3.2.0, unzip the downloaded zip file, open index.html and go to Set up with Oracle 9iAS Container for J2EE section. It tells the detail how to switch as well as other things you need to do to deploy Oracle JSP.
    Hope this can also be a help if you use other JSP container.
    Good luck!

  • Taglib directive does not exist error

    hi frieds ,
    i got an error when running jsf application.I used tomcat 5.0.
    My applicatoin tree is
    newjsf
    /java resources
    /mypackage
    /PersonBean.java (java bean)
    /mypackage.messages.properties (properties file)
    /WebConten
    /pages
    /inputname.jsp
    /greeting.jsp
    /WEB-INF
    /faces-config.xml
    /web.xml
    The above is project tree in eclipse.i added necessary jar files in lib and added jsf support.
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:loadBundle basename="mypackage.bundle.messages" var="msg"/>
    inputname.jsp file
    ====================
    <html>
    <head>
    <title>enter your name page</title>
    </head>
    <body>
    <f:view> //got error here
    <h1>
    <h:outputText value="#{msg.inputname_header}"/> //got error
    </h1>
    <h:form id="helloForm">
    <h:outputText value="#{msg.prompt}"/> //error
    <h:inputText value="#{personBean.personName}" /> //got error
    <h:commandButton action="greeting" value="#{msg.button_text}" />
    </h:form>
    </f:view>
    </body>
    </html>
    greeting.jsp
    ======================
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:loadBundle basename="mypackage.bundle.messages" var="msg"/>
    <html>
    <head>
    <title>greeting page</title>
    </head>
    <body>
    <f:view> //got error
         <h3>
         <h:outputText value="#{msg.greeting_text}" />,
         <h:outputText value="#{personBean.personName}" />
    <h:outputText value="#{msg.sign}" />
         </h3>
    </f:view>
    </body>     
    </html>
    Error is TLD is not found.
    This is my faces-config.xml
    ========================
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
    <navigation-rule>
    <from-view-id>/pages/inputname.jsp</from-view-id>
    <navigation-case>
    <from-outcome>greeting</from-outcome>
    <to-view-id>/pages/greeting.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>personBean</managed-bean-name>
    <managed-bean-class>mypackage.PersonBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    </faces-config>
    This is my web.xml
    ====================
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
         <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    </web-app>
    im using tomcat 5.0. I added all jar files...plz help me...

    Did you "Enable AppXRay" on the project?
    In order to work with Workshop the project needs to be marked as web application.
    If your project is already in workspace, then right click and select "Enable AppXRay" FYI: Workshop identifies web resources inside web-root of an application. A web-root of an application is the folder containing WEB-INF directory.
    Ex:
    - C:\MyProject\WEB-INF\web.xml - in this case MyProject itself will be web-root
    - C:\MyProject\site\WEB-INF\web.xml - in this case site can be web-root
    Once the project is enabled with AppXRay, you open JSP/XML files in Workshop Editor (with Design/Source, Design & Source tabs).
    NOTE: Switch to Workshop perspective (Window > Open Perspective > other > Workshop)to see the default views. The jsp/xml files from AppXplorer view are by default opened in Workshop Editor.
    As I mentioned earlier the following settings should be checked for live "AppXRay" synchronization:
    - Window > Preferences > General > Workspace – make sure “Build automatically” is checked
    - Project > Properties > Builders – make sure “Workshop AppXRay Builder” is present and should be checked

  • Error in using taglib uri in jsp

    When i write the following code in my jsp to use the tags, i got the error -
    JSP Parsing Error:The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application     
    And when i used the tld (html_basic.tld & jsf_core.tld), it gave me the error
    JSP Parsing Error:Failed to load or instantiate TagLibraryValidator class: com.sun.faces.taglib.html_basic.HtmlBasicValidator

    you can use
    <taglib>
    <taglib-uri>/WEB-INF/html-basic.tld</taglib-uri>
    <taglib-location>
    /WEB-INF/html-basic.tld
    </taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/jsf-core.tld</taglib-uri>
    <taglib-location>
    /WEB-INF/jsf-core.tld
    </taglib-location>
    </taglib>
    in your web.xml

  • Jsp taglibs in include files not detected, throws errors, no code insight

    I have a jsp which is included in all the other jsp. it looks something like this
    taglibs.jsp
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
    test.jsp
    <%@ include file="/jsp/menu/taglibs.jsp"%>
    <html>
         <head>
              <title>Tours</title>
         </head>
         <body>
    <form:form commandName="testCommand">
                   <form:hidden path="tour.firstname" id="tour.firstname" />
    and so on.
    I am having 2 problems
    1. the jsp editor show errors all over the place saying
    element path not expected
    element commandName not expected etc.
    2. no code insights.
    but if i include the taglib def in test.jsp it dosn't show any error and also provides code insights. but seldom do people include all taglibs in all jsps.
    is there a way for Jdeveloper to show code insights in jsp pages which includes a jsp or like xml schemas could be added at some place(tools-pref-xml schemas) and when used anywhere, would provide code insights.

    am not sure, try with this
    <jsp:include   .../>

Maybe you are looking for

  • How to set up a virtual directory on Application Server

    The environment of my application is Application server 9i version 2, on windows 2000, form 9.0.2. I am trying to get the ORACLE 9i forms show_document to work. I have successfully created an out file in the server directory. I need the document to b

  • Implementing a secure class loader..

    Hello, We have a custom class loader which loads in custom packages from the database or from the file system. We want to ensure that these custom classes do not read or write into the file system. I want to restrict access to these classes when crea

  • Characteristics in PPPI

    Hi, What is the difference between Process Message Characteristics and Process Instruction Characteristics?  What is the purpose of grouping the characteristics as above? Can we assign a characteristic belongs to Chars group u201CPPPI_02 Process Inst

  • Data Scaling Error

    Hi, I am working through the tutorial file for NI Lookout 6.2. I have attached a screenshot of a Data Scaling Error problem  following completion of the section "Configure Data for Logging, Scaling and Alarms" on page 8 of the tutorial. In the attach

  • Migration Assistant freezes part way through

    Hi, Just migrating my old MacBook over to my new MacBook Pro w/ Migration Assistant over network. Was going fine, then an error appeared on old MacBook saying something about a Network connection failure, and the other computer stopped responding. A