Make sure your web components (like jsps, js, css, images, etc) are under
src/main/webapp folder.
If you're not using the standard folder, you may try to configure maven war
plugin to inform the folder you are using. Check [1] to understande how to
configure it (it's the warSourceDirectory tag).

[1] http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html

On Wed, May 18, 2011 at 3:41 AM, Jamshed Katta <jamshed.ka...@wwindia.com>wrote:

> Hey Curtis,
>
> Thanks for your reply.
>
> I used Beyond Compare, and found out that there is s difference between the
> war generated by the normal method and the war generated via maven (The war
> generated in the first case works.)
> The war that maven generates has just 2 folders WEB-INF and META-INF and no
> traces of JSPs whatsoever javascript etc, it only has class files. while
> the
> normal build has all the files (JSPs ) and folders. Whats happening ?
>
>
> Warm Regards,
> Jamshed
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Problem-when-web-app-is-built-via-Maven-tp4392340p4405753.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to