Re: Tomcat configuration and Ant

From: Ryan Stewart (zzanNOtozz_at_gSPAMo.com)
Date: 06/19/04


Date: Sat, 19 Jun 2004 06:40:22 -0500


"Andrew Thompson" <SeeMySites@www.invalid> wrote in message
news:osouzm4f9uxa.1a2zv2849kyua$.dlg@40tude.net...
> 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.



Relevant Pages

  • Re: [opensuse] install tomcat 5.5 with jdk 1.5 from APT on 10.2
    ... Trying to get tomcat 5 installing with APT. ... installation, mightbe due to jdk1.5 is being used instead of 1.4). ... pretty much every distribution I use uses a jvm a bit older or newer ... Another bonus of doing this is that if you thinker any JVM ...
    (SuSE)
  • Re: Eclipse + Tomcat urgent help needed
    ... > installed the components following all the tutorials i could find on ... i am not able to run Tomcat from ... > eclipse and i keep getting a NoClassDefFound exception. ... Tomcat installation and make sure it doesn't contain any blanks. ...
    (comp.lang.java.softwaretools)
  • Re: [opensuse] install tomcat 5.5 with jdk 1.5 from APT on 10.2
    ... Trying to get tomcat 5 installing with APT. ... unable to decide which APT extra repository to use for tomcat 5.x (+jta, ... installation, mightbe due to jdk1.5 is being used instead of 1.4). ... Another bonus of doing this is that if you thinker any JVM ...
    (SuSE)
  • Re: Java Location for Tomcat
    ... the Java installation directory, maybe j2sdk1.4.2_xx where xx is the ... > Tomcat documentation, I discoverd that a JDK or JRE environment ... > environment variable to determine the base path of the JDK or a JRE. ...
    (comp.lang.java.help)
  • [JSP] ignoriertes trimSpaces unter JBoss 4 / Tomcat 5.5
    ... Unter einer Tomcat Standalone Installation ... Prev by Date: ... Next by Date: ...
    (de.comp.lang.java)