为什么我的eclipse每次保存,eclipse 右下角都会出现 publishing to tomcat...,有时候超过8分钟,急。。。很崩溃

yishengaini2010 2010-12-06 02:06:50
为什么我的Eclipse经常出现这个提示,每次保存的时候就会出现publishing to tomcat...这个进度?等很长时间有时候超过8分钟,如果跳过就不能保存?从网上查到project--buildAutomatically取消了,也不管用,效率很低,请各位帮忙。。。。
...全文
3459 26 打赏 收藏 转发到动态 举报
写回复
用AI写文章
26 条回复
切换为时间正序
请发表友善的回复…
发表回复
jsycbc 2013-08-18
  • 打赏
  • 举报
回复
很简单,双击你的server,在窗口中修改下。如图:

选择第一项就不会了。不过这样导致的问题是,修改的内容无法发布到tomcat,导致不生效。
建议还是不要更改。
hyjzdd 2011-05-05
  • 打赏
  • 举报
回复
把WEB-INFO下的class文件夹删掉
在Build Path中改成projectName/build/classes
保证速度飞快
magong 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 18 楼 yishengaini2010 的回复:]

我的eclipse中有5个项目,为什么我现在做的这个项目在project/clean中不显示呢,其他4个都显示???为什么???
[/Quote]
真是乱了。
在命令行用eclipse -clean方式启动eclipse。或者:(简单一点的办法)。启动eclipse后找菜单file - switch workspace - other,输入一个空的新目录。
新工作区间建立后,再将原来的项目import到这个全新的工作区间中来。
persia 2010-12-06
  • 打赏
  • 举报
回复
双击“服务器”窗口中的TOMCAT服务器,会出现一个配置窗口,
点其中的“发布”,选择“从不自动发布”,就可以了(我没实际确认)。

ECLIPSE+各种组件,对系统配置的要求还是挺高的,
建议你还是升级硬件配置吧。
yishengaini2010 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 21 楼 bearkin 的回复:]

那应该跟tomcat的热部署木关系吧... 刷新下项目看看
[/Quote]
我刷新过了,不行。
但是我的eclipse中有5个项目,为什么我现在做的这个项目在project/clean中不显示呢,其他4个都显示???为什么???
BearKin 2010-12-06
  • 打赏
  • 举报
回复
那应该跟tomcat的热部署木关系吧... 刷新下项目看看
yishengaini2010 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 19 楼 bearkin 的回复:]

引用 9 楼 yishengaini2010 的回复:

引用 7 楼 bearkin 的回复:

别在启动Tomcat的时候更改类文件结构(如果不更改结构只改其内部实现是不会这么长时间的 另 更改JSP是没问题的)
虽然人家提供了这个功能 但是用处不大。。(没感觉方便开发了)

我现在做前台,对那些类还没动过,我修改一下JSP就出现这种情况。



你修改JSP的时候控制……
[/Quote]
不提示,eclipse自动开始 publishing to tomcat...很久
BearKin 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 yishengaini2010 的回复:]

引用 7 楼 bearkin 的回复:

别在启动Tomcat的时候更改类文件结构(如果不更改结构只改其内部实现是不会这么长时间的 另 更改JSP是没问题的)
虽然人家提供了这个功能 但是用处不大。。(没感觉方便开发了)

我现在做前台,对那些类还没动过,我修改一下JSP就出现这种情况。
[/Quote]


你修改JSP的时候控制台会提示项目重新部署么?
yishengaini2010 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 14 楼 yishengaini2010 的回复:]

引用 13 楼 magong 的回复:

clean / clean tomcat work directory试试看,兴许是乱了。

请说清楚点,谢谢。
[/Quote]
我的eclipse中有5个项目,为什么我现在做的这个项目在project/clean中不显示呢,其他4个都显示???为什么???
yishengaini2010 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 16 楼 eswn 的回复:]

在使用WTP时,要按顺序操作:编译-》发布-》重启tomcat,顺序弄错了有可能出现各种问题 。
[/Quote]
能否说的清楚点,谢谢。
eswn 2010-12-06
  • 打赏
  • 举报
回复
在使用WTP时,要按顺序操作:编译-》发布-》重启tomcat,顺序弄错了有可能出现各种问题 。
eswn 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 12 楼 yishengaini2010 的回复:]
引用 10 楼 eswn 的回复:

引用 2 楼 yishengaini2010 的回复:

对,tomcat是在启动着,就出现这个问题。关闭就没这个问题。请求解决方法

这个现象在多个eclipse版本出现,已经被eclipse开发人员确认,楼主可以升级到最新的eclipse版本来解决这个问题。

我这个是eclipse 3.6,别人在用这个版本也没什么问题,到我这就有问题了,……
[/Quote]
如果是别人没有问题的话,把工程导出,在eclipse下把工程删除,再导入,就可以了。
yishengaini2010 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 13 楼 magong 的回复:]

clean / clean tomcat work directory试试看,兴许是乱了。
[/Quote]
请说清楚点,谢谢。
magong 2010-12-06
  • 打赏
  • 举报
回复
clean / clean tomcat work directory试试看,兴许是乱了。
yishengaini2010 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 10 楼 eswn 的回复:]

引用 2 楼 yishengaini2010 的回复:

对,tomcat是在启动着,就出现这个问题。关闭就没这个问题。请求解决方法

这个现象在多个eclipse版本出现,已经被eclipse开发人员确认,楼主可以升级到最新的eclipse版本来解决这个问题。
[/Quote]
我这个是eclipse 3.6,别人在用这个版本也没什么问题,到我这就有问题了,郁闷。
dick727526 2010-12-06
  • 打赏
  • 举报
回复
tomcat是在启动着
eswn 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 yishengaini2010 的回复:]

对,tomcat是在启动着,就出现这个问题。关闭就没这个问题。请求解决方法
[/Quote]
这个现象在多个eclipse版本出现,已经被eclipse开发人员确认,楼主可以升级到最新的eclipse版本来解决这个问题。
yishengaini2010 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 7 楼 bearkin 的回复:]

别在启动Tomcat的时候更改类文件结构(如果不更改结构只改其内部实现是不会这么长时间的 另 更改JSP是没问题的)
虽然人家提供了这个功能 但是用处不大。。(没感觉方便开发了)
[/Quote]
我现在做前台,对那些类还没动过,我修改一下JSP就出现这种情况。
yishengaini2010 2010-12-06
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 magong 的回复:]

引用 2 楼 yishengaini2010 的回复:

对,tomcat是在启动着,就出现这个问题。关闭就没这个问题。请求解决方法

解决办法就是关闭tomcat,需要用的时候再启动。
其他的方法都太麻烦且作用差不多。
[/Quote]

一会开tomcat,一会关tomcat也太麻烦了,在说启动一下tomcat也的需要几分钟。哪位打什么还有什么好方法。
另外在补充一点:我在保存时,首先User Opreation is waiting..,然后就eclipse右下角出现repulishing to tomcat...很久。
BearKin 2010-12-06
  • 打赏
  • 举报
回复
别在启动Tomcat的时候更改类文件结构(如果不更改结构只改其内部实现是不会这么长时间的 另 更改JSP是没问题的)
虽然人家提供了这个功能 但是用处不大。。(没感觉方便开发了)
加载更多回复(6)
Paperback: 170 pages Publisher: Packt Publishing - ebooks Account (August 3, 2015) Language: English ISBN-10: 1783553472 ISBN-13: 978-1783553471 About This Book Explore continuous integration and automation, along with how to manage and configure Jenkins Discover the process of using Jenkins to build, test, and package Java applications Learn about the extensible features of Jenkins with the use of advanced plugins Who This Book Is For If you are a Jenkins novice or beginner with a basic understanding of continuous integration, then this is the book for you. Beginners in Jenkins will get quick hands-on experience and gain the confidence to go ahead and explore the use of Jenkins further. What You Will Learn Get to grips with the challenges faced by developer communities Learn about continuous integration and how it helps in building various Java applications Facilitate the installation and configuration of Jenkins Install and configure code repositories and build tools Explore the integration of Eclipse with code repositories Manage the integration of Jenkins, code repositories, and build tools Familiarize yourself with continuous integration for Java applications with unit test execution and static code analysis In Detail In agile development practices, developers need to integrate their work frequently to fix bugs or to create a new feature or functionality. To integrate all work efficiently and verify it is an error-prone and time-consuming manual task. Jenkins is used specifically for continuous integration, helping to enforce the principles of agile development. This book begins by tackling the installation of the necessary software dependencies and libraries you'll need to perform continuous integration for a Java application. From there, you'll integrate code repositories, applications, and build tools for the implementation of continuous integration. Finally, you'll explore the automated deployment of an application in Tomcat, along with details on managi

58,442

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧