GWT application via tomcat on Intellij-Idea 10

It sounds simple, but I have a lot of problems.

I want to run a GWT project in tomcat in Intellij-idea 10.

Does anyone know how to configure launch configuration?

Regards, Charles.

+5
source share
3 answers

You can use the -noserver option to run Dev mode under Tomcat. Change the GWT startup configuration by adding "-noserver -port 8080" to the "Dev Mode Settings" field, then run the Tomcat configuration and then run the GWT configuration.

+4
source

, , /. . , GWT Web.

  • GWT, GWT: (Jetty, GWT) AppEngine ( ).

  • Tomcat, :

    . Tomcat " - ".

    . - WAR ( ). .

    . Tomcat .

0

First you run the gwt compiler to compile the gwt module, then the compiler creates .js and .html in your hosted files. And you can run tomcat as usual, but tomcat does not compile your gwt modules. I suggest you use ant to compile gwt modules.

-1
source

All Articles