gwt应用程序突然停止运行

gwt应用程序突然停止运行

本文介绍了gwt应用程序突然停止运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先我很抱歉我的英文。
我的Gwt应用程序有一个问题。
我构建Gwt应用程序,我每天都在应用程序工作
昨天我想仍然在我的应用程序上工作,但停止工作,我不知道为什么,我没有收到错误
应用程序编译我得到Url在浏览器上运行

我将Url复制到我的Firefox浏览器,没有发生任何事情。
我在我的入门点类中设置了断点,我看到应用程序没有到达入口点,我不知道为什么。
我尝试打开新项目来检查eclipse或Gwt插件中的问题,但新项目工作良好,所以我明白这个项目的问题。
我需要帮助
谢谢大家

解决方案

我有3个可能的怀疑:


  1. 您更新了应用程序,但由于某些原因,某些JavaScript仍保留在Firefox缓存中。解决方案:转到选项和清除缓存,并始终尝试按CTRL + F5而不是仅重新加载,这将清除保存在浏览器中的当前网站缓存。


  2. 您的硬盘已满(不太可能)。你说你每天在应用程序上工作。在开发模式下的缓存是非常糟糕的(对我来说,它一度包含缓存数据的 300GB )。有一个名为< win_user> / AppData / Local / Temp的文件夹 - 删除所有内容,如果你发现很多gwt-< something>文件并检查文件夹的大小。里面没有什么有价值的东西(如果你没有在里面放置任何东西):
    P.S.事实证明,这是一个在GWT 2.6.0中修复的Firefox内存泄漏:)


  3. 你的Eclipse搞砸了一些随机的东西。一如往常 - 项目>清洁...

    然后右键单击应用程序,让gwt重新启动您的应用程序(如果您有一个使用gwt编译器的ant文件,执行它)

我真的不能想到别的什么...
唯一可能的是你改变了一些东西,但是你说你没有这样...



希望它有效,
Laurenz


first of all I am sorry on my English.I have a problem in my Gwt application.I build Gwt application and I work on application every dayYesterday I want to still work on my application but is stopped worked and i do not know why and I not get errorsThe application compiled and I get the Url to run on browser
I copy the Url to my Firefox browser and not happened nothing.I put break point in my entry point class and I see the application not arrived to entry point and I do not know why.I try to open new project to check maybe the problem in eclipse or in Gwt plug in but the new project worked excellent so I understand the problem in specific this project.I need helpthank you everyone

解决方案

Okay i have 3 possible suspicions:

  1. You updated your Application, but for some reason some JavaScript stayed inside the Firefox cache. Solution: Go to options and "Clean cache" and always try to press CTRL+F5 instead of just reloading, this will clean the current website's cache saved in your Browser.

  2. Your HDD is full(less likely). You said you work everyday on the app. The caching in dev-mode is very VERY bad(for me it once contained 300GB of cached data). there is a folder called <win_user>/AppData/Local/Temp - delete everything inside if you find a lot of "gwt-<something>" files and check the folder's size. There is nothing valuable inside it(if you didn't place anything inside :D)
    P.S. Turns out it was a Firefox Memory-leak that has been fixed in GWT 2.6.0 :)

  3. Your Eclipse messed up some random stuff. As always - Project > Clean...
    Then right click on app and let gwt recomile your app(if you have an ant file that uses the gwt-compiler, execute that)

I can't really think of anything else...The only thing that could be is that YOU changed something, but you said you didn't so...

Hopefully it works,Laurenz

这篇关于gwt应用程序突然停止运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 14:40