strust1.x 框架遇到一个难题

coco_J 发布于 2014/11/07 12:07
阅读 157
收藏 0

下面是我访问自己写的action后,出错的页面,我是照着例子来的。各位大哥帮帮忙。


HTTP Status 500 - The absolute uri: http://jakarta.apache.org/struts/tags-bean cannot be resolved in either web.xml or the jar files deployed with this application

type Exception report

message The absolute uri: http://jakarta.apache.org/struts/tags-bean cannot be resolved in either web.xml or the jar files deployed with this application

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/struts/tags-bean cannot be resolved in either web.xml or the jar files deployed with this application
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:56)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:278)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:76)
	org.apache.jasper.compiler.TagLibraryInfoImpl.generateTldResourcePath(TagLibraryInfoImpl.java:242)
	org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:124)
	org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:411)
	org.apache.jasper.compiler.Parser.parseDirective(Parser.java:469)
	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1455)
	org.apache.jasper.compiler.Parser.parse(Parser.java:139)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:227)
	org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

note The full stack trace of the root cause is available in the Apache Tomcat/8.0.8 logs.

加载中
0
loyal
loyal

struts1?????

现在至少都是struts2了吧?SpringMVC,JFinal什么的都比较流行...

为毛还搞那个东西啊?


紫海龟
紫海龟
回复 @coco_J : struts2都可以淘汰了,用spring MVC吧
loyal
loyal
@coco_J 恩.已经被淘汰了.你最好选择springmvc或struts2或jfinal
coco_J
coco_J
我想先从这个开始,难道strust1被淘汰了?
0
莱特钉
莱特钉
message写出来了~jsp页面中的taglib找不到对应的class,应该是jsp中用了标签库,但是对应的jar包没导入
coco_J
coco_J
那我要如何导入标签库呢?大哥,麻烦说详细一些。
返回顶部
顶部