-
HTTP Status 500 -
type
Exception report
message
description
The server
encountered an internal error () that prevented
i
t
from fulfilling this
request.
exception
Exception: The absolute uri:
/jsp/jstl/core cannot be resolved in
either
or the jar files deployed with
this application
or(Defau
:50)
ch(ErrorDisp
:378)
or(ErrorDisp
:118)
teTLDLoca
tion(:316)
raryInfoImpl.
:147)
aglibDire
ctive(Parser
.java:418)
irective(:
483)
lements(:1
539)
(:126)
e(ParserCon
:220)
(ParserContr
:101)
teJava(
a:203)
e(:461
)
e(:442
)
e(:430
)
e(JspCompilatio
:511)
e(JspServle
:274)
eJspFile(JspServle
:292)
e(:
236)
e(:856)
ard(RequestPr
:1085)
sForwardConfi
g(:398)
s(RequestProc
:241)
s(ActionServlet.
java:1196)
(
va:414)
e(:743)
e(:856)
note
The
full stack trace of the root cause is available in
the Tomcat logs.
/jsp/jstl/core cannot
be resolved in either or the jar files deployed
with
this application
貌似你没把
jstl
使用的
jar
文件引入到项目中
myeclispe7.0
的话
直接左侧
【项目】
【右键】
【
MyEclipse
】
【
add
JSTL
】
或者
【项目】
【右键】
【
Bulid
path
】
【
libraries
】
【
add external jars
】找到你下的
jstl
的两个
jar
文件
加了之后要重新发布下项目
跑到
tomcat
安装目录下
webapps
中你发布项目下的
< br>lib
文件夹里看看这两个
jar
在不在
复制
和
文件到
web-
inf/lib
目录在您的项目
这是因为你运行的代码里有的要改为本地文件才可以的
!
你可以把文中出现
/jstl/sql
的地方换成你的
服务器上
jstl/sql
的地址
!
想用下
jstl
,用法如下:
报错结果:
Exception:
The
absolute
uri:
/jsp/jstl/core
cannot be
resolved in either or the jar files deployed with
this application
配置如下:
xmlns=
version=
xmlns:xs
i=
xsi:schemaLocation=
/xml/ns
/javaee/web-app_2_
jsp
页面
<%@ page language=
<%@ taglib
uri=
<%
String
path = textPath();
String
basePath
eme()+
%>
=
-
-
-
-
-
-
-
-
-
上一篇:专题06 读后续写之各种“哭”和“笑”
下一篇:NBU Vault实施文档