Eclipse: The declared package does not match the expected package

后端 未结 13 468
挽巷
挽巷 2020-12-25 09:03

I have a problem importing an external project. I go File -> Import... -> Existing Projects into Workspace, choose the folder where the project is located and everything is

13条回答
  •  醉梦人生
    2020-12-25 09:58

    Go to src folder of the project and copy all the code from it to some temporary location and build the project. And now copy the actual code from temporary location to project src. And run the build again. Problem will be resolved.

    Note: This is specific to eclipse.

提交回复
热议问题