Hey,
 
I had the same problem.
Using validating parsers requires the ordering of the XML element exactly as defined by the DTD. Previously I also got Element "xxx" does not allow "yyy" here, but the exact ordering made it working.
 
HTH,
 
Simon
-----Original Message-----
From: G.L. Grobe [mailto:[EMAIL PROTECTED]]
Sent: luned� 23 aprile 2001 3:23
To: [EMAIL PROTECTED]
Subject: [JBoss-user] jboss2.2.1-tomcat3.2.1 w/ struts 1.0_b1 ... does it work

Just started using JBoss and am wondering if anyone has had any success w/ getting struts to work w/ JBoss2.2.1-Tomcat3.2.1. In my J2EE app, I'm having problems with the web-app portion below. Seems it's not liking my web.xml tags and I've already pulled out tags like <welcome-file-list>, now it's not liking the <taglib> tags of struts and I'm not sure what's supposed to be where now.
 
Any help appreciated.
 
------------------ partial jboss output when loading my *.ear -------------------------------
 
[Service Control] Started 25 services
[Default] JBoss 2.2.1 Started in 0m:55s
[EmbeddedTomcat] Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
[EmbeddedTomcat] set, which is probably not what is desired.  Parser will use a default
[EmbeddedTomcat] ErrorHandler to print the first 10 errors.  Please call
[EmbeddedTomcat] the 'setErrorHandler' method to fix this.
[EmbeddedTomcat] Error: URI=null Line=53: Element "web-app" does not allow "taglib" here.
[EmbeddedTomcat] Error: URI=null Line=58: Element "web-app" does not allow "taglib" here.
[EmbeddedTomcat] Error: URI=null Line=63: Element "web-app" does not allow "taglib" here.
[EmbeddedTomcat] Error: URI=null Line=68: Element "web-app" does not allow "taglib" here.
[EmbeddedTomcat] Error: URI=null Line=73: Element "web-app" does not allow "taglib" here.
[EmbeddedTomcat] Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
[EmbeddedTomcat] set, which is probably not what is desired.  Parser will use a default
[EmbeddedTomcat] ErrorHandler to print the first 10 errors.  Please call
[EmbeddedTomcat] the 'setErrorHandler' method to fix this.
[EmbeddedTomcat] Error: URI=null Line=53: Element "web-app" does not allow "taglib" here.
[EmbeddedTomcat] Error: URI=null Line=58: Element "web-app" does not allow "taglib" here.
[EmbeddedTomcat] Error: URI=null Line=63: Element "web-app" does not allow "taglib" here.
[EmbeddedTomcat] Error: URI=null Line=68: Element "web-app" does not allow "taglib" here.
[EmbeddedTomcat] Error: URI=null Line=73: Element "web-app" does not allow "taglib" here.
2001-04-22 06:35:34 - Ctx(  ): JasperException: R(  + /index.jsp + null) Unable to compile class for JSP/u/public/JBoss-2.2.1_Tomcat-3.2.1/tomcat/work/localhost_8080/_0002findex_0002ejspindex_jsp_0.java:66: Class org.apache.struts.taglib.html.HtmlTag not found.

Reply via email to