tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
Subject RE: Newbie question - what is wrong with this .war?
Date Sat, 09 Mar 2002 08:45:32 GMT
the web-inf folder must be named WEB-INF


> -----Original Message-----
> From: Tony Ziolkowski [mailto:aziolk@rogers.com]
> Sent: 8. mars 2002 21:22
> To: Tag Libraries Users List
> Subject: Re: Newbie question - what is wrong with this .war?
> 
> 
> 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(TagBeginGene
> rator.java:139) 
> >
> >     at 
> > 
> org.apache.jasper.compiler.JspParseEventListener$GeneratorWrap
> per.init(JspParseEventListener.java:822) 
> >
> >     at 
> > 
> org.apache.jasper.compiler.JspParseEventListener.addGenerator(
> JspParseEventListener.java:151) 
> >
> >     at 
> > 
> org.apache.jasper.compiler.JspParseEventListener.handleTagBegi
> n(JspParseEventListener.java:1032) 
> >
> >     at 
> > 
> org.apache.jasper.compiler.DelegatingListener.handleTagBegin(D
> elegatingListener.java:217) 
> >
> >     at 
> > 
> org.apache.jasper.compiler.DelegatingListener.handleTagBegin(D
> elegatingListener.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:aziolk@rogers.com]
> >> Sent: Friday, March 08, 2002 10:56 AM
> >> To: taglibs-user@jakarta.apache.org
> >> 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:taglibs-user-unsubscribe@jakarta.apache.org>
> >> For additional commands, e-mail: 
> >> <mailto:taglibs-user-help@jakarta.apache.org>
> >>
> >>
> >
> >
> >
> > -- 
> > To unsubscribe, e-mail:   
> > <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:taglibs-user-help@jakarta.apache.org>
> >
> >
> 
> 

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message