- This topic has 5 replies, 2 voices, and was last updated 15 years, 5 months ago by support-joy.
-
AuthorPosts
-
army12MemberHello all,
I am trying to use Fast code eclipse plugin in my small project (application). Below are the steps I followed
I have downloaded fastcode_1.1.9.1 jar and placed in plugin folder of eclipse. I am able to find the fast code tab under my eclipse(windows–>preferences)but when I am trying to configure ‘JunitPreferancePage’ its throwing error saying ‘An error has occurred. See error log for more details’.
The error log file from workspace/.metadata is as follows
!ENTRY org.eclipse.jface 4 2 2009-06-09 15:35:38.259
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
at org.fastcode.preferences.JUnitPreferencePage.createFieldEditors(JUnitPreferencePage.java:141)
at org.eclipse.jface.preference.FieldEditorPreferencePage.createContents(FieldEditorPreferencePage.java:227)
at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:233)
at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1456)
at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:1213)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1207)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:433)
at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:698)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1153)
at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1178)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:250)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:244)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:418)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)Inputs are really helpful.
Thanks
support-joyMemberarmy12,
Sorry to hear you are running into this issue.
I have downloaded fastcode_1.1.9.1 jar and placed in plugin folder of eclipse. I am able to find the fast code tab under my eclipse(windows–>preferences)but when I am trying to configure ‘JunitPreferancePage’ its throwing error saying ‘An error has occurred.
From above, it shows that you have added this plugin to Eclipse. Can you confirm if you have added this to eclipse/MyEclipse? If it is eclipse, I would recommend you to post to eclipse forums.
In case you are using MyEclipse. Let me clarify that MyEclipse doesn’t provide an integrated support for fastcode.
Can you verify the version of fastcode is compatible with that of base eclipse? For e.g. if you are using MyEclipse 7.1.1, base eclipse is Eclipse 3.4.1.
Can you investigate –java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
at org.fastcode.preferences.JUnitPreferencePage.createFieldEditors(JUnitPreferencePage.java:141)Looks like you are missing a class file here.
army12MemberThanks for the input.
I am using eclipse 3.4, java 1.5 v and fastcode_1.1.9.1.jar. But the strange thing is even though fastcode_1.1.9.1.jar has the velocity jar which intern has the class for which its throwing NoClassDefinitionFoundError. (confirmed using de-compiler)
You can find the fast code eclipse plugin jar here <https://sourceforge.net/project/showfiles.php?group_id=229124&package_id=277553.>
let me know if you know the link to post this to eclipse forum.
Thanks
support-joyMemberYou can google for eclipse forums. I found one link here – http://www.eclipsezone.com/eclipse/forums/c5605.html
army12Member@support-joy wrote:
You can google for eclipse forums. I found one link here – http://www.eclipsezone.com/eclipse/forums/c5605.html
I was not able to post concerns through the link you sent. So I have posted in the follwing link – http://eclipse.dzone.com/.
Thanks a lot for your guidelines.
support-joyMemberYou are welcome.
-
AuthorPosts