Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Error "Unable to create perspective" when run deployed RAP application
icon5.gif  Error "Unable to create perspective" when run deployed RAP application [message #776811] Mon, 09 January 2012 09:57 Go to next message
ZungNV Abel is currently offline ZungNV AbelFriend
Messages: 16
Registered: November 2010
Junior Member
Hi everyone, I'm developing an application based on Eclipse RCP. Currently, I need to move this app to RAP. The code is almost no change, because between them support very well single-sourcing. I created 2 different workspaces (one for RAP and the another for RCP). I was able to run RAP apps normally in the embedded server Jetty integrated OSGi bundles inside Eclipse without any problem and with the same possibility as in RCP. However, when I exported my RAP app to .war file, already enabled all required plugins, copy it to the webapps folder of Tomcat. Start my web app from external browser, I always get this error message:
Unable to create perspective 'MyPerspectiveID'. There is no corresponding perspective extension.
Reason:
Unable to create perspective 'MyPerspectiveID'. There is no corresponding perspective extension.


It's really strange, cause it ran normally inside Eclipse.In my application there is only one perspective, on that I put only one view with some stack layout. I really don't know to resolve this.
I also found a similar topic: "eclipse.org /forums /index.php /m /68045 /", but the reason was not clear , and it didn't work for me.
Please tell me where I possibly made mistake. Thanks so much for any answer.

Re: Error "Unable to create perspective" when run deployed RAP application [message #777217 is a reply to message #776811] Tue, 10 January 2012 04:07 Go to previous message
ZungNV Abel is currently offline ZungNV AbelFriend
Messages: 16
Registered: November 2010
Junior Member
Hi all, I found the problem here. The reason was that I didn't export plugin.xml to WAR file, and that's why corresponding extension for perspective couldn't be found.
After export it, My application work normally now.
Thanks all!
Re: Error "Unable to create perspective" when run deployed RAP application [message #777219 is a reply to message #776811] Tue, 10 January 2012 04:07 Go to previous message
ZungNV Abel is currently offline ZungNV AbelFriend
Messages: 16
Registered: November 2010
Junior Member
Hi all, I found the problem here. The reason was that I didn't export plugin.xml to WAR file, and that's why corresponding extension for perspective couldn't be found.
After export it, My application work normally now.
Thanks all!
Previous Topic:Accessibility Support for RAP
Next Topic:Error "Unable to create perspective" when run deployed RAP application
Goto Forum:
  


Current Time: Thu Dec 12 08:57:29 GMT 2024

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

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

Back to the top