You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Gerard Mason <ge...@hotmail.com> on 2004/01/08 16:19:08 UTC
ValidationException deploying a webapp containing a second tag library
My web.xml already contains one taglib element for portlet.tld, now I have
just added another for an in-house tag library, and I'm running into a
problem when I try to deploy to pluto using the recommended technique (error
message is below).
Since http://java.sun.com/dtd/web-app_2_3.dtd says "taglib*" in the
appropriate place, I think this must be a bug. Has it been fixed? Anyone
point me to where I would hack to fix it myself?
NB I downloaded the code about the 25th November.
Cheers,
Gerard.
[exec] DeployPortletWAR.foreach:
[exec] DeployPortlet.intern:
[exec] deploying 'gems' ...
[exec] finished!
[exec] prepare web archive 'gems' ...
[exec] ValidationException: element "taglib" occurs more than once.
(XMLFieldDesciptor: castorTagDefinition AS taglib)
[exec] at org.exolab.castor.xml.UnmarshalHandler.endElement(Unknown
Source)
[exec] at
org.exolab.castor.xml.util.DOMEventProducer.process(Unknown Source)
[exec] at
org.exolab.castor.xml.util.DOMEventProducer.process(Unknown Source)
[exec] at
org.exolab.castor.xml.util.DOMEventProducer.processChildren(Unknown Source)
[exec] at
org.exolab.castor.xml.util.DOMEventProducer.process(Unknown Source)
[exec] at
org.exolab.castor.xml.util.DOMEventProducer.process(Unknown Source)
[exec] at
org.exolab.castor.xml.util.DOMEventProducer.processChildren(Unknown Source)
[exec] at
org.exolab.castor.xml.util.DOMEventProducer.process(Unknown Source)
[exec] at
org.exolab.castor.xml.util.DOMEventProducer.process(Unknown Source)
[exec] at org.exolab.castor.xml.util.DOMEventProducer.start(Unknown
Source)
[exec] at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown
Source)
[exec] at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown
Source)
[exec] at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:230)
[exec] at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
[exec] java.lang.Exception
[exec] at
org.apache.pluto.portalImpl.Deploy.prepareWebArchive(Deploy.java:438)
[exec] at org.apache.pluto.portalImpl.Deploy.main(Deploy.java:517)
_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today!
http://www.msn.co.uk/messenger