eugene rabii Messages: 13 Registered: February 2012
Junior Member
This is as simple as it can get, I think.
I deploy a bundle (drop it in pick-up) and it throws:
Import-Package could not be resolved. Caused by missing constraint in bundle <com.eugene.osgi-common_1.0.0.SNAPSHOT>
constraint: <Import-Package: com.google.common.base; version="0.0.0">
Then I do
osgi> clload com.google.common.base.Ascii
eugene rabii Messages: 13 Registered: February 2012
Junior Member
True my bad actually.
The thing is that I am trying to use some class that actually uses jndi. I have a bundle that exports : "org.apache.qpid.jndi.PropertiesFileInitialContextFactory", I can see that it really is exported with clexport.
And I have another bundle that is trying to use that class, but it fails with ClassNotFoundException. It probably has to do with class loading issue..
Can you please describe in more details the scenario and also how you are trying to use JNDI.
Also can you tell us whether you are using some OSGi JNDI implementation (e.g. Gemini Naming)