Cannot Find My API class  
Author Message
cla_clau





PostPosted: 2004-11-1 5:01:00 Top

java-programmer, Cannot Find My API class There goes the error:

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

An error occurred at line: 0 in the jsp file: /time.jsp

Generated servlet error:
[javac] Compiling 1 source file

F:\JAVA\TomCat41\work\Standalone\localhost\bigj\time_jsp.java:41:
cannot resolve symbol
symbol : class TimeFormatterBean
location: class org.apache.jsp.time_jsp
TimeFormatterBean formatter = null;
^


How can be seen, it cannot locate the TimeFormatterBean class. I've
placed my application in the dir:

%CATALINA_HOME%\webapps\bigj\

and the class in here:

%CATALINA_HOME%\webapps\bigj\WEB-INF\classes

so.. y dam it ain't working?
 
Murray





PostPosted: 2004-11-1 8:17:00 Top

java-programmer >> Cannot Find My API class
"Claudio Almeida" <email***@***.com> wrote in message
news:email***@***.com...
> There goes the error:
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
>
> An error occurred at line: 0 in the jsp file: /time.jsp
>
> Generated servlet error:
> [javac] Compiling 1 source file
>
> F:\JAVA\TomCat41\work\Standalone\localhost\bigj\time_jsp.java:41:
> cannot resolve symbol
> symbol : class TimeFormatterBean
> location: class org.apache.jsp.time_jsp
> TimeFormatterBean formatter = null;
> ^
>
>
> How can be seen, it cannot locate the TimeFormatterBean class. I've
> placed my application in the dir:
>
> %CATALINA_HOME%\webapps\bigj\
>
> and the class in here:
>
> %CATALINA_HOME%\webapps\bigj\WEB-INF\classes
>
> so.. y dam it ain't working?

You might have trouble if your class is in the default package (i.e. not in
a package).