OOPS! Forgot attachment in previous.

Tony Ziolkowski wrote:

> Ok, I changed it so my two classes are under 
> WEB-INF/classes/org/apache/jsp and they are both in package 
> org.apache.jsp. Now I get a different error. The .war file is attached
>
> The error is:
>
> org.apache.jasper.compiler.CompileException: /index.jsp(7,3) Unable to 
> load class HTML_FormatTag
>     at 
> org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139) 
>
>     at 
> 
>org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:822)
> 
>
>     at 
> 
>org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:151)
> 
>
>     at 
> 
>org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1032)
> 
>
>     at 
> 
>org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:217)
> 
>
>     at 
> 
>org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:212)
> 
>
>     at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:878)
>     at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
>
> followed by more stack trace.
>
>
>
> Hill, Donald wrote:
>
>> Check the package path under the classes....
>>
>>
>>
>> -----Original Message-----
>> From: Tony Ziolkowski [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, March 08, 2002 10:56 AM
>> To: [EMAIL PROTECTED]
>> Subject: Newbie question - what is wrong with this .war?
>>
>>
>> Hi. I'm trying my first taglib exercise and it doesn't work. I am 
>> using tomcat4. Attched is the war file I tried.
>> When I try to reach my test page i get the following error:
>>
>> org.apache.jasper.JasperException: Unable to compile class for JSPNote:
>> sun.tools.javac.Main has been deprecated.
>>
>>
>> An error occurred at line: 8 in the jsp file: /index.jsp
>>
>> Generated servlet error:
>> /var/tomcat4/work/localhost/taglib/index$jsp.java:59: Class
>> org.apache.jsp.HTML_FormatTag not found.
>>                HTML_FormatTag _jspx_th_Tonyz_HTMLEncode_0 = new
>> HTML_FormatTag();
>>                ^
>>
>>
>>
>>
>>
>> -- 
>> To unsubscribe, e-mail:   
>> <mailto:[EMAIL PROTECTED]>
>> For additional commands, e-mail: 
>> <mailto:[EMAIL PROTECTED]>
>>
>>
>
>
>
> -- 
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
>
>

Attachment: taglib.war
Description: Binary data

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

Reply via email to