Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

framework error #23

Open
Haibi04 opened this issue Jul 5, 2018 · 2 comments
Open

framework error #23

Haibi04 opened this issue Jul 5, 2018 · 2 comments

Comments

@Haibi04
Copy link

Haibi04 commented Jul 5, 2018

!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
Copy link
Author

Haibi04 commented Jul 5, 2018

Eclipse 4.7 for Mac OS X

@Jamling
Copy link
Owner

Jamling commented Jul 6, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants