I'm getting this error:

Caused by: java.lang.ClassCastException: Cannot cast class
com.sun.tools.internal.xjc.addon.locator.SourceLocationAddOn to class
com.sun.tools.xjc.Plugin

when building the interface-java-jaxws module.

I noticed on the FAQ it says to make sure you're running with JAXWS/JAXB
2.1, but I am.

.../java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pwi3260-20071123_01)
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32
jvmwi3260-20071121_15015 (JIT enabled)
J9VM - 20071121_015015_lHdSMR
JIT  - r9_20071121_1330
GC   - 20071031_AA)
JCL  - 20071118_01

.../xjc -version
xjc version "JAXB 2.1.3 in JDK 1.6"
JavaTM Architecture for XML Binding(JAXB) Reference Implementation, (build
IBM JAXB 2.1.3 in JDK 1.6)

.../wsimport -version
JAX-WS RI IBM 2.1.1 in JDK 6

$ mvn -version
Maven version: 2.0.8
Java version: 1.6.0
OS name: "windows xp" version: "5.1 build 2600 service pack 2" arch: "x86"
Family: "windows"

Is this IBM JVM even known to work building Tuscany?

Thanks,
Scott

Reply via email to