Hello, I'm having problems trying to pass the tests included in 0.5.x branch
(even with the 0.5.2 release) with JDK 1.4. I think the relevant exception
is this:

ant test
...

--- Nested Exception ---
java.lang.NoClassDefFoundError: javax/xml/xpath/XPathExpressionException
        at
org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory$2.getSchemaTransf
ormer(JAXBSGFactory.java:294)
        at org.apache.ws.jaxme.xs.impl.XSLogicalParser.runContentHandler
(XSLogic
alParser.java:297)
        at org.apache.ws.jaxme.xs.impl.XSLogicalParser.parse(
XSLogicalParser.jav
a:724)
        at org.apache.ws.jaxme.xs.XSParser.parse(XSParser.java:178)
        at org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader.parse
(JAXBSche
maReader.java:134)
        at org.apache.ws.jaxme.generator.impl.GeneratorImpl.generate
(GeneratorIm
pl.java:147)
        at org.apache.ws.jaxme.generator.impl.GeneratorImpl.generate
(GeneratorIm
pl.java:180)
        at org.apache.ws.jaxme.generator.XJCTask.execute(XJCTask.java:1067)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java
:1216)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets
(Single
CheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java
:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
(DefaultExe
cutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

With Java 5 I don't have these problems because that class is already
bundled, but 0.5.x is supposed to work with 1.4, isn't it?

Do we need additional dependencies when using JDK 1.4? In the file
jaxme.properties.sample I have seen a property "jaxb.home" with this
comment, but I don't know if it has something to do with this error:

..."The
#   JWSDP is available from http://java.sun.com/webservices and is
#   required to build the distribution."

Is this old or is really needed to compile? Should I create a JIRA issue?

Best regards,

Jose Luis.

Reply via email to