java - GWT project deployment to tomcat in STS(Eclipse) -


i have maven project in sts(eclipse) , try deploying tomcat 6 in sts. maven install use gwt-maven-plugin. installed war contains folders (web-inf/, meta-inf/, compiled gwt frontend folder). when deploy project tomcat (in sts), there web-inf , meta-inf folders in webapps/project folder. folder compiled gwt frontend find. in context.xml tried set docbase installed war, no difference in result. have idea problem be?, because have manually copy folder unpacked folder in webapps. alot.

might configuration problem, post gwt-maven-plugin xml here. here's mine, reference

          <plugin>             <groupid>org.codehaus.mojo</groupid>             <artifactid>gwt-maven-plugin</artifactid>             <version>${gwt.version}</version>             <configuration>                 <loglevel>debug</loglevel>                 <style>pretty</style>                 <runtarget>/applicationscaffold.html</runtarget>                 <hostedwebapp>${project.build.directory}/${project.build.finalname}</hostedwebapp>                 <!--                    <modules>                     <module>${project.groupid}.main</module>                 </modules>-->                 <copywebapp>true</copywebapp>                 <debugport>8001</debugport>                 <extrajvmargs>-xmx900m</extrajvmargs>                 <!-- instruct plugin not require open browser in test mode -->                 <mode>htmlunit</mode>                 <!-- compiler speed -->                  <draftcompile>true</draftcompile>                 <optimizationlevel>0</optimizationlevel>                 <disableaggressiveoptimization>true</disableaggressiveoptimization>             </configuration>             <executions>                 <execution>                     <goals>                         <goal>compile</goal>                         <goal>test</goal>                     </goals>                 </execution>             </executions>             <dependencies>                 <!-- must override plugin's default dependencies -->                 <dependency>                     <groupid>com.google.gwt</groupid>                     <artifactid>gwt-user</artifactid>                     <version>${gwt.version}</version>                 </dependency>                 <dependency>                     <groupid>com.google.gwt</groupid>                     <artifactid>gwt-dev</artifactid>                     <version>${gwt.version}</version>                 </dependency>             </dependencies>         </plugin> 

Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -