Get started with RAP Development-Development notes-bug record, rap-bug

Source: Internet
Author: User

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.