For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > October 2004 > Cannot Find My API class









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Cannot Find My API class
Claudio Almeida

2004-10-31, 8:55 pm

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\localho
st\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

2004-10-31, 8:55 pm


"Claudio Almeida" <cla_clau@terra.com.br> wrote in message
news:5071f717.0410311300.50078cb5@posting.google.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\localho
st\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).


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com