• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weird exception, can't figure it out

Leandro Melo
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i recently switched computers and, consequently, needed to reconfigure stuff.
I'm using eclipse, jboss, xdoclet, easystruts, etc..., what i really think that doesn't matter to answer my question.
Basically, everything seemed to be ok, but...
If run jboss (with my app deployed) from the command line, everything works fine (my app, jboss web console, etc...).
When i run jboss from inside eclipse, it starts with no problems, but when i try to access my jsps, or jboss web-consoler, i get the following exception.

org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
... continues

I think i might be missing some configuration in eclipse, but i can't figure it out (i even took some of eclipse folders i have on the other computer, but didn't work).
Any kind of help will be trylly apreciated.
Bear Bibeault
Author and ninkuma
Posts: 65274
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the IDEs forum.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic