users@jaxb.java.net

java.lang.reflect.Proxy: NoClassDefFoundError

From: Marcus Walls <marcus.walls_at_ASPECTIVE.COM>
Date: Tue, 10 Jun 2003 11:50:47 -0600

I'm having problems getting 1.0.1 working on WebSphere 3.5.5.

I've been working with 1.0.1 and Tomcat happily since it was released and decided to upgrade my WebSphere instance to the 1.0.1 release today, and it fell at the first hurdle.

1.0 FCS was working fine with my WebSphere instance, but now with 1.0.1 it can't seem to find java.lang.reflect.Proxy. I discovered that this is a JDK1.3 class, and WebSphere only supports 1.2.

Does this mean that 1.0.1 is no longer supporting JDK1.2 and thus won't work on WebSphere, or is this merely a bug?

My application ultimately needs to ship on WebSphere 3 and thus this is a showstopper for me. Is there a workaround?

I've included a partial stack-trace in case it's any use.

Thanks

Marcus

java.lang.NoClassDefFoundError: java/lang/reflect/Proxy
 at com.sun.xml.bind.ProxyGroup.unwrap(ProxyGroup.java:231)
 at com.aspective.common.xml.jaxb.impl.runtime.ValidationContext.validate(ValidationContext.java:78)
 at com.aspective.common.xml.jaxb.impl.runtime.ValidatorImpl.validate(ValidatorImpl.java:114)
 at com.aspective.common.xml.jaxb.impl.runtime.ValidatorImpl.validateRoot(ValidatorImpl.java:89)
 at com.aspective.common.xml.JAXB.applyValidator(JAXB.java:459)
 at com.aspective.common.xml.JAXB.validate(JAXB.java:363)