I'm assuming that you are running under windows since you didn't specify the
environment.  What is that path to the jvm.dll being used by Tomcat?

-----Original Message-----
From: Dmitry Beransky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 11:53 AM
To: [EMAIL PROTECTED]
Subject: bug #21252



Hi,

I've run into the same problem as described by
http://issues.apache.org/bugzilla/show_bug.cgi?id=21252 (I'm using Tomcat
4.1.27).  The bug report's comments say that this issue has been
fixed.  Anyone knows in what version?


Thanks
Dmitry

Here's the error message I'm getting:


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
     [javac] javac: invalid flag: C:\Documents
     [javac] Usage: javac
     [javac] where possible options include:
     [javac]   -g                        Generate all debugging info
     [javac]   -g:none                   Generate no debugging info
     [javac]   -g:{lines,vars,source}    Generate only some debugging info
     [javac]   -nowarn                   Generate no warnings
     [javac]   -verbose                  Output messages about what the
compiler is doing
     [javac]   -deprecation              Output source locations where
deprecated APIs are used
     [javac]   -classpath          Specify where to find user class files
     [javac]   -sourcepath         Specify where to find input source files
     [javac]   -bootclasspath      Override location of bootstrap class
files
     [javac]   -extdirs            Override location of installed extensions
     [javac]   -d             Specify where to place generated class files
     [javac]   -encoding       Specify character encoding used by source
files
     [javac]   -source          Provide source compatibility with specified
release
     [javac]   -target          Generate class files for specific VM version
     [javac]   -help                     Print a synopsis of standard
options




         at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130)
         at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
         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:4
73)
         at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
90)
         at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         [...]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to