Re-building a deleted class file in Eclipse

前端 未结 5 1569
走了就别回头了
走了就别回头了 2021-02-09 19:06

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:12

    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.

提交回复
热议问题