Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [atf-dev] Snippets DND function in Eclipse Application

Song Wei Shan wrote:

Hi, All

Now I'm trying to build a custom personality using ATF personality builder. The personality is created successfully and I could launch them using "Run as--> Eclipse Application", but I found in the second eclipse workspace, I couldn't drag the snippet code into the file. I tried to drag the dojo sample code to a javascript file which worked well in the original eclipse workspace, but it's said that "An error has occured, See error log for more details". The log is attached in the below. And even more, if I exported the created plugins into the workspace of original eclipse workspace, the snippet DND functions didn't work in the original workspace, either. And If I removed the exported plugins for the custom personality from the original eclipse, all was ok...Could anyone please tell me if I did something wrong leading to this problem? Thanks!

Error Log:

ENTRY org.eclipse.jface 4 2 2006-10-16 22:43:53.116
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
at org.eclipse.atf.templates.util.TemplateInsertion2.computeInsertString( at org.eclipse.atf.templates.util.TemplateInsertion2.dragSetData(

A java.lang.NoClassDefFoundError classically means a class was present when you compiled the code but it isn't present at runtime. Does the plugin from which you contributed the snippet have org.eclipse.wst.common.snippets in its requirements?

- Nitin

Back to the top