[ 
http://jira.codehaus.org/browse/MGWT-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mickaël Leduque closed MGWT-160.
--------------------------------

    Resolution: Not A Bug

It was an error.

> DevMode doesn't semm to use the merged web.xml
> ----------------------------------------------
>
>                 Key: MGWT-160
>                 URL: http://jira.codehaus.org/browse/MGWT-160
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: GWT 2.0
>            Reporter: Mickaël Leduque
>
> Here is my maven-gwt config :
>          <plugin>
>             <groupId>org.codehaus.mojo</groupId>
>             <artifactId>gwt-maven-plugin</artifactId>
>             <version>1.3-MLE-SNAPSHOT</version>
>             <configuration>
>                <logLevel>INFO</logLevel>
>                <style>DETAILED</style>
>                <module>fr.tm.ima.showcase.app.ShowcaseWimag</module>
>                <runTarget>
>                   fr.tm.ima.showcase.app.ShowcaseWimag/ShowcaseWimag.html
>                </runTarget>
>                <hostedWebapp>${basedir}/target/war</hostedWebapp>
>                
> <mergedWebXml>${basedir}/target/war/WEB-INF/web.xml</mergedWebXml>
>             </configuration>
> The web.xml is generated from the .src.main.webapp web.xml into the war 
> structure in target.
> But when I run mvn gwt:run, the web.xml is generated but doesn't seem to be 
> used.
> The devmode log window give one error message for each servlet defined in the 
> merged web.xml :
> 00:00:00,000 [WARN] Module declares a servlet class 
> 'fr.tm.ima.showcase.exemple.server.service.DataServiceImpl' with a mapping to 
> '/fr.tm.ima.showcase.app.ShowcaseWimag/DataService', but the web.xml has no 
> corresponding mapping; please add the following lines to your web.xml: 
> <servlet-mapping> 
> <servlet-name>fr.tm.ima.showcase.exemple.server.service.DataServiceImplfr.tm.ima.showcase.exemple.Exemples/DataService</servlet-name>
>  <url-pattern>/fr.tm.ima.showcase.app.ShowcaseWimag/DataService</url-pattern> 
> </servlet-mapping>
> even if the mappings in the web.xml are exactly as proposed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to