Hi!! Sorry for not including to much information in the other mail. I am trying to do an applet with a program that runs over osgi. The program compile right, but when I call the applet.class from a browser. I have the error I have described before. It's like my program doesn't found the BundleException.class, but I don't know what to do because the packet org.orgi.framework.BundleException is imported in the launch class and I don't have errors when I compile it. Regards, Marta
2009/5/18 Richard S. Hall <[email protected]> > Not enough information. It is not clear what you are trying to do, nor how > you are trying to do it. > > -> richard > > > On 5/18/09 12:02 PM, Marta Luna Serrano wrote: > >> Hi everybody!! >> I have programmed an applet, but when I open the applet from the browser. >> I >> have this error in the Java Console: >> java.lang.NoClassDefFoundError: org/osgi/framework/BundleException >> at java.lang.Class.getDeclaredConstructors0(Native Method) >> at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) >> at java.lang.Class.getConstructor0(Unknown Source) >> at java.lang.Class.newInstance0(Unknown Source) >> at java.lang.Class.newInstance(Unknown Source) >> at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source) >> at >> sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown >> Source) >> at java.lang.Thread.run(Unknown Source) >> Caused by: java.lang.ClassNotFoundException: >> org.osgi.framework.BundleException >> at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> at java.lang.ClassLoader.loadClassInternal(Unknown Source) >> ... 8 more >> Could anyone help me?? Any idea?? >> Thanks in advanced >> >> >> >
