GWT Maven Eclipse Plugin - Compilation Fails Due to Duplicate Class

前端 未结 2 1188
慢半拍i
慢半拍i 2021-02-14 03:57

I am using Eclipse 3.5 (Galileo) with m2eclipse and GWT Eclipse plugins installed. I created a project using the gwt-maven-plugin archetype. I have created an RPC service defi

2条回答
  •  心在旅途
    2021-02-14 04:54

    I have found this posting which states:

    If you manually create the Async interface you must disable the generateAsync goal in the plugin configuration

    The fix was to remove generateAsync from my pom.xml. The plugin config now looks like:

    
        org.codehaus.mojo
        gwt-maven-plugin
        1.2
        
            
                
                    compile
                    test
                
            
        
        
            my.package.Application/Application.html
        
    
    

提交回复
热议问题