I have a problem with troubleshooting. My eclipse does not want to open the class in the package editor.
The error that I have is -
However, the file is opened using Open with-> Text Editor. It looks like a charm. help me please.
I ran into this problem in my filename.xhtml using Eclipse Mars .
filename.xhtml
I fixed this:
1. Right-click on the damage file.
2. Select Open With โ Editor by default.
After that, everything returned to how it was.
Your file association settings may be confused.
Had the same problem with .HTML files.
Although my file associations were set correctly, the following solution that solved the problem:
Try:
right click -> copy classgo to the desktop and pastereturn to eclipse right click delete classcopy and paste from the desktop
This works for me.
I had the same error and fixed it by changing the workspace folder in Aptana: "General โ Startup and Shutdown โ Workspaces". I deleted the existing one and added the following: "C: \ Aptana_Studio \ workplace" (instead of the workspace folder in my user profile).
JFYI: I found that this error occurred after I installed Eclipse for Java.
I had the same error when I started my eclipse.I fixed it by deleting the .project file and adding the project to my workspace again.