Get started with RAP Development-Development notes-bug record, rap-bug
NamespaceException: The alias '/rwt-resources' is already in use
The first case of this bug is:
This means that more than one application is started in the same context and in the same HttpService. When different applications run in the same HttpService, they have to use different context paths.
This also happens when an ApplicationConfiguration is registered AND the org.eclipse.rap.workbench bundle is running (see bug 377414).
To register an ApplicationConfiguration on a custom context using declarative services, add the following line to the service component definition:
<property name="contextName" type="String" value="example"/>
See also ApplicationLauncher#PROPERTY_CONTEXT_NAME
.
https://wiki.eclipse.org/RAP/FAQ#NamespaceException:_The_alias_.27.2Frwt-resources.27_is_already_in_use
It means that RAP runs in the container, but you can run two RAP applications at the same time without a single container. This problem occurs when multiple bundles exist.
The supplemental description tells us how to process the Application in a container"ApplicationConfiguration on a custom context using declarativeServices, we can find the service defined in the container and remove the service.
Solution: FindMANIFEST. MFRemoveContribution. xml(Services defined here) loading;
Case 2:
New plug-ins (bundle) Load conflicts. If you want to use the control in e4, the problem may be in this bundle. The solution still needs to be done by foreigners:
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.
http://www.postseek.com/meta/2f8c97b62bcde5119f8225d93db3bc1d
Eclipse bug Library also identified this bug: https://bugs.eclipse.org/bugs/show_bug.cgi? Id = 369657