Eclipse github plugin: commit commit error - entry not found along path

I came across strange github behavior.

I am using the github plugin for eclipse (3.7.2), and now if I create a new class and try to commit, I get an error like

An internal error occurred Entry not found by path: /omeFolderName/src/com/... 

The file is initially located in /SomeFolderName/src/com/... , but somehow github ignores the first letter of the folder name. Any idea how to fix this? This is not a problem in recent days.

  • on my hard drive the file is located in the right folder /SomeFolderName/src/com/...

  • I tried to clean / close the project, restart eclipse, but without any effect

  • also, if I copy the insert of an existing class, the first letter is also missing in the new

+4
source share
3 answers

I also had this problem. I don’t know why the first letter was missing, perhaps it was the second failure. The real problem was solved by clicking the "Add to Git" button. Once I did "Add to Index", my Commit worked fine. I don’t know why the first error was missing from the error.

+4
source

It really worked for me!

1) Copy the project to another place;

2) Remove the damaged project from eclipse;

3) Create a new project with the same name;

4) Add this project to your branch;

5) Copy the source project, src, test, build.xml or any files you need, do not copy the files associated with the project;

6) is synchronized and fixed again.

Here it is!

+1
source

Just for future help. I had the same issue and used the github desktop. http://mac.github.com/ or http://windows.github.com/ I used the commit tool. I closed the eclipse just to make sure I made a fixation with the instrument and reopened the eclipse. The end was successfully completed. I think this is a plugin bug. I also noticed that this happens when you copy-paste new files into the project and do not execute them when dragging and dropping.

0
source

All Articles