Hello-

I've been trying to get JavaConfig working in my OSGi environment. I'm using eclipse equinox, pretty basic, barebones setup. I am _not_ using Spring DM in this particular project.

It looks like various parts of JavaConfig, in particular the cglib and asm-related code, is making various assumptions about classloaders that isn't friendly to the OSGi environment, where every bundle has its own classloader. But to be clear, I'm really not sure what the problem is.

Since SpringSource seems to be building a lot of its tooling and projects around OSGi (Spring dm server, eclipse tools, etc) I'm surprised that there's almost nothing that shows up either in these forums or in google searches for people trying to use javaconfig in an OSGi environment.

Has anyone here successfully used javaconfig in an OSGi bundle? If so, are there any tricks to get it working?

Thanks,
-Dave Fogel