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.daimami.com/search?q=317