On Sat, Jan 31, 2009 at 8:00 PM, Felix Meschberger <[email protected]> wrote: > This looks like the service.policy.osgi.PoliyServiceActivator class > should be instantiated with a non-public constructor. Could it be that > the default constructor might be used, which has default (i.e. package) > access instead of public ?
Or, as I said, the class itself is not public? regards, Karl > Regards > Felix > > > Dmitry Beransky schrieb: >> Hi, >> >> I'm trying to get a simple embedded Felix scenario working and am >> getting this exception: >> >> java.lang.IllegalAccessException: Class >> org.apache.felix.framework.Felix can not access a member of class >> service.policy.osgi.PolicyServiceActivator with modifiers "" >> at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) >> at java.lang.Class.newInstance0(Class.java:349) >> >> >> What could be causing this? Is my security manager not set up correctly? >> >> Thanks >> Dmitry >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Karl Pauls [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

