我在profile中添加了export LC_CTYPE=zh_CN.GB2312及export LANG=zh_CN.GB2312但是在eclipse中输入中文,用ctrl+space切换仍然不行,并出现以下提示:
--------------------------------------------------------
lorg.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:95)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:320)
at org.apache.jasper.compiler.TagLibraryInfoImpl.createValidator(TagLibraryInfoImpl.java:654)
at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:289)
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:205)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:460)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:524)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1591)
at org.apache.jasper.compiler.Parser.parse(Parser.java:172)
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.WebModule.internalParseJSP(WebModule.java:274)
at com.objectlearn.jdt.j2ee.core.WebModule.forceParseJSP(WebModule.java:255)
at com.objectlearn.jdt.j2ee.core.WebModule.parseJSP(WebModule.java:241)
at com.objectlearn.jdt.j2ee.core.Project.parseJSP(Project.java:742)
at com.objectlearn.jdt.j2ee.ui.editor.partitioner.JspPartitionScanner.getParseInfo(JspPartitionScanner.java:285)
at com.objectlearn.jdt.j2ee.ui.editor.assist.taglib.TagLibrary.parseTagLibraries(TagLibrary.java:115)
at com.objectlearn.jdt.j2ee.ui.editor.assist.taglib.TagLibrary.<init>(TagLibrary.java:100)
at com.objectlearn.jdt.j2ee.ui.editor.assist.HTMLCompletionProcessor.createTagLibrary(HTMLCompletionProcessor.java:299)
at com.objectlearn.jdt.j2ee.ui.editor.assist.HTMLCompletionProcessor.getCustomTagAttributeCompletionProposals(HTMLCompletionProcessor.java:229)
at com.objectlearn.jdt.j2ee.ui.editor.assist.HTMLCompletionProcessor.computeCompletionProposals(HTMLCompletionProcessor.java:124)
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1291)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:199)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:198)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$3.run(CompletionProposalPopup.java:161)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:157)
at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1211)
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:485)
at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:83)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:81)
at org.eclipse.ui.texteditor.RetargetTextEditorAction.run(RetargetTextEditorAction.java:239)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:923)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1847)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1639)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)