每次我将我的GWT应用程序部署到appengine并尝试访问它时,我会得到白色加载屏幕,然后在大约20-30秒后我收到此消息:

我使用maven与gwt-maven-plugin和appengine-maven-plugin.使用maven-gae-plugin进行部署可以得到相同的结果.
如果我切换回使用2.6.1版本的gwt和gwt-maven-plugin它部署好了,所以它似乎与自动开发模式启动器有关.
<build>
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/super</directory>
</resource>
<resource>
<directory>${project.build.directory}/generated-sources/apt</directory>
</resource>
<resource>
<directory>${project.build.directory}/generated-sources/gwt</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${target.jdk}</source>
<target>${target.jdk}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<proc>none</proc>
</configuration>
</plugin>
<!-- JUnit Testing - skip *.GwtTest cases -->
<!-- 'mvn test' - runs the Jukito tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/*GwtTest.java</exclude>
<exclude>**/*JUnitTest.java</exclude>
</excludes>
</configuration>
</plugin>
<!-- GWT -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt-maven-plugin.version}</version>
<configuration> …Run Code Online (Sandbox Code Playgroud) gwt google-app-engine maven gwt-maven-plugin gwt-super-dev-mode
我有一个使用gwt-maven-archetype构建的Maven项目.虽然它与mvn gwt:run目标运行完美,但是当我尝试在tomcat7容器中运行它时,mvn tomcat:run或者mvn gwt:compile && mvn tomcat:run它没有加载GWT动态创建的小部件.
根据谷歌Chrome控制台,它找不到该*.nocache.js文件,即使在/target/文件夹中它确切地位于预期的位置.
我目前正在尝试在入口点模块中显示一个简单的"Hello"标签:
public class Hello implements EntryPoint {
public void onModuleLoad() {
Label hello = new Label("TESTESTSTSTS");
RootPanel.get("helloContainer").add(hello);
}
}
Run Code Online (Sandbox Code Playgroud)
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="veltisto.css">
<title>Web Application Starter Project</title>
<script type="text/javascript" language="javascript" src="veltisto/veltisto.nocache.js"></script>
</head>
<body>
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
<noscript>
<div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px …Run Code Online (Sandbox Code Playgroud) 我们有一个运行GWT插件的Maven构建(gwt-maven).不幸的是,它已经耗尽内存.
我是否需要为Maven本身提供更多堆,还是需要为GWT提供更多堆?知道如何为pom.xml文件指定这个吗?
我需要使用maven插件为GWT编译器设置输出目录位置.
我已经调查了GWT编译器和gwt-maven-plugin文档,但没有找到任何选项.
例如:
我有一个名为两个模块editor,并console和GWT-Maven的插件,它们编译为%ROOT%/editor与%ROOT%/console显示目录.
但是我需要有这些模块编译成%ROOT%/ria/editor和%ROOT%/ria/console迪尔斯,以减少努力维护基于URL的安全性和其他的东西.
是否可以ria在插件配置中设置目录,以避免不必要的新ANT任务创建将已编译的模块移动到需要的位置?
该gwt-maven-plugin文件列出了2.8.0-SNAPSHOT为最新版本,我想评价即将到来的2.8.0 GWT.
虽然2.7.0可以直接从Maven Central存储库获得版本,但我无法找到从中检索快照的正确存储库.不幸的是,我无法在项目主页上找到这些信息.
有人可以提供我的工作<repository/>和<pluginRepository/>配置pom.xml吗?
显然,GWT有两个maven插件:
这个:
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.0-rc-6</version>
Run Code Online (Sandbox Code Playgroud)
还有这个:
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.8.0-SNAPSHOT</version>
Run Code Online (Sandbox Code Playgroud)
有什么区别 ?
我正在尝试按照以下说明安装Eclipse Indigo 3.7.2(在Ubuntu上运行)的gwt-maven-plugin:http: //uptick.com.au/content/getting-started-gwt-maven-and-日食
但是,当我进入安装"Maven Integration for Eclipse WTP"的步骤时,我收到以下错误:
无法完成安装,因为找不到一个或多个必需的项目.正在安装的软件:Maven Integration for WTP(可选)0.12.0.20110421-1500(org.maven.ide.eclipse.wtp.feature.feature.group 0.12.0.20110421-1500)缺少要求:WTP的Maven集成(可选)0.12. 0.20110421-1500(org.maven.ide.eclipse.wtp.feature.feature.group 0.12.0.20110421-1500)需要'org.maven.ide.eclipse.feature.feature.group [0.10.0,1.0.0)'但它无法找到
关于SO的类似问题建议勾选"联系所有更新站点",但这对我不起作用.根据这个帖子的建议,我还添加了Galileo&Helios更新站点(除了Indigo):http://www.eclipse.org/forums/index.php/t/206143/
还有其他想法如何解决这个问题?
我试图在另一场战争中重用组装的 gwt 编译。对于这个我尝试从改变目前的Maven模块的包装war来pom。然后我计划使用 maven-assembly-plugin 来压缩 gwt 的模块 js 输出,然后在另一个 war 模块中使用它。
我试图改变包装标签<packaging>war</packaging>,以 <packaging>pom</packaging>从pom.xml的验证样品。gwt-maven-plugin 从不进入编译。相反,它跳过编译!!!!
What is happening? Is this expected? Is there any workaround?
我正在尝试将gwt项目迁移到maven几天,但一直遇到问题.我尝试按照不同的指南尝试不同的pom配置,但没有让它工作.目前,它是这样的:
[ERROR] Line 8: The import de.bml.web.versandanzeige.server.model.Zyklus cannot be resolved,这只是我的包中的许多类之一.该错误仅显示此类.我将在下面发布完整的日志完整的错误日志,使用-e选项:
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Versandanzeige_Web 1.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- gwt-maven-plugin:2.5.0:compile (default-cli) @ Versandanzeige_Web ---
[INFO] Compiling module de.bml.web.versandanzeige.Versandanzeige_Web
[INFO] Validating units:
[INFO] Ignored 3 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO] Computing all possible rebind results for …Run Code Online (Sandbox Code Playgroud) 如果我运行mvn archetype:生成它有效,但如果我尝试
mvn archetype:generate -DarchetypeGroupId org.codehaus.mojo -DarchetypeArtifactId gwt-maven-plugin -DarchetypeVersion=2.5.0
Run Code Online (Sandbox Code Playgroud)
该消息来自我上次使用反斜杠的尝试,但它与没有斜杠命令的消息相同
E:\mavenplay\a>mvn archetype:generate \ -DarchetypeGroupId org.codehaus.mojo \ -
DarchetypeArtifactId gwt-maven-plugin \ -DarchetypeVersion=2.5.0 -X
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 15:51:
28+0200)
Maven home: E:\apache-maven-3.0.5\bin\..
Java version: 1.6.0_25, vendor: Sun Microsystems Inc.
Java home: E:\Program Files\Java\jdk1.6.0_25\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from E:\apache-maven-3.0.5\bin\..\conf\settings.
xml
[DEBUG] Reading user settings from C:\Users\henkel\.m2\settings.xml
[DEBUG] Using …Run Code Online (Sandbox Code Playgroud) gwt-maven-plugin ×10
gwt ×8
maven ×7
eclipse ×2
gwt-compiler ×1
java ×1
m2eclipse ×1
maven-3 ×1
maven-plugin ×1
tomcat7 ×1