tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Carlsson" <mailli...@javalia.se>
Subject Re: New User needing urgent help
Date Sat, 23 Oct 2004 17:47:12 GMT
Hi Steve!

I don't belive that you can import at root-level. You have to put your 
classes in a package (folder) that you then put in the web-inf/classes.

Regards
Roland


----- Original Message ----- 
From: "Steven R. Christensen" <steve@hurricanedigitalmedia.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Saturday, October 23, 2004 7:42 PM
Subject: New User needing urgent help


Hello,  I am new to using Tomcat and am having difficulty getting an 
application to work.  Any
help would be greatly appreciated.  I have a web app that is giving me the 
following errors and can't seem to find why.  Thanks in advance for your 
help.

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:6:

'.' expected
import Account;
              ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:7:

'.' expected
import Banner;
             ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:8:

'.' expected
import CalDate;
              ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:9:

'.' expected
import Campaign;
               ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:10:

'.' expected
import Dates;
            ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:11:

'.' expected
import DB;
         ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:12:

'.' expected
import DetectOSBrowser;
                      ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:13:

'.' expected
import Environment;
                  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:14:

'.' expected
import GetAdServlet;
                   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:15:

'.' expected
import GetLinkServlet;
                     ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:16:

'.' expected
import Javamail;
               ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:17:

'.' expected
import Keys;
           ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:18:

'.' expected
import LicenseCheck;
                   ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:19:

'.' expected
import LogError;
               ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:20:

'.' expected
import LogonValidation;
                      ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:21:

'.' expected
import LogsCutover;
                  ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:22:

'.' expected
import Msgsend;
              ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:23:

'.' expected
import Popwindow;
                ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:24:

'.' expected
import Region;
             ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:25:

'.' expected
import Sendmail;
               ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:26:

'.' expected
import servletUpload;
                    ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:27:

'.' expected
import SmartHello;
                 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:28:

'.' expected
import Stats;
            ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:29:

'.' expected
import Subscriber;
                 ^


Generated servlet error:
D:\christensen2.m6.net\Tomcat5\work\Catalina\localhost\advert_java\org\apache\jsp\setup_jsp.java:30:

'.' expected
import Zone;
           ^
25 errors



org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message