Failed to create the part's controls in Eclipse with Salesforce

前端 未结 8 1235
傲寒
傲寒 2020-12-31 09:09

I have Eclipse Juno and Force.com IDE. When I try to create new classes they always show: failed to create the part\'s controls. It worked for the first tim

相关标签:
8条回答
  • 2020-12-31 09:13

    I solved my problem like this:

    myeclipse

    0 讨论(0)
  • 2020-12-31 09:14

    In ecllipse, every file types has some associated default formats and one of the default format set to the particular file type.

    You can see this in General -> Editors -> File Associations-

    This issue generally occurs when we open any file in the format which is not the default format of the particular types.

    I got same issue when I opened one of the Java file in text format in ecllipse and then I started getting the same issue. After research, I observed that AspectJ/Java Editor was setting as default. After reset it to Java Editor, the problem got resolved.

    Steps : 1. General -> Editors -> File Associations- 2. Select the content type and choose the default format for it. 3. Restart the ecllipse.

    In general, it is some default file format that set in ecllipse causing the same issue.

    0 讨论(0)
  • 2020-12-31 09:15

    I faced the same issue my default editor for JSP was Web page editor. Which I changed to JSP editor and everything is fine.

    PS: To change to JSP editor Right click on JSP page -->open with jsp .

    0 讨论(0)
  • 2020-12-31 09:15

    This problem occur because of in eclipse default editor is not able to identify extension of that file. If you right click on file and open it with respective text editor ,problem will be solved

    0 讨论(0)
  • 2020-12-31 09:21

    Use eclipse -clean from command prompt to solve this problem.

    0 讨论(0)
  • 2020-12-31 09:23

    in my case problem was that the server was resin and I didn't have the resin server extension installed

    0 讨论(0)
提交回复
热议问题