File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Unable to compile class for JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Unable to compile class for JSP" Watch "Unable to compile class for JSP" New topic

Unable to compile class for JSP

Chris Cingrani
Ranch Hand

Joined: Nov 21, 2000
Posts: 69
I did a search on this topic, but couldn't find anything that pertained to this error, since I am putting the .class files in the correct spot (WEB-INF/classes) and I am not using a package. However, when I try and run my JSP file, I am seeing the following error. Any thoughts would be appreciated!
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60055

Put your classes in a package. It will save you from getting a flat spot on the side of your head (from banging it against the wall).

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5370
are you importing your classes in JSP ??
It is sorta covered in the JavaRanch Style Guide.
subject: Unable to compile class for JSP
Similar Threads
how to write output of jsp to another file
Unable to compile class when using jsp:useBean
Unable to compile class
please help with tomcat, javabean and jsp
folder for my classes