users@jaxb.java.net

Re: java.lang.reflect.Proxy: NoClassDefFoundError

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 16 Jun 2003 07:49:28 -0700

> My schemas are very simple, and I'm not doing anything complex
> in my view. Could you shed any light on which specific features
> of JAXB1.0 require 1.3, so that I can make a guess on whether I'm
> likely to run into some trouble later on?

I think we can't officially support JDK 1.2 any more, but maybe, perhaps
we could modify our source code that JAXB at least runs on JDK 1.2
(probably with some sort of limitation)

Here is the easiest approach that I can think of right now:

    - take any impl.runtime package and copy into your own package.
    - remove any reference to ProxyGroup. For example. replace
      ProxyGroup.blindWrap(x,...) by x.
    - whenever you compile your schema, use "-use-runtime
      my.own.modified.runtime"

I'd appreciate if you would tell me whether this works for you.

--
Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>