Are you consuming a service? Try punting the classloading to the service provider
context-class-loader="service-provider" On Apr 15, 2010, at 2:28 PM, Jason Chaffee wrote: > I am also seeing issues when spring tries to create a proxy. Does > anyone know how to solve this? > > > > Initialization of bean failed; nested exception is > java.lang.NoClassDefFoundError: Could not initialize class $Proxy121 > > > > It really seems the most basic use cases of spring are not working in > servicemix 4. It is very frustrating. I got them to work in another > OSGI env and they worked in servcicemix 3, but not with OSGI and > servicemix 4. > Johan Edstrom [email protected] They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. Benjamin Franklin, Historical Review of Pennsylvania, 1759
