Problem trying to run JAXB samples in JWSDP

M

Mark Thomas

I've been trying to run the sample apps supplied by Sun as part of the
JWSDP. The ant script supplied fails & I can't work out what's going
wrong. Here's what I get:

C:\Sun\jwsdp-2.0\jaxb\samples\unmarshal-read>ant
Buildfile: build.xml

compile:
[echo] Compiling the schema...
[xjc]
C:\Sun\jwsdp-2.0\jaxb\samples\unmarshal-read\gen-src\primer.po is no
t found and thus excluded from the dependency check

BUILD FAILED
java.lang.NullPointerException
at com.sun.tools.xjc.Messages.format(Messages.java:33)
at com.sun.tools.xjc.Driver.getBuildID(Driver.java:351)
at com.sun.tools.xjc.XJC2Task.execute(XJC2Task.java:308)
at com.sun.tools.xjc.XJCTask.execute(XJCTask.java:65)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 0 seconds

Any ideas?

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top