Eclipse JPA项目更改事件处理程序(正在等待) [英] Eclipse JPA Project Change Event Handler (waiting)

查看:158
本文介绍了Eclipse JPA项目更改事件处理程序(正在等待)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试构建项目时,为什么要获得 JPA项目变更事件处理程序(正在等待)。

Why am I getting 'JPA Project Change Event Handler (waiting)', whenever I try to build my project.

我的工作区中有一些JPA项目,构建我的项目需要很多时间。分配给Eclipse的6GB堆空间也会导致GC超限。

I have some JPA projects in my workspace and It takes lot of time to build my project. It also leads to GC over limit with 6GB of heap space allocated to eclipse

我目前正在使用开普勒。在Helios中没有发生此问题。

I'm currently using Kepler. This issue did not occur in Helios.

上面的Bug有一些BugZilla条目,但我可以看到它们已修复。但是在4.3.1中不可用吗?

There are some BugZilla entries for the above bug, but I can see them fixed. But not available in 4.3.1?

上述问题的任何解决方案/解决方法?

Any solutions/workarounds for the above issue?

谢谢 p>

Thanks

推荐答案

我遇到了同样的问题,最终发现这似乎是 DALI中的一个已知错误(Eclipse Java持久性工具),因为至少eclipse 3.8可能导致将Java编辑器中的操作保存得非常慢

I had the same problem and I ended up finding out that this seems to be a known bug in DALI (Eclipse Java Persistence Tools) since at least eclipse 3.8 which could cause the save action in the java editor to be extremly slow.

由于开普勒(20130614-0229)尚未完全解决此问题,并且由于我在日食中不需要JPT / DALI,我最终手动删除了 org.eclipse。 jpt 功能和插件。

Since this hasn't been fully resolved in Kepler (20130614-0229) yet and because I don't need JPT/DALI in my eclipse I ended up manually removing the org.eclipse.jpt features and plugins.

我所做的是:

1。)退出eclipse

1.) exit eclipse

2.)转到我的Eclipse安装目录

2.) go to my eclipse install directory

cd eclipse

并执行以下步骤:

* nix:

mkdir disabled
mkdir disabled/features disabled/plugins

mv plugins/org.eclipse.jpt.* disabled/plugins
mv features/org.eclipse.jpt.* disabled/features

windows:

mkdir disabled
mkdir disabled\features 
mkdir disabled\plugins

move plugins\org.eclipse.jpt.* disabled\plugins
for /D /R %D in (features\org.eclipse.jpt.*) do move %D disabled\features

3.)重新开始蚀。

3.) Restart eclipse.

启动后首次使用eclipse可能会警告您,您需要重新配置内容助手。在偏好设置对话框中执行此操作。

After startup and on first use eclipse may warn you that you need to reconfigure your content-assist. Do this in your preferences dialog.

完成。

在卸载DALI / JPT后,我的日食再次感觉良好。保存文件时,不再有被阻止的UI和等待秒。

After uninstalling DALI/JPT my eclipse feels good again. No more blocked UI and waiting for seconds when saving a file.

这篇关于Eclipse JPA项目更改事件处理程序(正在等待)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆