修改pom.xml后Eclipse启动报错:组件加载异常及Project Explorer消失求助
Eclipse启动报错及Maven配置器缺失问题排查求助
问题背景
修改pom.xml部分代码后,启动Eclipse工作空间出现以下异常:
- 弹出报错窗口,提示
An error has occurred. See error log for more details. - 后续触发更多错误,且Project Explorer无法正常显示
错误日志详情
An error has occurred. See error log for more details. java.lang.NullPointerException The 'net.harawata.mybatipse.XmlMapperHyperlinkDetector' extension from plug-in 'net.harawata.mybatipse' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point failed to load the hyperlink detector. Plug-in "net.harawata.mybatipse" was unable to instantiate class "net.harawata.mybatipse.hyperlink.XmlHyperlinkDetector". org/eclipse/jdt/core/IJavaElement The 'org.eclipse.jst.jsp.ui.internal.hyperlink.XMLJavaHyperlinkDetector' extension from plug-in 'org.eclipse.jst.jsp.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point failed to load the hyperlink detector. Plug-in "org.eclipse.jst.jsp.ui" was unable to instantiate class "org.eclipse.jst.jsp.ui.internal.hyperlink.XMLJavaHyperlinkDetector". org/eclipse/jst/jsp/core/internal/java/JSPTranslation An internal error occurred during: "Compute launch button tooltip". org/eclipse/jdt/core/JavaModelException An internal error occurred during: "Initializing Boot Validation Enabler". org/eclipse/jdt/core/IElementChangedListener
已尝试的无效解决方法
在eclipse.ini中添加配置-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU,但问题未得到解决。
额外错误提示
操作过程中还出现以下Maven相关提示:
Multiple annotations found at this line: - Project configurator "org.maven.ide.eclipse.configuration.wtp.configurator" required by plugin execution "org.apache.maven.plugins:maven-war-plugin:2.2:war (execution: default-war, phase: package)" is not available. To enable full functionality, install the project configurator and run Maven->Update Project Configuration. - Project configurator "org.maven.ide.eclipse.configuration.wtp.overlay.configurator" required by plugin execution "org.apache.maven.plugins:maven-war-plugin:2.2:war (execution: default-war, phase: package)" is not available. To enable full functionality, install the project configurator and run Maven->Update Project Configuration.
恳请协助排查并解决该问题。
内容的提问来源于stack exchange,提问作者jang
相关产品推荐
相关产品推荐

