国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

RAP開發入門-開發筆記-bug記錄

2019-11-15 00:22:45
字體:
來源:轉載
供稿:網友
RAP開發入門-開發筆記-bug記錄NamespaceException: The alias '/rwt-resources' is already in use

  該bug發生的第一種情況是:

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 (seebug 377414).

To register anApplicationConfigurationon a custom context using declarative services, add the following line to the service component definition:

  <PRoperty name="contextName" type="String" value="example"/>

See alsoApplicationLauncher#PROPERTY_CONTEXT_NAME.

https://wiki.eclipse.org/RAP/FAQ#NamespaceException:_The_alias_.27.2Frwt-resources.27_is_already_in_use

  意思就是RAP運行在容器中的,但是你一個容器不弄同時跑兩個RAP應用,主要是一個應用,多個bundle的情況會發生這種問題。

  補充描述告訴我們一個容器中Application的處理方式“ApplicationConfigurationon a custom context using declarative services”,那就好辦了,我們找到容器中定義service的地方,把service去掉就行了

  方案:找到MANIFEST.MF去掉contribution.xml(services定義在這)的加載;

  第二種情況:

  新插件(bundle)加載的沖突,如果希望用e4里邊的控件的話,問題可能就在這bundle里面,解決方案還是得求老外ㄒoㄒ:

this is because bothorg.eclipse.e4.ui.workbench and org.eclipse.rap.ui.workbench exists. Youshould remove the org.eclipse.rap.ui.workbench.

http://www.postseek.com/meta/2f8c97b62bcde5119f8225d93db3bc1d

  eclipse bug 庫里面也確定了這個bug:https://bugs.eclipse.org/bugs/show_bug.cgi?id=369657


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 华容县| 苗栗市| 漳平市| 五家渠市| 沁水县| 玛曲县| 会东县| 筠连县| 中宁县| 石柱| 德兴市| 盐边县| 平凉市| 宜城市| 潼南县| 大石桥市| 石景山区| 奉贤区| 沅江市| 湘乡市| 东乌| 通江县| 当雄县| 汉阴县| 阳城县| 赤城县| 舟曲县| 高台县| 砀山县| 金溪县| 尼勒克县| 双柏县| 南汇区| 海宁市| 景宁| 化隆| 房产| 绵阳市| 海门市| 绥芬河市| 沂水县|