Announcement Announcement Module
Collapse
No announcement yet.
Oracle WebLogic Server 11g (v10.3.5) and SPRING (v3.0.x) taglib integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oracle WebLogic Server 11g (v10.3.5) and SPRING (v3.0.x) taglib integration

    Hello,

    I am newbie...please bear with me.

    I have a running web application (war file) in WebLogic v9.2 that uses SPRING v3.0.x tag libraries in a JSP form. This web application is compiled with JDK v1.5.

    In the interest of upgrading to WebLogic 11g (v10.3.5)....I recompiled the web application with JDK v1.6 and deployed the application on a new server instance in WebLogic 11g. The new server instance in WL 11g has the exact same library dependencies and system properties as its WL v9.2 counterpart.

    A JSP fails on WL 11g with the following error:

    JMSTest.jsp:8: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 prefix="form" uri="http://www.springframework.org/tags/form" %>
    ----
    JMSTest.jsp:8: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 prefix="form" uri="http://www.springframework.org/tags/form" %>
    ----
    JMSTest.jsp:9: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 prefix="spring" uri="http://www.springframework.org/tags" %>
    ----
    JMSTest.jsp:9: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 prefix="spring" uri="http://www.springframework.org/tags" %>
    ----

    Tried many things to no avail:
    1. placing relevant spring libraries (org.springframework.web.servlet-3.0.5.RELEASE.jar) in the WEB-INF/lib dir
    2. placing the spring-form.tld and spring.tld in the WEB-INF dir and adding references into the web.xml (using v2.4 schema here) using the <taglib> tags
    3. added the <prefer-web-inf-classes> tag in weblogic.xml and set to true

    Then realized that I shouldn't have to do all this when migrating from one server version to another unless there are significant changes to relevant JEE specification (i.e. Sevlet spec 2.4 and JSP spec 2.0) or application server behavior (e.g. class loading , JSP parser, etc...).

    Have the SPRING tag libraries been tested in a JDK 1.6 environment (JEE 5, servlet v2.4 and jsp v2.0)?

    Can someone please help me to resolve this problem? Thanks.

  • #2
    I have the same problem with weblogic 12 c.
    Anyone know how to solve? is this problem related with weblogic version?Attachment
    Attached Files

    Comment

    Working...
    X