`
zjh1n795
  • 浏览: 9843 次
文章分类
社区版块
存档分类
最新评论

Eclipse Removing obsolete files from server 问题

 
阅读更多

懒得费那么多事了:(比较偶然的好了)
org.eclipse.wst.server.core/tmpX 直接删除
复制 eclipse 中的server.xml 覆盖
tomcat 中的config/server.xml
问题应该就向下面说的配置文件 不同步

-------------------------------------以下转载:http://blog.sina.com.cn/s/blog_496782b101012cqf.html

今天上班习惯性的打开我心爱的开发工具Eclipse,开始程序猿的一天工作,可是在启动Tomcat7.0的时候问题来了。。。。

<wbr style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"><span style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"></span> <div style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"> <wbr><wbr><wbr><wbr><wbr>Eclipse很不客气的给来了个大红点儿:<br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr>Removing obsolete files from server..<br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr>Could not clean server ofobsolete files: null<br><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr>java.lang.NullPointerException<br><wbr><wbr><wbr><wbr>无法删除过期文件?<br><wbr><wbr><wbr><wbr>问题在哪儿呢?无法删除文件?好嘛,手动删除……<br><wbr><wbr><wbr><wbr>重启……<wbr><wbr>结果——外甥打灯笼……<br><wbr><wbr><wbr><wbr>到底是哪儿的没删除呢?继续找……<br><wbr><wbr><wbr><wbr>结果——继续打灯笼……<br><wbr><wbr><wbr><wbr>不得以寻求万事通—google<br><wbr><wbr><wbr><wbr><wbr><wbr>解决方法……和我的一样……<br><wbr><wbr><wbr><wbr><wbr><wbr>继续打灯笼……<br><wbr><wbr><wbr><wbr><wbr><wbr>开始查看配置文件……<br><wbr><wbr><wbr><wbr><wbr><wbr>service.xml有问题,之前移除了项目竟然跑出来了,Cril+D删除……<br><wbr><wbr><wbr><wbr><wbr><wbr>重启……<wbr><wbr>吐血继续打灯笼……<br><wbr><wbr><wbr><wbr><wbr><wbr>吐血三升后……<br><wbr><wbr><wbr><wbr>找到问题所在<br> 原来Eclipse中server里面的配置文件在工作空间的.metadata/.plugins/org.eclipse.wst.server.core/tmpX(x={1……n}) 下面还有一份儿,只有两份儿配置文件一致时才会一切正常,于是将server里面的配置文件copy到temX下面,问题解决……<br><wbr><wbr><wbr><wbr><wbr><wbr>希望对其他人有帮助……<br><wbr><wbr><wbr><wbr>于是乎,记之!!!</wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr> </div> <div style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"> <br> </div> <div style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"> <br> </div> <div style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"> <br> </div> <div style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"> <br> </div> <div style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"> <span style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"><br></span> </div> <span style="color:rgb(50,62,50); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(243,243,243)"></span> </wbr>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics