An internal error occurred during: "Add Deployment".

本文详细介绍了如何解决在导入项目时遇到的JDK版本不一致导致的错误,通过具体步骤来调整本地JDK版本设置,确保项目的正常运行。
出现这种错误一般是导入非本机项目所致,原因就是JDK版本不一致,这个小小的问题可能没引起人的注意。

具体步骤如下:

右键项目名→Properties→Java Build Path→Libraries→选中JRE System Library[Sun JDK 1.6.0_13]→Edit→选中“Workspace default JRE(Sun JDK 1.6.0_13)”→Finish

以上是以你本地JDK版本为主

提供的参考引用中未包含构建时出现 'An internal error occurred during: "Building". Unable to communicate with XML - RPC server' 以及 'org.robotframework.ide.eclipse.main.plugin.tableeditor.RobotFormEditor$RobotEditorOpeningException: Unable to initialize Suite editor' 错误的解决方案。不过可以参考类似错误的解决思路来尝试解决问题: - 对于构建时的内部错误,可借鉴“An internal error occurred during: “Building workspace”的解决方法,检查是否是配置内存不足的问题,更改eclipse的安装文件夹下eclipse.ini文件来将eclipse的配置内存调大,示例如下: ```plaintext #eclipse.ini文件 -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 512M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 512m --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dosgi.requiredJavaVersion=1.6 -Xms512m -Xmx1024m -XX:MaxPermSize=1024m ``` 也可以尝试删除相关配置内容,如在出现“An internal error occurred during: “Building workspace”时,删除指定的构建命令和性质相关内容,保存后重启eclipse并重新clean项目[^3][^4]。 - 对于初始化编辑器的异常,可参考Eclipse启动时内部错误的解决方法,先尝试重置窗口布局(windows > perspective > reset perspective),若不管用,删除当前工作目录下的WORKSPACE_HOME/.metadata/.plugins/org.eclipse.core.resources/.project,然后重新启动Eclipse[^2]。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值