java - Error in Eclipse for OSGi Framework (BundleException: Exception in org.eclipse.actf.model.internal.flash.proxy.ProxyPlugin.start ) -
Here is the description of the environment that I am using:
The Elpsy IDE for Java Developers ( Version: Luna Service Release 1 (4.4.1) - Windows 7 Professional Service Pack 1
-32-bit operating system
I have installed Eclipse IDE for Java developers ( Version: Luna Service Release 1 (4.4.1), and I also got my IDE's "new software to get the plug-in development" module Use "feature.
Actually, I was trying to use OSGi to framework standard It was a simple Java application that called "Hello World" which should be in the bundle.
package com.javaworld.sample.HelloWorldThree; Import org.osgi.framework.BundleActivator; Import org.osgi.framework.BundleContext; Public class catalyst applies BundleActivator {/ * * (Non Javadoc) * @see org.osgi.framework.BundleActivator # Beginning (org.osgi.framework.BundleContext) * / Public Zero Start (BundleContext Reference) throws exception {System.out .println ("Hello World !!"); } / * * (Non javadoc) * @see org.osgi.framework.BundleActivator #stops (org.osgi.framework.BundleContext) * / Public Zero Stops (BundleContext Reference) throws exceptions {println ("Bye World !!") ; }
}
This is my manifest. MF:
Manifest-version: 1.0 Bundle-Manifest version: 2 bundle-name: HelloWorldThree bundle- SymbolicName: com.javaworld.sample.HelloWorldThree bundle-version: 1.0.0.qualifier bundle- Trigger: com.javaworld.sample.helloworldthree.Activator bundle-seller: JavaWorld import-package: org.osgi.framework; Unfortunately, I get the following error: ! Season 2014-10-26 22: 08: 11.274 - -------------------------------------- ------- eclipse.buildId = Unknown java.version = 1.8.0_25 java.vendor = Oracle Corporation bootloader constant: OS = Win32, Arc = 86, WS = Win32, NL = en_in Command line argument: -dev file : D: /EclipseWorkSpace/.metadata/.plugins/org.eclipse.pde.core/OSGi Framework / dev.properties- and win32 -ws win32 -arch x86 -consoleLog -console! Entry org.eclipse.core.resources 2 10035 2014-10-26 22: 08: 17.093! The message went away from the saved changes in the last ses; Latest workspace to fix changes October 26, 2014 10:08:17 PM org.eclipse.actf.core.ActfCorePlugin started info: org.eclipse.actf.core.ActfCorePlugin started October 26, 2014 10:08:17 PM org.eclipse.actf.core Start ActfCorePlugin Info: Configuration: Pool: Actif OSGI & gt; ! Entry org.eclipse.actf.model.flash.proxy 4 0/2014-10-26 22: 08:! 17.649 Send exception FrameworkEvent error stack 0 org.osgi.framework.BundleException: org.eclipse.actf.model. Internal. Floss.proopy ProxyPlugin Start () bundle org. Eclipse.ctf.model.flash.poxy org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator (BundleContextImpl.java:792) on org.eclipse.osgi.internal.framework.BundleContextImpl.start (BundleContextImpl.java:721) on org.eclipse.osgi.internal .framework.EquinoxBundle.startWorker0 (EquinoxBundle.java:936)
Please how to solve error let me up. Thanks in advance.
Comments
Post a Comment