When I choose the option to export my dynamic web project in Eclipse (Juno) as a WAR file, all of the .java files are being deployed to WEB-INF/classes along with the .class files. I've never noticed this happening before, so I was wondering what I needed to do to stop this from happening.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I could not reproduce this on Juno, however I noticed there is a checkbox named "Export source files" I assume you have it unchecked, but if not, then this might be it.