日期:2014-05-18  浏览次数:21030 次

访问http://localhost:8080/web-console/出错
jboss4(集成tomcat5.5.9)启动正常
访问http://localhost:8080/   正常
访问http://localhost:8080/jmx-console/   出错
访问http://localhost:8080/web-console/   出错

本人初学者,请高手赐教,在下感激不尽。

出错信息如下:

HTTP   Status   500   -  

--------------------------------------------

type   Exception   report

message  

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

exception  

javax.servlet.ServletException:   org/apache/tools/ant/BuildException
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


root   cause  

java.lang.NoClassDefFoundError:   org/apache/tools/ant/BuildException
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:197)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:508)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


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


--------------------------------------------

Apache   Tomcat/5.5.9


------解决方案--------------------
没看懂你的意思啊,tomcat默认工程文件夹是webapps这个文件夹,如果你想通过tomcat发布你的工程,需要把工程文件夹编译之后放在webapps下,这样才能正常显示啊
------解决方案--------------------
他用的JBOSS, 程序哪块错了,唉,不懂。
------解决方案--------------------
很明显类的路径不对
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html