• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.NoSuchMethodError: org/xml/sax/Attributes.getQName(I)

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

we're migrating the application from WAS 5 to WAS 6. There are jars xalan.jar, xbean.jar, dom4j-full.jar,j2ee.ar files for performing the operations(reading, writing) on xml.

WAS 5 has j2ee.jar file in lib, which has implements Attributes.getQName(I) of xalan.jar, dom4j-full.jar, xbean.jar through the class AttributesImpl.

WAS 6 has j2ee.jar file in lib, but won't implement the Attributes.getQName(I) of xalan.jar,dom4j-full.jar, xbean.jar.

when we compile with WAS 6 j2ee.jar, not giving compilation errors. But in runtime getting the same exception:

[4/4/12 9:32:07:984 CDT] 0000002a ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "getGeoLOV"
on bean "BeanId(ot-41786#qas_ejb.jar#AddressService, null)". Exception data: java.lang.NoSuchMethodError:
org/xml/sax/Attributes.getQName(I)Ljava/lang/String;
at org.apache.xmlbeans.impl.store.Locale$SaxHandler.startElement(Locale.java:3205)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportStartTag(Piccolo.java:1082)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(PiccoloLexer.java:4957)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yylex(Piccolo.java:1290)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(Piccolo.java:1400)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:714)
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3435)
at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:706)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:690)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:677)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:208)
at com.cisco.cixs20.oagis.ShowLocationDocument$Factory.parse(Unknown Source)
at com.cisco.qtc.services.qas.services.GeoLOVRequest.convertXMLToObject(GeoLOVRequest.java:159)
at com.cisco.qtc.services.qas.util.EDSGServiceHelper.requestEDSGService(EDSGServiceHelper.java:56)
at com.cisco.qtc.services.qas.beans.AddressServiceBean.invokeEDSGService(AddressServiceBean.java:1066)
at com.cisco.qtc.services.qas.beans.AddressServiceBean.getGeoLOV(AddressServiceBean.java:392)
at com.cisco.qtc.services.qas.beans.EJSLocalStatelessAddressService_c6aaf724.getGeoLOV(Unknown Source)
at cisco.ipc.ejbclient.QASInterface.getGeoLOV(QASInterface.java:199)

Could you let me know the supporting jars to resolve the issue.

Thanks,
Rajesh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic