-
Bug
-
Resolution: Done
-
Blocker
-
1.5 Milestone 2
-
None
-
None
Upon creating a project, creating a folder called "webroot", and using project properties to select JSP compilation support in that directory, I get an error message, "An error has occurred, see error log for more details."
The error log shows several errors:
*************************************************************************************************************************************************************************
org.eclipse.core.runtime.internal.adaptor.ContextFinder:
java.lang.ClassCastException: org.eclipse.core.runtime.internal.adaptor.ContextFinder
at org.apache.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:97)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.initializeServletContext(JSPProject.java:546)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.reset(JSPProject.java:388)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.doAssignNature(JSPProjectNaturePropertyPage.java:248)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.performApply(JSPProjectNaturePropertyPage.java:162)
at org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferencePage.java:280)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
*************************************************************************************************************************************************************************
Unhandled event loop exception, no stack trace
*************************************************************************************************************************************************************************
java.lang.ClassCastException: org.eclipse.core.runtime.internal.adaptor.ContextFinder:
java.lang.ClassCastException: org.eclipse.core.runtime.internal.adaptor.ContextFinder
at org.apache.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:97)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.initializeServletContext(JSPProject.java:546)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.reset(JSPProject.java:388)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.doAssignNature(JSPProjectNaturePropertyPage.java:248)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.performOk(JSPProjectNaturePropertyPage.java:68)
at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:862)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:842)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:296)
at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:227)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
*************************************************************************************************************************************************************************
java.lang.ClassCastException: org.eclipse.core.runtime.internal.adaptor.ContextFinder:
java.lang.ClassCastException: org.eclipse.core.runtime.internal.adaptor.ContextFinder
at org.apache.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:97)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.initializeServletContext(JSPProject.java:546)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.reset(JSPProject.java:388)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.doAssignNature(JSPProjectNaturePropertyPage.java:248)
at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.properties.JSPProjectNaturePropertyPage.performOk(JSPProjectNaturePropertyPage.java:68)
at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:862)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:842)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:296)
at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:227)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
*************************************************************************************************************************************************************************
- relates to
-
JBIDE-247 JSP Compilation support option no longer available in a JBossIDE generated J2EE Project.
- Closed