SmartIM4Eclipse icon indicating copy to clipboard operation
SmartIM4Eclipse copied to clipboard

framework error

Open Haibi04 opened this issue 6 years ago • 2 comments

!ENTRY org.eclipse.wst.web.ui 4 0 2018-07-05 10:24:24.526 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: Could not resolve module: org.eclipse.wst.web.ui [922]

I can't solve the problem, could you help me? and I also have the problem at package cn.ieclipse.smartim.common.Notifications

public Notifications(Display display, int style) { super(display, style); try { Class<?> clazz = Class.forName("org.eclipse.swt.internal.win32.OS"); if (clazz != null) { long top = clazz.getField("HWND_TOPMOST").getLong(null); Method m = clazz.getMethod("SetWindowPos", long.class, long.class, int.class, int.class, int.class, int.class, int.class); m.invoke(null, this.handle, top, 0, 0, 0, 0, 0);

the handle cannot be resolved or is not a field.

Haibi04 avatar Jul 05 '18 09:07 Haibi04

Eclipse 4.7 for Mac OS X

Haibi04 avatar Jul 05 '18 09:07 Haibi04

The notification alwasys top feature is only works for Windows platform.

I don't known why your max os has org.eclipse.swt.internal.win32.OS class, and the exception will catched to consumed.

org.eclipse.wst.web.ui can't be resoved, maybe you need to re-install eclipse for mac os version.

Jamling avatar Jul 06 '18 01:07 Jamling