[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.ve] Re: java.lang.NoClassDefFoundError and java.lang.IllegalAccessException in

Chris,

Are you attempting to use the Visual Editor, or just develop a plug-in that uses SWT?

If you want to use the VE, go to Help->Software Updates->Find and Install. Search for new features on the Eclipse update site and select VE 1.1. After you get that installed, you can use the update manager to update it to 1.1.0.1.

Then if you create a new visual class based off an SWT class, the SWT_CONTAINER will be added to your project. Otherwise you can go into the Java Build Path on your project's properties, and add the SWT library on the Libraries tab.

Hope this helps,
 - Jeff

Chris Gage wrote:
Where is SWT_CONTAINER to be found?  Is it a variable?  I do not see it.  While asking, where is this "visual class" to be found?  I do not see it either.  All I see "Class" in the "new" wizard".  Am I backlevel?

(I am on V3.1.0 build id I20050627-1435, the WTP flavor)

I have this same NoClassDefFoundError for swt-win32-3138 with a trivial JFace example pasted from a website, and cannot make progress.

I am using RAD6 at work, have been using WSAD for 4 years, so I'm having some adjustment problems.  I tried plugging in the SWT jars one by one (one gets used to having to do that in the RAD6 world, with all the WebSphere and DB2 jars).  No luck.

Chris Gage