本文发表在 rolia.net 枫下论坛I use xalan 2.5.2+ (2.6.0) with according xerces, xmlapi.
I use xsltc, complie the xslt files to java class.
Most of java class run fine, but some of them cant.
One of them throw exception:
java.lang.NoSuchMethodError: xsl.confirmsubmission.command_buttons(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;ILjava/lang/Object;Ljava/lang/Object;)V
at xsl.confirmsubmission.applyTemplates()
at xsl.confirmsubmission.template$dot$194()
at xsl.confirmsubmission.applyTemplates()
I checked class xsl.confirmsubmission, there is a method
public void command_buttons(DOM dom, DTMAxisIterator dtmAxisIterator, SerializationHandler serializationHandler, int i) {
// compiled code
}
but there some other method , have 1 more parameter 'Object o'
like:
public void getValueFromRef(DOM dom, DTMAxisIterator dtmAxisIterator, SerializationHandler serializationHandler, int i, Object o) {
// compiled code
}
any1 know the difference?
Thanks更多精彩文章及讨论,请光临枫下论坛 rolia.net
I use xsltc, complie the xslt files to java class.
Most of java class run fine, but some of them cant.
One of them throw exception:
java.lang.NoSuchMethodError: xsl.confirmsubmission.command_buttons(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;ILjava/lang/Object;Ljava/lang/Object;)V
at xsl.confirmsubmission.applyTemplates()
at xsl.confirmsubmission.template$dot$194()
at xsl.confirmsubmission.applyTemplates()
I checked class xsl.confirmsubmission, there is a method
public void command_buttons(DOM dom, DTMAxisIterator dtmAxisIterator, SerializationHandler serializationHandler, int i) {
// compiled code
}
but there some other method , have 1 more parameter 'Object o'
like:
public void getValueFromRef(DOM dom, DTMAxisIterator dtmAxisIterator, SerializationHandler serializationHandler, int i, Object o) {
// compiled code
}
any1 know the difference?
Thanks更多精彩文章及讨论,请光临枫下论坛 rolia.net