[ 
http://jira.codehaus.org/browse/MGWT-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177569#action_177569
 ] 

David Peterson commented on MGWT-48:
------------------------------------

The only solution I've found is to create an alternate 'gwt-user' build, sans 
'javax.servlet' files, which I deployed to our internal M2 repo as 
'1.6.4-fixed'. Then I stick this in my pom.xml:

Define your gwt version:

{noformat}
<properties>
        <gwt.version>1.6.4</gwt.version>
        ...
</properties>
{noformat}

{noformat}
<dependency>
        <groupId>com.google.gwt</groupId>
        <artifactId>gwt-user</artifactId>
        <!--  The '-fixed' addition is a hack to fix a bug in the central 1.6.4 
deployment. Remove once resolved. -->
        <version>${gwt.version}-fixed</version>
        <scope>provided</scope>
</dependency>
{noformat}

Then add the following into your 'gwt-maven-plugin' <configuration> section:

{noformat}
<gwtVersion>${gwt.version}</gwtVersion>
{noformat}

It should now build happily. Fingers crossed...

> Problem with javax servlet of gwt-user in my war
> ------------------------------------------------
>
>                 Key: MGWT-48
>                 URL: http://jira.codehaus.org/browse/MGWT-48
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: gwt 1.6.4, maven 2, win XP/linux RH5
>            Reporter: Cyril Lakech
>            Assignee: nicolas de loof
>            Priority: Critical
>             Fix For: 1.1
>
>
> I got a problem discussed here : 
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/d4dd93967b8231e7?pli=1
> When I compile my GWT application, the javax/servlet java files are compiled 
> and gwt put them in the classes package of the output directory. So the 
> javax/servlet classes are in the war of the project and all the applications 
> servers embedded this library already.
> So we got a wonderfull linkage error at runtime. 
> Could you help me about this ?
> I use the gwt-maven-plugin to build, and the javax/servlet directory from the 
> gwt-user library is in my war and that create some linkage error on 
> tomcat/jboss etc...
> Bst Rgds,

-- 
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