本文介绍了使用eclipse从salesforce检索数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用eclipse从salesforce检索数据,但是当我尝试这个时我遇到了问题。我正在使用最新版本的eclipse(Neon [Version:Neon.1a Release(4.6.1)]和Kepler [Version:Kepler Service Release 2])并安装了force.com库。

我有超出限制的问题,我搜索一个解决方案,我发现我应该在eclipse.ini文件中增加Xmx的大小。我尝试了但是我有同样的错误,我可以从Salesforce读取数据,但我无法将它们检索到eclipse。

有什么帮助解决这个问题吗?



我尝试过:



我执行以下步骤:

1- In在Package Explorer中,右键单击 - >新 - >项目 - > Force.com项目 - >下一步2-我通过填写这些字段(项目名称,用户名,密码,安全令牌,环境)来创建新项目 - >下一步 - >然后获取包裹

3-我选择选择的元数据组件 - >我点击按钮选择...(打开组件需要很长时间) - >然后我从类中选择1个类,然后单击确定。

4-需要花费大量时间并出现此警告的对话框:获取force.com组件时出现警告::服务器处理时间已超出限制(600秒)中止操作或继续等待服务器? - >所以我继续

5-我再次点击继续,问题仍然存在,同样的对话框再次出现。

I need to retrieve data from salesforce using the eclipse, but I had a problem when I tried this. I am using a newest version of eclipse (Neon [Version: Neon.1a Release (4.6.1)] and Kepler [Version: Kepler Service Release 2]) with the force.com library installed.
I had the limit exceeded problem, I search for a solution, I found that I should increase the size of Xmx in eclipse.ini file. I tried it but I had the same error, I can read the data from Salesforce but I cannot retrieve them to eclipse.
Any help to solve this issue?

What I have tried:

I do these steps:
1- In the Package Explorer, right click -> New -> Project -> Force.com Project -> Next 2- I create the new project by filling these fields (Project Name, Username, password, Security Token, Environment) -> Next -> then the package is fetched
3- I select Selected metadata components -> I click the button Choose... (It takes a lot of time to open the components) -> then I choose for example 1 class from classes and I click ok.
4- It takes a lot of time and a dialog appear with this warning : Warning occurred while fetching force.com components :: Server processing time has exceeded limit (600 secs) Abort Operation or continue waiting for server? -> So I continue
5- I click again on continue, the issue persist and the same dialog appear again many times.

推荐答案


这篇关于使用eclipse从salesforce检索数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 20:32