Importing Dynamic Web Project into Eclipse

前端 未结 5 820
独厮守ぢ
独厮守ぢ 2021-02-06 19:03

I\'ve been working on a dynamic web project in Eclipse. I have recently reInstalled my OS and I use a clean eclipse. I can import my web project, but when I try to lunch (run on

5条回答
  •  半阙折子戏
    2021-02-06 19:39

    OK. My experience is not exactly the same as the poster, but rather than ask a similar question and answer it myself, I'll add my two pennyworth here.

    When I have tried to import a dynamic web project from work onto my home machine — both Eclipse projects — using

    Import -> Existing Projects into Workspace

    I have always ended up with a red exclamation mark against my imported project. Googling indicates that this means the project contains build path errors. Following the advice in the ticked answer above I

    "Right click the project -> Build path -> Configure build path".

    There I find that the JRE System Library has a red cross against it. What to do? This worked:

    1. Delete the JRE System library entry using the Remove button.

    2. Click the Add Library button and select JRE System library. I accepted the default Workspace default JRE.

    So I don't have the reconstruction fag any more. (I assume there must be differences between the installations on the two machines, although both are running the same version of Mac OS.)

提交回复
热议问题