org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors: C:\geronimo\bin\jar:file:C:\geronimo\repository\ org\apache\tuscany\sca\sample-calculator-webapp\1.4\sample-calculator-webapp-1.4 .war\WEB-INF\lib\tuscany-host-webapp-1.4.jar!\META-INF\sca.tld:12:1: error: uniq attspec: Duplicate attribute: version in element taglib@http://java.sun.com/xml/ ns/javaee Descriptor: <!--(c) Copyright BEA Systems, Inc., Cape Clear Software, International Business Machines Corp, Interface21, IONA Technologies, Oracle, Primeton Technologies, Progress Software, Red Hat, Rogue W ave Software, SAP AG., Siemens AG., Software AG., Sun Microsystems, Inc., Sybase Inc., TIBCO Software Inc., 200 5, 2008. All rights reserved. see http://www.osoa.org/display/Main/Service+Component+Architecture+Specificatio ns--> <taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.c om/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1" xmlns:xsi=" http://www. w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"> <description>A tag library for integrating sca components with jsp</descriptio n> <tlib-version>1.0</tlib-version> <short-name>SCA-JSP</short-name> <uri>http://www.osoa.org/sca/sca_jsp.tld</uri> <tag> <name>reference</name> <tag-class>org.apache.tuscany.sca.host.webapp.jsp.ReferenceTag</tag-class> <tei-class>org.apache.tuscany.sca.host.webapp.jsp.ReferenceTEI</tei-class> <body-content>empty</body-content> <attribute> <name>name</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <name>type</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <type>java.lang.Integer</type> </attribute> </tag> </taglib>

tuscany-user | Phani Madgula | 8 years ago
  1. 0

    Throwing errors when running sample-calculator-webapp.war

    tuscany-user | 8 years ago | Phani Madgula
    org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors: C:\geronimo\bin\jar:file:C:\geronimo\repository\ org\apache\tuscany\sca\sample-calculator-webapp\1.4\sample-calculator-webapp-1.4 .war\WEB-INF\lib\tuscany-host-webapp-1.4.jar!\META-INF\sca.tld:12:1: error: uniq attspec: Duplicate attribute: version in element taglib@http://java.sun.com/xml/ ns/javaee Descriptor: <!--(c) Copyright BEA Systems, Inc., Cape Clear Software, International Business Machines Corp, Interface21, IONA Technologies, Oracle, Primeton Technologies, Progress Software, Red Hat, Rogue W ave Software, SAP AG., Siemens AG., Software AG., Sun Microsystems, Inc., Sybase Inc., TIBCO Software Inc., 200 5, 2008. All rights reserved. see http://www.osoa.org/display/Main/Service+Component+Architecture+Specificatio ns--> <taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.c om/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1" xmlns:xsi=" http://www. w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"> <description>A tag library for integrating sca components with jsp</descriptio n> <tlib-version>1.0</tlib-version> <short-name>SCA-JSP</short-name> <uri>http://www.osoa.org/sca/sca_jsp.tld</uri> <tag> <name>reference</name> <tag-class>org.apache.tuscany.sca.host.webapp.jsp.ReferenceTag</tag-class> <tei-class>org.apache.tuscany.sca.host.webapp.jsp.ReferenceTEI</tei-class> <body-content>empty</body-content> <attribute> <name>name</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <name>type</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <type>java.lang.Integer</type> </attribute> </tag> </taglib>
  2. 0

    Re: jRuby on Geronimo 2.1.3 invalid taglibs

    geronimo-user | 8 years ago | fmchale
    org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors: jar:file:/Users/frederickmchale/Documents/geronimo-jetty6-javaee5-2.1.3/repository/default/j_test/1228538323041/j_test-1228538323041.war/WEB-INF/lib/jruby-rack-0.9.3.jar!/META-INF/jruby-rack.tld:11:5: error: cvc-complex-type.2.4a: Expected elements 'variable@http://java.sun.com/xml/ns/javaee attribute@http://java.sun.com/xml/ns/javaee dynamic-attributes@http://java.sun.com/xml/ns/javaee example@http://java.sun.com/xml/ns/javaee tag-extension@http://java.sun.com/xml/ns/javaee' instead of 'info@http://java.sun.com/xml/ns/javaee' here in element tag@http://java.sun.com/xml/ns/javaee jar:file:/Users/frederickmchale/Documents/geronimo-jetty6-javaee5-2.1.3/repository/default/j_test/1228538323041/j_test-1228538323041.war/WEB-INF/lib/jruby-rack-0.9.3.jar!/META-INF/jruby-rack.tld:29:5: error: cvc-complex-type.2.4a: Expected elements 'variable@http://java.sun.com/xml/ns/javaee attribute@http://java.sun.com/xml/ns/javaee dynamic-attributes@http://java.sun.com/xml/ns/javaee example@http://java.sun.com/xml/ns/javaee tag-extension@http://java.sun.com/xml/ns/javaee' instead of 'info@http://java.sun.com/xml/ns/javaee' here in element tag@http://java.sun.com/xml/ns/javaee Descriptor: <jav:taglib version="2.1" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jav="http://java.sun.com/xml/ns/javaee"> <jav:tlib-version>1.0</jav:tlib-version> <jav:short-name>jruby-rack</jav:short-name> <jav:uri>urn:org.jruby.rack</jav:uri> <jav:tag> <jav:name>rails</jav:name> <jav:tag-class>org.jruby.rack.RackTag</jav:tag-class> <jav:body-content>empty</jav:body-content> <jav:info>Makes requests to the rails application and renders the results to the page</jav:info> <jav:attribute> <jav:name>path</jav:name> <jav:required>true</jav:required> <jav:rtexprvalue>true</jav:rtexprvalue> <jav:type>java.lang.String</jav:type> </jav:attribute> <jav:attribute> <jav:name>params</jav:name> <jav:required>false</jav:required> <jav:rtexprvalue>true</jav:rtexprvalue> <jav:type>java.lang.String</jav:type> </jav:attribute> </jav:tag> <jav:tag> <jav:name>rack</jav:name> <jav:tag-class>org.jruby.rack.RackTag</jav:tag-class> <jav:body-content>empty</jav:body-content> <jav:info>Makes requests to the rack application and renders the results to the page</jav:info> <jav:attribute> <jav:name>path</jav:name> <jav:required>true</jav:required> <jav:rtexprvalue>true</jav:rtexprvalue> <jav:type>java.lang.String</jav:type> </jav:attribute> <jav:attribute> <jav:name>params</jav:name> <jav:required>false</jav:required> <jav:rtexprvalue>true</jav:rtexprvalue> <jav:type>java.lang.String</jav:type> </jav:attribute> </jav:tag> </jav:taglib>
  3. 0

    This problem occurs only in Geronimo 2.X server. Please find the error description. > at > org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:219) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.convertToTaglibSchema(JspModuleBuilderExtension.java:675) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.parseTldFile(JspModuleBuilderExtension.java:433) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getListenerClasses(JspModuleBuilderExtension.java:420) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:180) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:149) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension$$FastClassByCGLIB$$1f60ab3b.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.ModuleBuilderExtension$$EnhancerByCGLIB$$48830c61.addGBeans(<generated>) > > at > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:441) > > at > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder$$FastClassByCGLIB$$6f85ec2c.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$d2a1ea22.addGBeans(<generated>) > > at > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165) > > at > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$d2a1ea22.addGBeans(<generated>) > > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:620) > > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$9cf6437.buildConfiguration(<generated>) > > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124) > at > org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:863) > > at > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) > at > org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > > at > org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > > at java.lang.Thread.run(Thread.java:595) > 22:35:10,629 WARN [JspModuleBuilderExtension] Invalid transformed taglib > org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors: > > jar:file:/home/lasantha/installation/geronimo/geronimo-tomcat6/repository/default/opencrm-1.0-SNAPSHOT/1182618306548/opencrm-1.0-SNAPSHOT-1182618306548.war/WEB-INF/lib/struts-menu-2.4.2.jar!/META-INF/struts-menu.tld:9:3: > error: cvc-datatype-valid.1.1: string value '2.2-dev' does not match > pattern for dewey-versionType in namespace > http://java.sun.com/xml/ns/javaee > > Descriptor: > <taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" > version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns="http://java.sun.com/xml/ns/javaee"> > <!--============== Tag Library Description Elements =============--> > <tlib-version>2.2-dev</tlib-version> > <short-name>menu</short-name> > <uri>http://struts-menu.sf.net/tag</uri> > <tag> > <name>useMenuDisplayer</name> > <tag-class>net.sf.navigator.taglib.UseMenuDisplayerTag</tag-class> > <body-content>JSP</body-content> > <attribute> > <name>id</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>name</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>bundle</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>config</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>locale</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>permissions</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>repository</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > </tag> > <tag> > <name>displayMenu</name> > <tag-class>net.sf.navigator.taglib.DisplayMenuTag</tag-class> > <body-content>scriptless</body-content> > <attribute> > <name>name</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>target</name> > <required>false</required> > <rtexprvalue>false</rtexprvalue> > </attribute> > </tag> > </taglib> > > at > org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:219) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.convertToTaglibSchema(JspModuleBuilderExtension.java:675) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.parseTldFile(JspModuleBuilderExtension.java:433) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getListenerClasses(JspModuleBuilderExtension.java:420) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:180) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:149) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension$$FastClassByCGLIB$$1f60ab3b.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.ModuleBuilderExtension$$EnhancerByCGLIB$$48830c61.addGBeans(<generated>) > > at > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:441) > > at > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder$$FastClassByCGLIB$$6f85ec2c.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$d2a1ea22.addGBeans(<generated>) > > at > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165) > > at > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$d2a1ea22.addGBeans(<generated>) > > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:620) > > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$9cf6437.buildConfiguration(<generated>) > > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124) > at > org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:863) > > at > org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) > at > org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > > at > org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > > at java.lang.Thread.run(Thread.java:595) > AbandonedObjectPool is used > (org.apache.commons.dbcp.AbandonedObjectPool@e55d75) > LogAbandoned: false > RemoveAbandoned: true > RemoveAbandonedTimeout: 60 > >

    AppFuse JIRA | 9 years ago | Lasantha Ranaweera
    org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors: > > jar:file:/home/lasantha/installation/geronimo/geronimo-tomcat6/repository/default/opencrm-1.0-SNAPSHOT/1182618306548/opencrm-1.0-SNAPSHOT-1182618306548.war/WEB-INF/lib/struts-menu-2.4.2.jar!/META-INF/struts-menu.tld:9:3: > error: cvc-datatype-valid.1.1: string value '2.2-dev' does not match > pattern for dewey-versionType in namespace > http://java.sun.com/xml/ns/javaee > > Descriptor: > <taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" > version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns="http://java.sun.com/xml/ns/javaee"> > <!--============== Tag Library Description Elements =============--> > <tlib-version>2.2-dev</tlib-version> > <short-name>menu</short-name> > <uri>http://struts-menu.sf.net/tag</uri> > <tag> > <name>useMenuDisplayer</name> > <tag-class>net.sf.navigator.taglib.UseMenuDisplayerTag</tag-class> > <body-content>JSP</body-content> > <attribute> > <name>id</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>name</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>bundle</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>config</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>locale</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>permissions</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>repository</name> > <required>false</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > </tag> > <tag> > <name>displayMenu</name> > <tag-class>net.sf.navigator.taglib.DisplayMenuTag</tag-class> > <body-content>scriptless</body-content> > <attribute> > <name>name</name> > <required>true</required> > <rtexprvalue>true</rtexprvalue> > </attribute> > <attribute> > <name>target</name> > <required>false</required> > <rtexprvalue>false</rtexprvalue> > </attribute> > </tag> > </taglib> > > at > org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:219) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.convertToTaglibSchema(JspModuleBuilderExtension.java:675) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.parseTldFile(JspModuleBuilderExtension.java:433) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getListenerClasses(JspModuleBuilderExtension.java:420) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:180) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:149) > > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension$$FastClassByCGLIB$$1f60ab3b.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.ModuleBuilderExtension$$EnhancerByCGLIB$$48830c61.addGBeans(<generated>) > > at > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:441) > > at > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder$$FastClassByCGLIB$$6f85ec2c.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:127) > > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:828) > > at > org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > > at > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > > at > org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$d2a1ea22.addGBeans(<generated>) > > at > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165) > > at > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to change SchemaType to XML Schema?

    xmlbeans-user | 8 years ago | Andy Putnins
    org.apache.xmlbeans.XmlException: Thread main: The 0th supplied input is not a schema document: its type is E=configSchema|T=metadataType@http://lett.com/ns/netconf/server/meta/1.0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.xmlbeans.XmlException

      Invalid deployment descriptor: errors: C:\geronimo\bin\jar:file:C:\geronimo\repository\ org\apache\tuscany\sca\sample-calculator-webapp\1.4\sample-calculator-webapp-1.4 .war\WEB-INF\lib\tuscany-host-webapp-1.4.jar!\META-INF\sca.tld:12:1: error: uniq attspec: Duplicate attribute: version in element taglib@http://java.sun.com/xml/ ns/javaee Descriptor: <!--(c) Copyright BEA Systems, Inc., Cape Clear Software, International Business Machines Corp, Interface21, IONA Technologies, Oracle, Primeton Technologies, Progress Software, Red Hat, Rogue W ave Software, SAP AG., Siemens AG., Software AG., Sun Microsystems, Inc., Sybase Inc., TIBCO Software Inc., 200 5, 2008. All rights reserved. see http://www.osoa.org/display/Main/Service+Component+Architecture+Specificatio ns--> <taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.c om/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1" xmlns:xsi=" http://www. w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"> <description>A tag library for integrating sca components with jsp</descriptio n> <tlib-version>1.0</tlib-version> <short-name>SCA-JSP</short-name> <uri>http://www.osoa.org/sca/sca_jsp.tld</uri> <tag> <name>reference</name> <tag-class>org.apache.tuscany.sca.host.webapp.jsp.ReferenceTag</tag-class> <tei-class>org.apache.tuscany.sca.host.webapp.jsp.ReferenceTEI</tei-class> <body-content>empty</body-content> <attribute> <name>name</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <name>type</name> <required>true</required> <rtexprvalue>false</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <name>scope</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <type>java.lang.Integer</type> </attribute> </tag> </taglib>

      at org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD()
    2. Geronimo :: Deployment
      XmlBeansUtil.validateDD
      1. org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:226)
      1 frame
    3. org.apache.geronimo
      JspModuleBuilderExtension.addGBeans
      1. org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.convertToTaglibSchema(JspModuleBuilderExtension.java:674)
      2. org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.parseTldFile(JspModuleBuilderExtension.java:439)
      3. org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getListenerClasses(JspModuleBuilderExtension.java:424)
      4. org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:180)
      5. org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:149)
      5 frames