Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem in exporting the eclipse application.
Problem in exporting the eclipse application. [message #448286] Thu, 20 April 2006 14:39 Go to next message
Rohit Khariwal is currently offline Rohit KhariwalFriend
Messages: 114
Registered: July 2009
Senior Member
Hi,

My application is running fine in eclipse but when i export it as standalone application then i am getting the following error.
java.lang.IllegalStateException: Unable to acquire application service.
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:367)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)


can anybody suggest solution for my problem

thanks in advance
rohit khariwal
Re: Problem in exporting the eclipse application. [message #448294 is a reply to message #448286] Thu, 20 April 2006 16:16 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

There are lots of reasons that an application works fine in eclipse but
won't run outside eclipse.

1) the MANIFEST wasn't correct

2) whatever was used to export it (required plugins or feature) didn't
list all of the required plugins needed to run

3) the main RCP plugin that defines the app wasn't exported correctly.

4) one of your plugins includes 3rd party jars, and so the manifest
isn't correct. Refer to http://wiki.eclipse.org/index.php/PDE

Later,
PW


Re: Problem in exporting the eclipse application. [message #448354 is a reply to message #448294] Fri, 21 April 2006 16:46 Go to previous message
Michael Schmidt is currently offline Michael SchmidtFriend
Messages: 45
Registered: July 2009
Member
I would agree, there are LOTS of problems that can happen with export. I
was quite stuck in getting my application to export until I went with the
strategy of compiling it against an external basic RCP target platform,
per the recommendations of "Eclipse Rich Client Platform" by McAffer &
Lemieux. By developing against the external platform, problems were more
easily seen and resolved (at least by this unintelligent programmer).

Michael Schmidt
Previous Topic:multi-page editor
Next Topic:Hyperlinks to open a view
Goto Forum:
  


Current Time: Mon Nov 11 18:03:53 GMT 2024

Powered by FUDForum. Page generated in 0.02620 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top