You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by aps olute <ap...@yahoo.com> on 2002/12/07 23:14:46 UTC
tiles-documentation causing a Digester error -"plug-in" must be declared?
I am getting this error in the log, and since not all the links under the menu
of this http://localhost:8080/tiles-documentation/examples/index.jsp is
working, I will pressume those are related to the error.
27 Dec 7, 2002 12:40:40 PM org.apache.struts.util.PropertyMessageResources
<init>
28 INFO: Initializing, config='org.apache.struts.action.ActionResources',
r
eturnNull=true
29 Dec 7, 2002 12:40:41 PM org.apache.struts.util.PropertyMessageResources
<init>
30 INFO: Initializing,
config='org.apache.struts.example.tiles.dev1-1.Appli
cationResources', returnNull=true
31 Dec 7, 2002 12:40:42 PM org.apache.struts.util.PropertyMessageResources
<init>
32 INFO: Initializing,
config='org.apache.struts.webapp.tiles.dev1-1.Applic
ationResources', returnNull=true
33 Dec 7, 2002 12:40:43 PM org.apache.commons.digester.Digester error
34 SEVERE: Parse Error at line 90 column 61: Element type "plug-in" must
be
declared.
35 org.xml.sax.SAXParseException: Element type "plug-in" must be declared.
36 at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExceptio
n(ErrorHandlerWrapper.java:232)
37 at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrap
per.java:173)
38 at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorRepor
ter.java:362)
Furthermore, how to fix that "plug-in" must be declared error? The error points
to line 90 but line is not related to tiles. The struts-config.xml has this:
89 <forward name="success" path="/test/layout.jsp"/>
90 <forward name="failure" path="test.struts.action.fail"/>
91 </action>
...
235 <plug-in className="org.apache.struts.tiles.TilesPlugin" >
236 <set-property property="definitions-config"
237 value="/WEB-INF/tiles-defs.xml,
238
/WEB-INF/tiles-tests-defs.xml,/WEB-INF/tiles
-tutorial-defs.xml,
239 /WEB-INF/tiles-examples-defs.xml" />
240 <set-property property="definitions-debug" value="1" />
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: tiles-documentation causing a Digester error -"plug-in" must
be declared?
Posted by Cedric Dumoulin <ce...@apache.org>.
Are you sure you are checking the right file ?
Cedric
aps olute wrote:
>I am getting this error in the log, and since not all the links under the menu
>of this http://localhost:8080/tiles-documentation/examples/index.jsp is
>working, I will pressume those are related to the error.
>
>27 Dec 7, 2002 12:40:40 PM org.apache.struts.util.PropertyMessageResources
><init>
> 28 INFO: Initializing, config='org.apache.struts.action.ActionResources',
>r
>eturnNull=true
> 29 Dec 7, 2002 12:40:41 PM org.apache.struts.util.PropertyMessageResources
><init>
> 30 INFO: Initializing,
>config='org.apache.struts.example.tiles.dev1-1.Appli
>cationResources', returnNull=true
> 31 Dec 7, 2002 12:40:42 PM org.apache.struts.util.PropertyMessageResources
><init>
> 32 INFO: Initializing,
>config='org.apache.struts.webapp.tiles.dev1-1.Applic
>ationResources', returnNull=true
> 33 Dec 7, 2002 12:40:43 PM org.apache.commons.digester.Digester error
> 34 SEVERE: Parse Error at line 90 column 61: Element type "plug-in" must
>be
> declared.
> 35 org.xml.sax.SAXParseException: Element type "plug-in" must be declared.
> 36 at
>org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseExceptio
>n(ErrorHandlerWrapper.java:232)
> 37 at
>org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrap
>per.java:173)
> 38 at
>org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorRepor
>ter.java:362)
>
>Furthermore, how to fix that "plug-in" must be declared error? The error points
>to line 90 but line is not related to tiles. The struts-config.xml has this:
>
> 89 <forward name="success" path="/test/layout.jsp"/>
> 90 <forward name="failure" path="test.struts.action.fail"/>
> 91 </action>
>...
> 235 <plug-in className="org.apache.struts.tiles.TilesPlugin" >
> 236 <set-property property="definitions-config"
> 237 value="/WEB-INF/tiles-defs.xml,
> 238
>/WEB-INF/tiles-tests-defs.xml,/WEB-INF/tiles
>-tutorial-defs.xml,
> 239 /WEB-INF/tiles-examples-defs.xml" />
> 240 <set-property property="definitions-debug" value="1" />
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>