Reputation: 562
When I run my GWT app using Eclipse Plugin, I can access local ds viewer at http://localhost:8888/_ah/admin but after converting to mvn project, I get a
HTTP ERROR: 404 NOT_FOUND
RequestURI=/_ah/admin
Powered by Jetty://
I can access my app on same port, so it's indeed 8888.
Please give suggestions, thanks
Update: pom.xml
`
<plugin>
<groupId>net.kindleit</groupId>
<artifactId>maven-gae-plugin</artifactId>
<version>0.8.4</version>
<configuration>
<port>81</port>
<disableUpdateCheck>true</disableUpdateCheck>
<encoding>UTF-8</encoding>
<keepTempUploadDir>true</keepTempUploadDir>
<unpackVersion>${gaeVersion}</unpackVersion>
<sdkDir>${settings.localRepository}/com/google/appengine/appengine-java-sdk/1.5.2/appengine-java-sdk-1.5.2</sdkDir>
</configuration>
</plugin>
`
Upvotes: 2
Views: 1209
Reputation: 13047
You can set the port in the pom.xml
:
<plugin>
<groupId>net.kindleit</groupId>
<artifactId>maven-gae-plugin</artifactId>
<version>0.9.2</version>
...
<configuration>
<port>8765</port>
</configuration>
</plugin>
<pluginRepositories>
<pluginRepository>
<id>maven-gae-plugin-repo</id>
<name>maven-gae-plugin repository</name>
<url>http://maven-gae-plugin.googlecode.com/svn/repository/</url>
</pluginRepository>
</pluginRepositories>
Then check the console output:
27.04.2012 07:13:22 com.google.appengine.tools.development.DevAppServerImpl start
INFO: The server is running at http://localhost:8765/
27.04.2012 07:13:22 com.google.appengine.tools.development.DevAppServerImpl start
INFO: The admin console is running at http://localhost:8765/_ah/admin
Upvotes: 0
Reputation: 562
I managed to get it to work by adding:
<server>com.google.appengine.tools.development.gwt.AppEngineLauncher</server>
<appEngineVersion>${gaeVersion}</appEngineVersion>
Upvotes: 2