Re-building a deleted class file in Eclipse

前端 未结 5 1070
Happy的楠姐
Happy的楠姐 2021-02-09 18:33

I accidentally deleted a .class (Java bytecode) file in my project (on the filesystem, not using Eclipse itself). Easy to fix, right? Just re-build it. But that doesn\'t work! E

5条回答
  •  终归单人心
    2021-02-09 19:27

    To the person that put the bount out, maybe you could just commit all your changes to what ever code repository you have, after exiting eclispe just delete the whole workspace, then create a new workspace and re import all the files into the new workspace from your code repository.

提交回复
热议问题