WelcomeTo
WelcomeTo

Reputation: 20591

Maven,GWT and hosted mode

When I try to run hosted mode with gwt-maven-plugin (gwt:run) as documented on official site I'am get an error:

The parameters 'runTarget' for goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:run are missing or invalid 

How to solve this problem?
UPDATE: this is in my POM:

        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>gwt-maven-plugin</artifactId>
            <version>${gwt.version}</version>
            <executions>
                <execution>
                    <configuration>
                        <module>ff.ff.dd.Archiving</module>
                        <runTarget>Archiving.html</runTarget>

                        <draftCompile>true</draftCompile>
                    </configuration>
                    <goals>
                        <goal>compile</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>

Upvotes: 0

Views: 1593

Answers (2)

Guillaume Polet
Guillaume Polet

Reputation: 47637

You need to indicate all mandatory configuration options of that goal.

Upvotes: 1

Zeeshan Akhter
Zeeshan Akhter

Reputation: 1891

In netbean make goal gwt:debug

in properties -Dgwt.module=UR MODULE NAME -Dgwt.extraJvmArgs=-Xmx2048m -Dgwt.extraJvmArgs=-XX:PermSize=32m -Dgwt.extraJvmArgs=-XX:MaxPermSize=512m war:exploded gwt:debug

and run it now on console u will see the listening port now go in Debug menu and select "Attach Debugger" and just tell port and host ..... now ur GWT Development Mode Start up now u r in GWT Debugging

Upvotes: 0

Related Questions