Wednesday, May 13, 2015

Re: Trouble running GWT 2.7 net.ltgt.gwt.maven:gwt-maven-plugin project

So I thought I would try tomcat since I could not get the jetty to work. So I do maven build gwt:codeserver -pl *-client -am, then tomcat7:run -pl *-server -am -Denv=dev. I navigate to http://localhost:8080/index.html and sure enough I see the html file. Although I don't think any of the client side stuff is working, none of the text fields and buttons are there. How does the super dev mode work when running on tomcat, will it do an incremental compile on refresh?

-Will

On Wednesday, May 13, 2015 at 9:02:25 AM UTC-4, William Davis wrote:
I think you are right, probably a typo on my end. I have tried localhost:8080/index.html but no connection there either. I am just assuming I want to navigate to index.html since that is the html file in my WEB-INF directory. I am not sure if I need to prepend the module name or something? At any rate if I get this working I would be happy to make a much needed instructional video, but I am a little stuck as to what I am doing wrong.

Thanks again,
Will

On Wednesday, May 13, 2015 at 8:38:43 AM UTC-4, Jens wrote:
I am pretty sure your pom.xml for your -server project does not change the port of jetty, right? In that case Jetty's default port is 8080 so try using localhost:8080 instead.

-- J.

--
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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment