java - ClassLoader not working for eclipse Plugin? -
java - ClassLoader not working for eclipse Plugin? -
please @ code in link : code
the above code helps select particular .java file , generate .hbm.xml file it. selected class not getting loaded,as getting next errors.
java.lang.classnotfoundexception: xyz.valid @ org.eclipse.osgi.internal.loader.bundleloader.findclassinternal(bundleloader.java:513) @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:429) @ org.eclipse.osgi.internal.loader.bundleloader.findclass(bundleloader.java:417) @ org.eclipse.osgi.internal.baseadaptor.defaultclassloader.loadclass(defaultclassloader.java:107) @ java.lang.classloader.loadclass(classloader.java:247) @ handlers.entitylist.getentity(entitylist.java:33) @ handlers.entitylisting.loader(entitylisting.java:22) @ handlers.hbmgenerator.write(hbmgenerator.java:152) @ handlers.hbmgenerator.createoutput(hbmgenerator.java:102) @ handlers.hbmgenerator.execute(hbmgenerator.java:71) @ org.eclipse.ui.internal.handlers.handlerproxy.execute(handlerproxy.java:293) @ org.eclipse.core.commands.command.executewithchecks(command.java:476) @ org.eclipse.core.commands.parameterizedcommand.executewithchecks(parameterizedcommand.java:508) @ org.eclipse.ui.internal.handlers.handlerservice.executecommand(handlerservice.java:169) @ org.eclipse.ui.internal.handlers.slavehandlerservice.executecommand(slavehandlerservice.java:241) @ org.eclipse.ui.internal.handlers.slavehandlerservice.executecommand(slavehandlerservice.java:241) @ org.eclipse.ui.menus.commandcontributionitem.handlewidgetselection(commandcontributionitem.java:829) @ org.eclipse.ui.menus.commandcontributionitem.access$19(commandcontributionitem.java:815) @ org.eclipse.ui.menus.commandcontributionitem$5.handleevent(commandcontributionitem.java:805) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1053) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:4165) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3754) @ org.eclipse.ui.internal.workbench.runeventloop(workbench.java:2696) @ org.eclipse.ui.internal.workbench.runui(workbench.java:2660) @ org.eclipse.ui.internal.workbench.access$4(workbench.java:2494) @ org.eclipse.ui.internal.workbench$7.run(workbench.java:674) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:667) @ org.eclipse.ui.platformui.createandrunworkbench(platformui.java:149) @ org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:123) @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:110) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:79) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:344) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:179) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) @ org.eclipse.equinox.launcher.main.invokeframework(main.java:622) @ org.eclipse.equinox.launcher.main.basicrun(main.java:577) @ org.eclipse.equinox.launcher.main.run(main.java:1410) @ org.eclipse.equinox.launcher.main.main(main.java:1386)
java eclipse-plugin classloader
Comments
Post a Comment