Your question is better asked in dedicated plugins
list. This list is for xdoclet core development.
Probable cause for your problem could be that you
failed to include your mergedir into classpath.
regards,
--- Ittay Dror <[EMAIL PROTECTED]> wrote:
i have a servlets.xml file, which worked for xdoclet
1 and contains just a bunch of <servlet> </servlet>
tags (no <?xml> tag, or anything else)
xdoclet chokes with:
Caused by:
org.apache.commons.jelly.JellyTagException:
jar:file:/home/ittayd/.maven/repository/xdoclet-plugins/jars/xdoclet-plugin-web-1.0.2.jar!/org/xdoclet/plugin/web/WebPlugin.jelly:100:58:
<x:merge> could not import script
at
org.xdoclet.plugin.web.jelly.MergeTag.doTag(MergeTag.java:69)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at
org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65)
at
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:102)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at
org.apache.commons.jelly.tags.core.JellyTag.doTag(JellyTag.java:45)
at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:704)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:590)
at
org.generama.JellyTemplateEngine.generate(JellyTemplateEngine.java:51)
... 23 more
Caused by: org.apache.commons.jelly.JellyException:
null:-1:-1: <null> Could not parse Jelly script
at
org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:547)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:678)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668)
at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:655)
at
org.xdoclet.plugin.web.jelly.MergeTag.doTag(MergeTag.java:66)
... 36 more
Caused by: org.xml.sax.SAXParseException: The markup
in the document following the root element must be
well-formed.
at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:254)
at
org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:543)
... 40 more
please help,
thanx,
ittay
--
===================================
Ittay Dror ([EMAIL PROTECTED])
Application Team Leader, R&D
Qlusters Inc.
+972-3-6081994 Fax: +972-3-6081841
----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x? XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs