tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: servlet cannot find depending JAR file
Date Mon, 19 Jun 2000 17:02:05 GMT
Peter Jasko wrote:

> I get a similar problem using Tomcat on NT but in my case I've checked and
> the JAR file is in Tomcat's classpath:
>
> org.apache.jasper.JasperException: Unable to compile class for
> JSPC:\Apps\java\tomcat\work\localhost_8080%2Fv\_0002ferror_0002ejsperror_jsp
> _0.java:15: Package javax.mail not found in import.
> import javax.mail.*;
>
> Starting tomcat install="c:\apps\java\tomcat" home="C:\Apps\java\tomcat"
> classPa
> th="c:\apps\java\tomcat\classes;c:\apps\java\tomcat\lib\webserver.jar;c:\app
> s\ja
> va\tomcat\lib\jasper.jar;c:\apps\java\tomcat\lib\xml.jar;c:\apps\java\tomcat
> \lib
> \servlet.jar;c:\apps\java\jdk1.3\lib\tools.jar;.;c:\apps\java\jaf-1.0.1\ac
> tivation.jar;c\apps\java\javamail-1.1.3\mail.jar;"
>

Err, maybe the missing ":" character in the path to your mail.jar file :-)?

It should be:

    c:\apps\java\javamaikl-1.1.3\mail.jar
     ^

>
> Any clues as to what might be the problem?
>
> Thanks in advance,
> Peter
>

Craig McClanahan




Mime
View raw message