Eclipse问题集锦

Posted MoMoweiduan

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Eclipse问题集锦相关的知识,希望对你有一定的参考价值。

在开发工作中,经常会遇到各种各样的问题,每一个问题我们都不得不去解决,否则开发工作无法进行下去,尤其对于我这种有一定程度上的强迫症的人来说。在开发工作中,即使报错的信息一样,但是引起该错误的原因也有可能不同,所以解决方案了有可能不同。下面是自己记录的一些自己遇到的一些问题:

问题一,Eclipse中tomcat报错:Could not publish server configuration for Tomcat v7.0 Server at localhost.

解决方案:Servers文件夹中的server.xml文件中< Context >可能出错。核对 docBase,path,source的值是否正确

<Context docBase="xxxx" path="/xxxx" reloadable="true" source="org.eclipse.jst.jee.server:xxxx"/>

 

问题二,启动Eclipse时发生:!ENTRY org.eclipse.osgi 4 0 2017-10-02 12:28:21.477!MESSAGE Application error!STACK 1org.eclipse.swt.SWTException: Invalid thread access

at org.eclipse.swt.SWT.error(SWT.java:4533)

解决方案:删除\workspace\.metadata\.plugins\org.eclipse.core.res ources\.snap 重启eclipse

 

问题三,SVN安装一直失败:An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: org.eclipse.update.feature,edu.umd.cs.findbugs.plugin.eclipse,3.0.1.20150306-5afe4d1.
MD5 hash is not as expected. Expected: 700c2058d1720a42563e1541991f3b7f and found 3973f280b94a613552621cb99ad8ff0a.

解决方案:安装SVN的时候,把“Contact all update sites during install to find required software”这个勾去掉!还哦与也可能与网络不好有关。

 

以后遇到Eclipse的问题,会继续加上。。。。。。




以上是关于Eclipse问题集锦的主要内容,如果未能解决你的问题,请参考以下文章

怎么解决eclipse的闪退问题

Eclipse Eclipse 中JPEGEncodeParam 错误波浪线问题

eclipse下openJPA问题

eclipse配置maven的问题

eclipse 没有颜色提示了?

eclipse 中文乱码问题