Eclipse Validation error - Platform filter did not match:(&(osgi.ws=win32)(osgi.os=win32)(osgi.arch=x86))

假装没事ソ 提交于 2019-12-08 00:29:25

问题


Hi I am getting this error when I validate my configuration.

Any ideas how to fix this?

here is the error: Platform filter did not match:(&(osgi.ws=win32)(osgi.os=win32)(osgi.arch=x86))

here is the screeenshot:


回答1:


That is a 32 bit plugin for Windows. It does not match the platform, GUI system or architecture you are trying to use.

Plugins like SWT are platform, GUI and architecture dependent so you need to choose the correct one.

If you are using a target platform with a different settings from your main Eclipse you must make sure the Run Configuration specifies the correct settings.

In the 'Program Arguments' section of the Run Configuration make sure you have:

-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} 

You will need to select an appropriate Java JRE (32 bit or 64 bit) as well.



来源:https://stackoverflow.com/questions/37997785/eclipse-validation-error-platform-filter-did-not-matchosgi-ws-win32osgi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!