hi all ,
          I get an an error  like this.


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

/usr/java/tomcat-5.0.25/work/Catalina/localhost/qwe/org/apache/jsp/index_jsp.java:6: 
'.' expected
import Account;
             ^
1 error


org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406) org.apache.jasper.compiler.Compiler.compile(Compiler.java:463) org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274) 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:810)


at line 6 of index_jsp.java there is an import statement like this.


        import Account;

The class Account is very much there. I tried to put it in WEB-INF/classes, WEB-INF/lib (after making a jar)

But nothing worked. What must be wrong ?



thanks in advance,

Sar




* *

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

Reply via email to