Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Want to use Forms in RAPe4 Incubator
Want to use Forms in RAPe4 Incubator [message #1690492] Fri, 27 March 2015 15:42 Go to next message
André Kemter is currently offline André KemterFriend
Messages: 6
Registered: June 2013
Junior Member
Hi,

I want to use the RAP or RCP Forms in my RAPe4 application, because I migrate an Eclipse RCP 4 Application to Eclipse RAPe4 and in this application are the Forms used.

I have tried to use the Eclipse RAP Forms, but if I do this, there came two mistakes:

java.lang.RuntimeException: org.osgi.service.http.NamespaceException: The alias '/rwt-resources' is already in use.

org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: org/springframework/core/io/Resource


I think this is because org.eclipse.e4.ui.workbench and org.eclipse.rap.ui.workbench, are used in this application.

Does anyone know a solution to use Forms in RAPe4?

Thank you
André
Re: Want to use Forms in RAPe4 Incubator [message #1690777 is a reply to message #1690492] Tue, 31 March 2015 08:28 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
1) First error: "java.lang.RuntimeException:
org.osgi.service.http.NamespaceException: The alias '/rwt-resources' is
already in use."
Probably you are right - this is because both
org.eclipse.e4.ui.workbench and org.eclipse.rap.ui.workbench exists. You
should remove the "org.eclipse.rap.ui.workbench".
2) Second error: "org.eclipse.e4.core.di.InjectionException:
java.lang.NoClassDefFoundError: org/springframework/core/io/Resource"
Missing spring framework?! Who is using it?

There is no ready solution for using forms bundle
(org.eclipse.rap.ui.forms) in e4. Probably, you have to modify it a
little - see [1].
Also remove the dependency to"org.eclipse.rap.ui" and add
"org.eclipse.rap.rwt". Some other changes may need.

[1] http://blog.vogella.com/2013/04/02/using-eclipse-forms-in-eclipse-4-rcp/
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=369657

HTH,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:[ANN] RAP 3.0 M6 published
Next Topic: Bug in void org.eclipse.swt.widgets.Table.setSelection(int[] indices)?
Goto Forum:
  


Current Time: Thu Apr 18 09:37:56 GMT 2024

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

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

Back to the top