[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] javax packages not available

Hi All,



                I am starting a bundle in which I use the JNDI packages and I get an exception which says

                java.lang.NoClassDefFoundError: javax/naming/InitialContext


               I found in some of the discussion forums that this happens because the javax packages are not part of the OSGi Java runtime and thus the error. I found this information here http://docs.codehaus.org/display/JETTY/OSGi+Tips which says that you must specify the javax packages in comma separated list as part of org.osgi.framework.system.packages property in the config.ini. I tried this, but I still get the same error.?


              Can someone please tell me how I must make javax packages available within the OSGi runtime. ? Any help in this regard would be much appreciated.


Thanks,

Srijith.