2 Replies Latest reply on Apr 19, 2004 10:09 AM by sys user

    help! can't compile JSP(no jdom.jar?) with JBOSS3.2.4RC1

    sys user Master

      AFTER DOWNLOAD JBOSS3.2.4RC1 AND UNZIP, START BY RUN.BAT FROM $(JBOSS324)\BIN,

      FROM http://localhost:8080/jmx-console, everything looks fine, but click on any Hyperlink, promblem like below:

      (what should I do to solve it?)

      org.apache.jasper.JasperException: Unable to compile class for JSP

      An error occurred at line: 10 in the jsp file: /inspectMBean.jsp

      Generated servlet error:
      [javac] Compiling 1 source file

      C:\jboss-3.2.4RC1\server\default\work\jboss.web\localhost\jmx-console\org\apache\jsp\inspectMBean_jsp.java:13: package org.jdom.output does not exist
      import org.jdom.output.XMLOutputter;
      ^
      C:\jboss-3.2.4RC1\server\default\work\jboss.web\localhost\jmx-console\org\apache\jsp\inspectMBean_jsp.java:39: cannot resolve symbol
      symbol : class XMLOutputter
      location: class org.apache.jsp.inspectMBean_jsp
      XMLOutputter xmlOutput = new XMLOutputter();
      ^



      An error occurred at line: 10 in the jsp file: /inspectMBean.jsp

      Generated servlet error:
      C:\jboss-3.2.4RC1\server\default\work\jboss.web\localhost\jmx-console\org\apache\jsp\inspectMBean_jsp.java:39: cannot resolve symbol
      symbol : class XMLOutputter
      location: class org.apache.jsp.inspectMBean_jsp
      XMLOutputter xmlOutput = new XMLOutputter();
      ^



      An error occurred at line: 10 in the jsp file: /inspectMBean.jsp

      Generated servlet error:
      Note: C:\jboss-3.2.4RC1\server\default\work\jboss.web\localhost\jmx-console\org\apache\jsp\inspectMBean_jsp.java uses or overrides a deprecated API.
      Note: Recompile with -deprecation for details.
      3 errors


      org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
      org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
      org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.inspectMBean(HtmlAdaptorServlet.java:183)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:75)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:56)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:856)