Two days ago, because I changed the new version of myeclipse, my myeclipse servers could not be used normally, that is, the web project cannot be released. A null pointer exception occurs and this error occurs:
Atcom. genuitec. Eclipse. Ast. Deploy. Core. Deployment. <init> (unknown source)
After several days of research and solutions, I finally found the answer on the Internet. When an error occurred, I went to myeclipse's Baidu Post Bar and found that this error was not found when someone else used myeclipse10.7, why does this problem happen to me. After seeing the solution, I immediately understood it. In the past, I used the original workspace, and some information about the original deployment project may be changed after the new version is changed, others in the Post Bar use the newly created workspace, so the above problems do not occur. According to the online solution, I succeeded. Now I will share it with you.
If the preceding error occurs, follow these three steps:
1. First, close the myeclipse workspace.
"/. Metadata/. plugins/org. Eclipse. Core. runtime/. Settings/COM. genuitec. Eclipse. Ast. Deploy. Core. prefs"
This file. Some deployment project information is stored in this file. If the information of the deployed project is deleted, no error occurs.
3. Restart myeclipse to solve the problem.