weblogic标签报错
这里是控制台爆的错
GET /qmt/admin/qm_admin_login.jsp HTTP/1.1
Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: JSESSIONID=PJ1pR3sXh4cfBBLfmLFy1F2Q5jyHHZ2vvyw0cvLrhFQlGpwGq9nB!379096156; ADMINCONSOLESESSION=gr6gR3XQWvrsPRnR1vR2byN167MTyty2C2Zy00Vwv6stQ0lkYZv3!-775658963
]] Root cause of ServletException.
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /admin/qm_admin_login.jsp
qm_admin_login.jsp:1:1: Needed class "com.querymart.web.helper.QMAutoLoginBean" is not found.
<%--
^
qm_admin_login.jsp:11:49: The bean type "com.querymart.web.helper.QMAutoLoginBean" was not found.
<jsp:useBean id="pageHelper" scope="page" class="com.querymart.web.helper.QMAutoLoginBean"/>
^----------------------------------------^
qm_admin_login.jsp:18: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/tlds/struts-bean.tld" prefix="bean"%>
^----^
qm_admin_login.jsp:18: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/tlds/struts-bean.tld" prefix="bean"%>
^----^
qm_admin_login.jsp:19: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/tlds/struts-logic.tld" prefix="logic" %>
^----^
qm_admin_login.jsp:19: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/tlds/struts-logic.tld" prefix="logic" %>
^----^
qm_admin_login.jsp:20: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/tlds/struts-html.tld" prefix="html"%>
^----^
qm_admin_login.jsp:20: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/tlds/struts-html.tld" prefix="html"%>
^----^
at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:226)
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:162)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:256)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:244)
Truncated. see log file for complete stacktrace
>
网上说是少了jar包 这里是我的jar包不知道还少了什么包
求大牛指教啊 本人新手
WebLogic tag uri
[解决办法]
指令最好都放在所有代码之前。
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<html:html locale="true">
<head>
<title><bean:message key="change.title"/></title>
<html:base/>
</head>
<body bgcolor="white">
<bean:message key="change.message"/>
<html:link page="/logon.jsp">
<bean:message key="change.try"/>
</html:link>
</body>
</html:html>