Eclipse WAR with 2 projects?

后端 未结 2 1258
日久生厌
日久生厌 2021-01-13 18:38

I am trying to export a WAR file from Eclipse. I have a \"Dynamic Web Project\". But I need classes created for two other projects, one a plain Java project, the other anoth

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-13 19:25

    You need to add your other project as a Java EE module to your web project. Right click on your web project -> properties -> Java EE module Dependencies. Add the 'other' project to it. Eclipse will include this project in the export.

提交回复
热议问题