Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » java.lang.NoClassDefFoundError and java.lang.IllegalAccessException in VE 1.1
java.lang.NoClassDefFoundError and java.lang.IllegalAccessException in VE 1.1 [message #610085] Fri, 29 July 2005 23:44
Thomas Mauch is currently offline Thomas MauchFriend
Messages: 30
Registered: July 2009
Member
I just installed VE 1.1 and wanted to try it out. So I created a new Visual
Class named 'Test' extending a SWT Composite. The source code is created,
but in the visual part of the editor, I just see this with an error mark,
saying "java.lang.NoClassDefFoundError(null)".

When looking into the .log-file, I saw the following entry:

!ENTRY org.eclipse.jem.proxy 2 0 2005-07-30 01:32:33.187
!MESSAGE
!STACK 0
IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
java.lang.UnsatisfiedLinkError: no swt-win32-3138 in java.library.path

Obviously, the remote VM is not able to extract the SWT path from my launch
configuration, where it is added:
-Djava.library.path=C:\Java\Eclipse-3.1\eclipse\configuratio n\org.eclipse.osgi\bundles\61\1\.cp
and I can launch the application without problem in the Eclipse IDE.

So I added the SWT directory to the PATH environment variable - and now a
different error occurs:
- java.lang.IllegalAccessException(Class
org.eclicpse.jem.internal.proxy.initParser.tree.ExpressionPr ocesser can not
access a member of class org.eclipse.swt.widgets.Composite with modifiers
"")

Nothing more seems to be written to the .log-file.
What is going wrong here?

Note that I have not modified the source code of the created class, i.e. it
still looks like this:

import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Composite;

public class Test extends Composite {

public Test(Composite parent, int style) {
super(parent, style);
initialize();
}

private void initialize() {
setSize(new Point(300, 200));
}

}

Any help is appreciated,
Thomas
Previous Topic:Error Log entries loading VE w/ WTP 0.7
Next Topic:shell close() stack overflow
Goto Forum:
  


Current Time: Tue Sep 25 11:14:23 GMT 2018

Powered by FUDForum. Page generated in 0.04322 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top