Wednesday, May 13, 2015

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

I should probably mention that I am trying to use this modular archetype.
mvn archetype:generate \     -DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/ \     -DarchetypeGroupId=net.ltgt.gwt.archetypes \     -DarchetypeArtifactId=modular-webapp \     -DarchetypeVersion=1.0-SNAPSHOT
But yes, another type in my haste,  I meant to say that the index.html file is in the src/main/webapp/ directory


On Wednesday, May 13, 2015 at 9:39:58 AM UTC-4, Jens 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.

WEB-INF, a typo again? Your index.html should either be in src/main/webapp or in src/main/java/com/example/<module>/public but never in your WEB-INF folder. If you place it into src/main/webapp you should be able to access your app using localhost:8080/index.html. If you put it into the public folder then you can access the app via localhost:8080/<modulename>/index.html.


-- 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