Eclipse Output Folders

后端 未结 6 476
滥情空心
滥情空心 2020-12-21 07:38

With following structure, how can I make Eclipse build the WAR file correctly?

I need following folders to go into following output folders:

mail/src

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-21 08:00

    Your www folder shouldn't be a source folder (with the small package icon). It should be a regular folder and reside at mail/war/www.

    As for mail/src, just have a look at the build path of the project and make sure that the output folder is set to mail/war/WEB-INF/classes.

提交回复
热议问题