Tomcat configuration and Ant

A

Andrew Thompson

I was just trying to compile a JSP on my
local Tomcat and got this error..

"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] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] javac: invalid flag: C:\Program
[javac] Usage: javac .."

The only significant change to my system recently
was the installation of Ant for building SaverBeans
projects.

My question is, ..is the installation of Ant
a possible / likely source of this error?
Where do I look, to further investigate it?

TIA
 
R

Ryan Stewart

Andrew Thompson said:
I was just trying to compile a JSP on my
local Tomcat and got this error..

"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] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] javac: invalid flag: C:\Program
[javac] Usage: javac .."

The only significant change to my system recently
was the installation of Ant for building SaverBeans
projects.

My question is, ..is the installation of Ant
a possible / likely source of this error?
Where do I look, to further investigate it?

TIA
That can happen if you have spaces Tomcat path, which it looks like you do.
If you've defined the CATALINA_HOME variable, try enclosing the path in
quotes. Or you can use DOS compatible paths, like C:\Progra~1\... Or you can
move Tomcat to a path with no spaces.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top