【问题标题】:No tag library could be found with this URI weblogic 10.3.6使用此 URI weblogic 10.3.6 找不到标记库
【发布时间】:2015-10-29 15:49:25
【问题描述】:

我正在使用 weblogic 10.3.6 开发一个 spring mvc 项目。但是,当我运行应用程序时,出现此错误:

login.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/jsp/jstl/core" prefix="c"%>

    ^----^
login.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/jsp/jstl/core" prefix="c"%>

    ^----^
login.jsp:5: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/jsp/jstl/functions" prefix="fn" %>

    ^----^
login.jsp:5: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/jsp/jstl/functions" prefix="fn" %>

    ^----^
login.jsp:15:6: The tag handler class was not found "jsp_servlet._tags.__headcommons_tag".
    <imap:headCommons/>

     ^--------------^
login.jsp:15:6: The tag handler class was not found "jsp_servlet._tags.__headcommons_tag".
    <imap:headCommons/>

     ^--------------^
headCommons.tag:6: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/jsp/jstl/core" prefix="c" %>

    ^----^
headCommons.tag:6: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/jsp/jstl/core" prefix="c" %>

我正在阅读 Internet 上的所有内容,但我无法解决我的问题。我需要帮助,我该怎么做才能解决这个问题?

我正在使用 jstl 1.2、休眠 4.2.7、spring mvc 3.2.5。和 weblogic 10.3.6.0

【问题讨论】:

  • 我没有手动安装所有 jars。我使用的是 maven。所以 web-ınf/lib 下没有库。我应该把库放在哪里以防止冲突?你能解释更多吗?
  • webapp的/WEB-INF/lib下没有库。我所有的库都在外部库下。

标签: hibernate spring-mvc jstl weblogic


【解决方案1】:

您需要安装 WebLogic 提供的 JSTL 共享库。默认情况下不安装这些。安装步骤可以在这里找到:

http://docs.oracle.com/cd/E21764_01/web.1111/e13712/configurejsfandjtsl.htm#WBAPP197

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多