> I am trying to use the jaxp 1.4 standalone download from java.net with
> Sun JRE 1.4.2. Here is a minimal test class:
[quoted text clipped - 18 lines]
> java.lang.NoClassDefFoundError: com/sun/org/apache/xalan/internal/
> extensions/ExpressionContext
> My classpath consists of this class followed by jaxp-api.jar then jaxp-
> ri.jar.
Have you read http://java.sun.com/webservices/jaxp/reference/faqs/index.html
question 14 ?
Arne
Matt Rose - 29 May 2007 14:13 GMT
> > I am trying to use the jaxp1.4 standalone download from java.net with
> > Sun JRE 1.4.2. Here is a minimal test class:
[quoted text clipped - 25 lines]
>
> Arne
I hadn't read that but I don't think it addresses my problem. I tried
fiddling with the settings as described and set it to both explicitly
use the jaxp xerces implementation (which it was doing by default) and
the JRE crimson implementation but received the same error on each
occasion.
The problem goes away if I execute it with a 1.5 JRE.
Matt
Matt Rose - 29 May 2007 16:41 GMT
> > > I am trying to use the jaxp1.4 standalone download from java.net with
> > > Sun JRE 1.4.2. Here is a minimal test class:
[quoted text clipped - 35 lines]
>
> Matt
For the record, this is a bug in the packaging of the 1.4.1 release
that omitted a few classes needed to run on JRE1.4, one of which is
ExpressionContext. The JAXP folks are aware of it and I believe a fix
is likely soon.
Matt