Myeclipse编辑器中server服务窗口出现Could not create the view: An unexpected exception was thrown

在我们非正常关闭计算机或者台式电脑突然断电,而当前的计算机中的myeclipse正在运行中,当下次启动计算机时,计算机可能会出现Could not create the view: An unexpected exception was thrown.这样的问题,如下图所示:


这时,我们点击Details》 按钮,会出现大致如下图所示的情况:


此时,我们需要对其显示的详细错误信息进行分析,这时我们会看到一系列的问题,这里我们选择第一条错误信息进行分析:at com.genuitec.eclipse.ast.deploy.core.Deployment.<init>(Unknown Source);从这里我们可以知道的信息是在com.genuitec.eclipse.ast.deploy.core这个包中的Deployment内初始化有问题,此时我们对myeclipse的界面或者工作区域没有做过什么改变,为什么会显示出这样的错误?原因就是我们的myeclipse在非正常关闭时出现了一个文件,com.genuitec.eclipse.ast.deploy.core.prefs。  当我们使用notepad++打开时,其显示内容为下图:


其实这时我们不必考虑太多,我们直接将这个文件删除后再重新启动myeclipse10即可恢复,该文件的所在位置为:E:\Java\javaTest(当前工作区)\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.genuitec.eclipse.ast.deploy.core.prefs,如下图所示:


删除之后,我们在重新打开myeclipse10 ,这时将不会再出现错误!


感谢百度上的大神!如果有什么问题或者错误之处可以留言于我,定当改正



  • 5
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
The error message "The server encountered an internal error that prevented it from fulfilling this request" typically indicates that there is an issue with the server configuration or the code being executed. It could be caused by various factors such as incorrect server settings, incompatible dependencies, or a bug in the code. To troubleshoot this issue in MyEclipse, you can try the following steps: 1. Ensure that the server configuration is correct: Check if the server settings in MyEclipse match the actual server configuration. Make sure that the server is properly installed and configured. 2. Check for compatibility issues: Verify that the versions of the server, libraries, and frameworks being used are compatible with each other. Incompatible versions can lead to internal server errors. 3. Review the server logs: Look for any error messages or stack traces in the server logs to identify the root cause of the internal server error. The logs can provide valuable information about the issue. 4. Debug the code: If the error is related to the code being executed, you can try debugging it to find the specific line or method causing the error. Use breakpoints and step through the code to pinpoint the issue. 5. Update or reinstall dependencies: If the error is caused by incompatible or corrupt dependencies, try updating or reinstalling them. Make sure to clean and rebuild the project to ensure that the dependencies are properly resolved. 6. Seek help from the MyEclipse community: If you are unable to resolve the issue on your own, you can seek help from the MyEclipse community forums or support channels. Other users or the MyEclipse support team may be able to provide guidance or solutions based on your specific situation. Related questions: 1. How can I check the server logs in MyEclipse? 2. What are some common causes of internal server errors in MyEclipse? 3. How do I update dependencies in MyEclipse?
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值