JAXB2 reflection shouldn't depend on the JAXB RI. If you find such a
dependency that's a bug.
JAXB in JWSDP is a released version and therefore it's usually not too
up-to-date.
Some of the earlier errors like
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/xml/bind/annotation/XmlAccessOrder
suggests that you have a bit old JAXB 2.0 API jars. (There was a recent
name change in the API and "XmlAccessOrder" is a new one.)
I'll check if I'm bundling the JAXB API with jaxb2-reflection bundle.
wiedkla wrote:
> Thank you Kirill,
>
> there is another problem in this area:
>
> With sun's javac and the jaxb-ri.20060301 the jaxb2-reflection
> library from dev.java.net, which adds to com.sun.xml.bind.v2,
> can be compiled. However, jaxb-ri.20060301 does not contain
> an xjc necessary for generating the Java classes. So I used
> the xjc from Sun bundled in jwsdp2.0. But the generated
> classes do not compile against the jaxb-ri.20060301 jars.
>
> So I tried it the other way around and tried to compile
> the jaxb2-reflection sources against the jwsdp 2.0 jars:
> Some of my earlier postings show the resulting error lists.
>
> It seems, there are incompatibilies between jaxb2-reflection
> and Sun's jwsdp/jaxb.
>
> As a matter of fact, I can't get forward anymore and hope
> Kohsuke Kawaguchi can help me.
>
> Thanks again,
> Klaus
>
> --
> View this message in context: http://www.nabble.com/com.sun.bind.v2-reflection-example-t1278341.html#a3439928
> Sent from the java.net - jaxb users forum at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com