You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nathan Coast <na...@cableinet.co.uk> on 2001/09/27 15:17:31 UTC
Tiles Newbie - tutorial problem
Hi, I've downloaded the tiles install from
http://www.lifl.fr/~dumoulin/tiles/tiles.zip
I deployed the tiles-doc.war in weblogic and the index page displayed fine.
However, when I clicked on the Tutorial Live examples link:
http://localhost:7001/tiles-doc/tutorial/index.jsp
I get this error:
Thu Sep 27 14:15:13 BST 2001 [Exception in:/tutorial/common/header.jsp] (line
1): Error in using tag library uri='/WEB-INF/struts-html.tld' prefix='html': For
tag 'messages', cannot load extra info class
'com.wintecinc.struts.taglib.html.MessagesTei'
weblogic.servlet.jsp.JspException: (line 1): Error in using tag library
uri='/WEB-INF/struts-html.tld' prefix='html': For tag 'messages', cannot load
extra info class 'com.wintecinc.struts.taglib.html.MessagesTei' at
weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:901) at
weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:949) at
weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:926) at
weblogic.servlet.jsp.StandardTagLib.(StandardTagLib.java:207) at
weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145) at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:4174) at
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4015) at
.............
..........
...........
Any ideas?
Cheers Nathan
Re: Tiles Newbie - tutorial problem
Posted by Cedric Dumoulin <ce...@lifl.fr>.
Hi Nathan,
This is because your web container try to load all classes described in tlds.
Unfortunately, the version of Tiles you use was compiled with an old Struts version,
with an invalid class name in struts-html.tld.
I have updated Tiles distribution, now compiled with latest Struts version. Try to
download latest Tiles version, and it should work fine.
Cedric
Nathan Coast wrote:
> Hi, I've downloaded the tiles install from
>
> http://www.lifl.fr/~dumoulin/tiles/tiles.zip
>
> I deployed the tiles-doc.war in weblogic and the index page displayed fine.
> However, when I clicked on the Tutorial Live examples link:
> http://localhost:7001/tiles-doc/tutorial/index.jsp
>
> I get this error:
>
> Thu Sep 27 14:15:13 BST 2001 [Exception in:/tutorial/common/header.jsp] (line
> 1): Error in using tag library uri='/WEB-INF/struts-html.tld' prefix='html': For
> tag 'messages', cannot load extra info class
> 'com.wintecinc.struts.taglib.html.MessagesTei'
> weblogic.servlet.jsp.JspException: (line 1): Error in using tag library
> uri='/WEB-INF/struts-html.tld' prefix='html': For tag 'messages', cannot load
> extra info class 'com.wintecinc.struts.taglib.html.MessagesTei' at
> weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:901) at
> weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:949) at
> weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:926) at
> weblogic.servlet.jsp.StandardTagLib.(StandardTagLib.java:207) at
> weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145) at
> weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:4174) at
> weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4015) at
> .............
> ..........
> ...........
>
> Any ideas?
>
> Cheers Nathan
Re: Tiles Newbie - tutorial problem
Posted by David Winterfeldt <dw...@yahoo.com>.
There was an error in the struts-html.tld referencing
the wrong class name at some point in the nightly
builds. Try changing
'com.wintecinc.struts.taglib.html.MessagesTei' to
'org.apache.struts.taglib.html.MessagesTei' in the
struts-html.tld file.
David
--- Nathan Coast <na...@cableinet.co.uk> wrote:
> Hi, I've downloaded the tiles install from
>
> http://www.lifl.fr/~dumoulin/tiles/tiles.zip
>
> I deployed the tiles-doc.war in weblogic and the
> index page displayed fine.
> However, when I clicked on the Tutorial Live
> examples link:
> http://localhost:7001/tiles-doc/tutorial/index.jsp
>
> I get this error:
>
> Thu Sep 27 14:15:13 BST 2001 [Exception
> in:/tutorial/common/header.jsp] (line
> 1): Error in using tag library
> uri='/WEB-INF/struts-html.tld' prefix='html': For
> tag 'messages', cannot load extra info class
> 'com.wintecinc.struts.taglib.html.MessagesTei'
> weblogic.servlet.jsp.JspException: (line 1): Error
> in using tag library
> uri='/WEB-INF/struts-html.tld' prefix='html': For
> tag 'messages', cannot load
> extra info class
> 'com.wintecinc.struts.taglib.html.MessagesTei' at
>
weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:901)
> at
>
weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:949)
> at
>
weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:926)
> at
>
weblogic.servlet.jsp.StandardTagLib.(StandardTagLib.java:207)
> at
>
weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
> at
>
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:4174)
> at
>
weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4015)
> at
> .............
> ..........
> ...........
>
> Any ideas?
>
> Cheers Nathan
>
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com