Project

Profile

Help

Exception in thread "main" java.lang.NoClassD

Added by Anonymous over 19 years ago

Legacy ID: #3268838 Legacy Poster: Greg Mellinger (mellingg)

I receive an error: Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/CharSequence while trying to use the saxon extension attributes: saxon:assignable saxon:assign <xsl:variable name="displayed_effrg" select="0" saxon:assignable="yes" xmlns:saxon="http:/saxon.sf.net/> . . . <saxon:assign name="displayed_effrg" select="effect/@effrg"/> How do I modify the saxon command-line to support this extension?


Replies (3)

Please register to reply

RE: Exception in thread &quot;main&quot; java.lang.NoCl - Added by Anonymous over 19 years ago

Legacy ID: #3269166 Legacy Poster: Michael Kay (mhkay)

java.lang.CharSequence is required by Saxon 8.x, and is present in JDK 1.4 and later. This error suggests you are trying to run Saxon 8.x with an earlier Java release than JDK 1.4, which is not supported. Michael Kay

RE: Exception in thread &quot;main&quot; java.lang.NoClassD - Added by Anonymous over 19 years ago

Legacy ID: #3270380 Legacy Poster: Greg Mellinger (mellingg)

I've updated the JDK and the error was eliminated. However, the saxon:assign element is not re-assigning the variable, but is appearing in the output file. I am using saxonb8-4.

RE: Exception in thread &quot;main&quot; java.lang.NoCl - Added by Anonymous over 19 years ago

Legacy ID: #3270453 Legacy Poster: Michael Kay (mhkay)

Then you have assigned the wrong namespace URI to the "saxon" prefix. Michael Kay

    (1-3/3)

    Please register to reply