Friday, April 26, 2013

Re: Startupurl when having maven structure



On Friday, April 26, 2013 7:58:16 PM UTC+2, Kris wrote:
Hi, when running in dev mode I get problem with the startup url.. 
I have a maven struture, so the html file is in 
src/main/webapp. 

see attached pic... 

But I get a 

HTTP ERROR: 404

NOT_FOUND

RequestURI=/ppmock.html

Powered by Jetty://

What should the -startupurl be in the arguments in the run configuration in eclipse. ?? 

-war C:\jsi-workspace2\JSI\ppmock\target\ppmock-1.0.0-SNAPSHOT -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl ppmock.html -logLevel INFO -codeServerPort 9997 -port 8888 com.farheap.jsi.ppmock.ppmock


This is OK, but did you run an "mvn package" or "mvn compile war:exploded" before you run the DevMode?
See https://developers.google.com/eclipse/docs/faq#gwt_with_maven
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment