Hi and thanks in advance for any and all of your time...

The above error appears in the JBoss console window when my ant
script deploys the web module to JBOSS_HOME\server\default\deploy.

I've googled on "ERROR [Digester] Parse Error at line 13 column -1:
Element "taglib" requires additional elements and drew 1 hit
(http://www.cowsultants.com/phpBB/viewtopic.php?t=38) with (for the
most part) almost exactly the exception that I get. I followed the
advice given (namely to remove the taglibs section from web.xml) but
no success.

Another google on: "digester parse error struts" yielded many hits
notably
(http://www.mail-archive.com/struts-user@jakarta.apache.org/msg15448.html)

and some others and they all dealt with similar exceptions but not
the one that I keep getting.

Next, I deployed struts-documentation.war and looked at the
requirements for using struts in my app and double-checked these
against my setup and they were all correct in terms of the
struts*.tld files that need to in WEB-INF, the taglibs in web.xml,
and the descriptors in my .jsp.

However, I must note that in the instructions that I worked from for
this app there's a file named struts.tld that need to be included in
WEB-INF but which I could not find in struts\lib???

Needless to say, this is the first time that I'm using struts.

Have I missed something?

Many thanks in advance

Zain

Below is the output from the console:

12:47:24,399 INFO  [Engine] WebappLoader[/HelloClient]: Deploy JAR
/WEB-INF/lib/
struts.jar to D:
\Java\jboss\tomcat\work\MainEngine\localhost\HelloClient\WEB-INF
\lib\struts.jar
12:47:25,160 ERROR [Digester] Parse Error at line 13 column -1:
Element "taglib"
 requires additional elements.
org.xml.sax.SAXParseException: Element "taglib" requires additional
elements.
        at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)
        at
org.apache.crimson.parser.ValidatingParser$ChildrenValidator.done(Val
idatingParser.java:361)
        at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1519)
        at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)

        at
org.apache.commons.digester.Digester.parse(Digester.java:1514)
        at
org.apache.catalina.startup.ContextConfig.tldScanStream(ContextConfig
.java:977)
        at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.ja
va:1006)
        at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:
870)
        at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:64
7)
        at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:243)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
493)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

        at
org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(Emb
eddedCatalinaService41.java:432)
        at
org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(Embedd
edCatalinaService41.java:306)
        at
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:30
0)
        at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:807)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
        at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
        at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
        at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
        at $Proxy4.deploy(Unknown Source)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:435)
        at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:561)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:212)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:225)
        at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:202)





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to