Problems when using JSP tags in Eclipse!

xiaoxiao2021-03-06  82

Environment: Eclipse3 Lomboz3 EMF2.0.0 Gef2.0.1 Tomcatplugin3

Two errors occur when saving the JSP pages and modifications with <% @ taglib xxxx ...:

1.! Entry Org.eclipse.ui 2 0 October 17, 2004, 15:00:12.187

! Message Save Failed

Stack 0

Java.lang.noclassdefounderror

At com.objectlearn.jasper.lombozoptions.gettldlocationscache (Lombozoptions.java: 184)

At Org.Apache.jasper.jspCompilationContext.getTLDLocation (jspcompiLationContext.java: 523)

At Org.Apache.jasper.compiler.parser.parsetaglibDirective (Parser.java: 418)

At Org.Apache.jasper.compiler.Parser.Parsedirective (Parser.java: 484)

At Org.Apache.jasper.compiler.Parser.Parseelements (Parser.java:1548)

At Org.Apache.jasper.compiler.parser.parse (Parser.java: 127)

At com.objectlearn.jasper.lombozparserController.Parse (LombozparserController.java: 387)

At com.objectlearn.jasper.lombozparserController.parse (LombozparserController.java: 188)

At com.objectlearn.jasper.lombozparserController.parse (LombozparserController.java: 156)

At com.ObjectLearn.jasper.lombozjspc.parseinternal (Lombozjspc.java: 179)

At com.ObjectLearn.jasper.lombozjspc.parse (Lombozjspc.java: 124)

At com.ObjectLearn.jdt.j2ee.core.project.parsejsp (Project.java: 754)

At com.ObjectLearn.jdt.j2ee.editor.jspeditor.parsedocument (jspeditor.java: 264)

At com.objectlearn.jdt.j2ee.editor.jspContentoutLinePage $ contentProvider.inputChanged (jspcontentoutline.java: 160)

At Org.eclipse.jface.Viewers.ContentViewer.setInput (ContentViewer.java: 234)

At Org.eclipse.jface.Viewers.StructuredViewer.setInput (structuredviewer.java:1059)

At com.objectlearn.jdt.j2ee.editor.jspContentoutLine.SetViewerInput (jspContentoutLine.java: 319)

At com.objectlearn.jdt.j2ee.editor.jspContentoutLinePage.setInput (jspContentoutLine.java: 293)

At com.ObjectLearn.jdt.j2ee.editor.jspeditor.dosave (jspeditor.java: 178) at Org.eclipse.ui.internal.editorManager $ 12.Run (EditorManager.java: 1160)

At Org.eclipse.ui.Internal.EDitorManager $ 10.Run (EditorManager.java:1015)

At Org.eclipse.jface.operation.ModalContext.RunIncurrentthread (ModalContext.java: 303)

At Org.eclipse.jface.Operation.ModalContext.Run (ModalContext.java: 253)

At Org.eclipse.jface.window.ApplicationWindow $ 1.Run (ApplicationWindow.java: 588)

At Org.eclipse.swt.custom.busyindicator.ShowWhile (busyindicator.java: 69)

At Org.eclipse.jface.window.ApplicationWindow.Run (ApplicationWindow.java: 585)

At Org.eclipse.ui.Internal.WorkbenchWindow.Run (WorkbenchWindow.java: 1653)

At Org.eclipse.ui.internal.editorManager.RunprogressMonitorOperation (editorManager.java: 1021)

At Org.eclipse.ui.internal.editorManager.savePart (editorManager.java: 1165)

At Org.eclipse.ui.internal.workbenchpage.savepart (WorkbenchPage.java:2539)

At Org.eclipse.ui.internal.workbenchpage.saveEditor (WorkbenchPage.java: 2551)

At Org.eclipse.ui.Internal.SaveAction.run (saveaction.java: 69)

At Org.eclipse.jface.Action.Action.runwithevent (action.java: 881)

At Org.eclipse.ui.commands.ActionHandler.execute (ActionHandler.java: 141)

At Org.eclipse.ui.Internal.comMands.command.execute (Command.java: 132)

At Org.eclipse.ui.internal.keys.workbenchkeyboard.executeCommand (WorkbenchKeyboard.java: 471)

At Org.eclipse.ui.Internal.keys.workbenchkeyboard.press (Workbenchkeyboard.java: 889)

At Org.eclipse.ui.internal.keys.workbenchkeyboard.processKeyEvent (Workbenchkeyboard.java:930)

At Org.eclipse.ui.internal.keys.workbenchkeyboard.filterKeysequenceBindings (Workbenchkeyboard.java: 548)

at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access $ 2 (WorkbenchKeyboard.java:496) at org.eclipse.ui.internal.keys.WorkbenchKeyboard $ 1.handleEvent (WorkbenchKeyboard.java:261)

At Org.eclipse.swt.widgets.EventTable.sendEvent (evenettable.java: 82)

At Org.eclipse.swt.widgets.display.filterevent (Display.java: 740)

At Org.eclipse.swt.widgets.widget.sendevent (widget.java: 795)

At Org.eclipse.swt.widgets.widget.sendevent (widget.java: 820)

At Org.eclipse.swt.widgets.widget.sendevent (widget.java: 805)

At Org.eclipse.swt.widgets.control.sendKeyevent (Control.java: 1734)

At Org.eclipse.swt.widgets.control.sendKeyevent (Control.java: 1730)

At Org.eclipse.swt.widgets.control.wm_char (Control.java:3067)

At Org.eclipse.swt.widgets.control.windowProc (Control.java:2970)

At Org.eclipse.swt.widgets.display.windowProc (Display.java: 3338)

At Org.eclipse.swt.Internal.win32.os.dispatchMessagew (Native Method)

At Org.eclipse.swt.internal.win32.os.dispatchMessage (Os.java:1467)

At Org.eclipse.swt.widgets.display.ReadandDispatch (Display.java: 2429)

At Org.eclipse.ui.internal.Workbench.Runeventloop (Workbench.java: 1377)

At Org.eclipse.ui.internal.Workbench.Runui (Workbench.java: 1348)

At Org.eclipse.ui.Internal.Workbench.createAndrunworkBench (Workbench.java: 254)

At Org.eclipse.ui.Platformui.createAndrunWorkBench (platformui.java: 141)

At Org.eclipse.ui.Internal.ide.IdeApplication.run (ideApplication.java: 96)

At Org.eclipse.core.Internal.Runtime.Platformactivator $ 1.Run (platformactivator.java: 335)

At Org.eclipse.core.Runtime.Adaptor.eclipsestarter.run (Eclipsestarter.java: 273)

At Org.eclipse.core.Runtime.Adaptor.eclipsestarter.run (Eclipsestarter.java: 129)

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.basicrun (main.java:183)

At Org.eclipse.core.launcher.main.run (main.java: 644)

At Org.eclipse.core.launcher.main.main (main.java: 628)

2.! Entry Org.eclipse.ui 2 0 October 17, 2004 14: 42: 58.734

! Message Save Failed

Stack 0

Org.eclipse.jface.util.assert $ assertionFailedException: Assertion Failed: ContentViewer Must Have a content provider at file.

At Org.eclipse.jface.util.assert.istrue (askERT.JAVA: 168)

At Org.eclipse.jface.Viewers.ContentViewer.setInput (ContentViewer.java: 229)

At Org.eclipse.jface.Viewers.StructuredViewer.setInput (structuredviewer.java:1059)

At com.objectlearn.jdt.j2ee.editor.jspContentoutLine.SetViewerInput (jspContentoutLine.java: 319)

At com.objectlearn.jdt.j2ee.editor.jspContentoutLinePage.setInput (jspContentoutLine.java: 293)

At com.ObjectLearn.jdt.j2ee.editor.jspeditor.dosave (jspeditor.java: 178)

At Org.eclipse.ui.Internal.EDitorManager $ 12.Run (editorManager.java: 1160)

At Org.eclipse.ui.Internal.EDitorManager $ 10.Run (EditorManager.java:1015)

At Org.eclipse.jface.operation.ModalContext.RunIncurrentthread (ModalContext.java: 303)

At Org.eclipse.jface.Operation.ModalContext.Run (ModalContext.java: 253)

At Org.eclipse.jface.window.ApplicationWindow $ 1.Run (ApplicationWindow.java: 588)

At Org.eclipse.swt.custom.busyindicator.ShowWhile (busyindicator.java: 69)

At Org.eclipse.jface.window.ApplicationWindow.Run (ApplicationWindow.java: 585)

At Org.eclipse.ui.Internal.WorkbenchWindow.Run (WorkbenchWindow.java: 1653)

At Org.eclipse.ui.internal.editorManager.RunProgressMonitorOperation (EditorManager.java: 1021) at Org.eclipse.ui.internal.editorManager.savePart (EditorManager.java: 1165)

At Org.eclipse.ui.internal.workbenchpage.savepart (WorkbenchPage.java:2539)

At Org.eclipse.ui.internal.workbenchpage.saveEditor (WorkbenchPage.java: 2551)

At Org.eclipse.ui.Internal.SaveAction.run (saveaction.java: 69)

At Org.eclipse.jface.Action.Action.runwithevent (action.java: 881)

At Org.eclipse.ui.commands.ActionHandler.execute (ActionHandler.java: 141)

At Org.eclipse.ui.Internal.comMands.command.execute (Command.java: 132)

At Org.eclipse.ui.internal.keys.workbenchkeyboard.executeCommand (WorkbenchKeyboard.java: 471)

At Org.eclipse.ui.Internal.keys.workbenchkeyboard.press (Workbenchkeyboard.java: 889)

At Org.eclipse.ui.internal.keys.workbenchkeyboard.processKeyEvent (Workbenchkeyboard.java:930)

At Org.eclipse.ui.internal.keys.workbenchkeyboard.filterKeysequenceBindings (Workbenchkeyboard.java: 548)

At Org.eclipse.ui.Internal.keys.workbenchkeyboard.access $ 2 (WorkbenchKeyboard.java: 496)

At Org.eclipse.ui.internal.keys.workbenchkeyboard $ 1.handleevent (Workbenchkeyboard.java: 261)

At Org.eclipse.swt.widgets.EventTable.sendEvent (evenettable.java: 82)

At Org.eclipse.swt.widgets.display.filterevent (Display.java: 740)

At Org.eclipse.swt.widgets.widget.sendevent (widget.java: 795)

At Org.eclipse.swt.widgets.widget.sendevent (widget.java: 820)

At Org.eclipse.swt.widgets.widget.sendevent (widget.java: 805)

At Org.eclipse.swt.widgets.control.sendKeyevent (Control.java: 1734)

At Org.eclipse.swt.widgets.control.sendKeyevent (Control.java: 1730)

At Org.eclipse.swt.widgets.control.wm_char (Control.java:3067)

At Org.eclipse.swt.widgets.control.windowProc (Control.java:2970)

At Org.eclipse.swt.widgets.display.windowProc (Display.java: 3338) at Org.eclipse.swt.internal.win32.os.dispatchMessagew (Native Method)

At Org.eclipse.swt.internal.win32.os.dispatchMessage (Os.java:1467)

At Org.eclipse.swt.widgets.display.ReadandDispatch (Display.java: 2429)

At Org.eclipse.ui.internal.Workbench.Runeventloop (Workbench.java: 1377)

At Org.eclipse.ui.internal.Workbench.Runui (Workbench.java: 1348)

At Org.eclipse.ui.Internal.Workbench.createAndrunworkBench (Workbench.java: 254)

At Org.eclipse.ui.Platformui.createAndrunWorkBench (platformui.java: 141)

At Org.eclipse.ui.Internal.ide.IdeApplication.run (ideApplication.java: 96)

At Org.eclipse.core.Internal.Runtime.Platformactivator $ 1.Run (platformactivator.java: 335)

At Org.eclipse.core.Runtime.Adaptor.eclipsestarter.run (Eclipsestarter.java: 273)

At Org.eclipse.core.Runtime.Adaptor.eclipsestarter.run (Eclipsestarter.java: 129)

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.basicrun (main.java:183)

At Org.eclipse.core.launcher.main.run (main.java: 644)

At Org.eclipse.core.launcher.main.main (main.java: 628)

I have found a large circle on the Internet. Finally, replace the Lomboz3 used to replace the LOMBOZ3.0.1 problem to be resolved.

It is very strange that this Project is a Tomcat project instead of the Lomboz project, which also proves that Lomboz will interfere with the Tomcat project and look for answers.

转载请注明原文地址:https://www.9cbs.com/read-105254.html

New Post(0)