Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » WebService/XML/JSON/SOAP/SOA  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 [求助]Tomcat 5.5不能使用struts
chenyuelin





发贴: 3
积分: 0
于 2006-10-01 15:09 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
初学struts就遇到了问题。
我下载完struts1.3.5,然后把struts-el-example-1.3.5.war文件放到Tomcat的webapps文件包里。
之后运行Tomcat,进入http://localhost:8080/一切正常;当我进入http://localhost:8080/struts-el-example-1.3.5/index.jsp后出现如下错误
type Exception report

message

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

exception

javax.servlet.ServletException: javax/servlet/jsp/tagext/TagExtraInfo
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagExtraInfo
  java.lang.ClassLoader.defineClass1(Native Method)
  java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  java.security.AccessController.doPrivileged(Native Method)
  java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1267)
  org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
  org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:419)
  org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
  org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:179)
  org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
  org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
  org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
  org.apache.jasper.compiler.Parser.parse(Parser.java:126)
  org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
  org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
  org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
  org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
  org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

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

请问大家,我应该怎么办啊?




话题树型展开
人气 标题 作者 字数 发贴时间
10293 [求助]Tomcat 5.5不能使用struts chenyuelin 2979 2006-10-01 15:09
9149 Re:[求助]Tomcat 5.5不能使用struts zyjie825 40 2006-10-11 16:20

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923