As mentioned above, jar packaging ignores the contents of webapp . If you still want to include the content inside the webapp folder, you need to explicitly specify this in the maven POM.xml configuration, as shown below -
<build> <resources> <resource> <directory>src/main/webapp</directory> </resource> <resource> <directory>src/main/resources</directory> </resource> </resources> ...
akash
source share