我的GWT项目有问题,因为它编译得很好并成功生成了war文件,但它工作正常。但我尝试在我的eclipse上将其作为GWT Web应用程序运行,它在不创建URL的情况下返回此消息
Unknown argument: -nosuperDevMode
Google Web Toolkit 2.3.0
DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist- string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [- gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir] module[s]
where
-noserver Prevents the embedded web server from running
-port Specifies the TCP port for the embedded web server (defaults to 8888)
-whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated)
-blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated)
-logdir Logs to a file in the given directory, as well as graphically
-logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
-gen Debugging: causes normally-transient generated types to be saved in the specified directory
-bindAddress Specifies the bind address for the code server and web server (defaults to 127.0.0.1)
-codeServerPort Specifies the TCP port for the code server (defaults to 9997)
-server Specify a different embedded web server to run (must implement ServletContainerLauncher)
-startupUrl Automatically launches the specified URL
-war The directory into which deployable output files will be written (defaults to 'war')
-deploy The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)
-extra The directory into which extra files, not intended for deployment, will be written
-workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
and
module[s] Specifies the name(s) of the module(s) to host
感谢您的帮助
答案 0 :(得分:2)
-nosuperDevMode
标志仅适用于GWT 2.6或2.7及更高版本 - 您应该从eclipse运行配置中的参数列表中删除它。
我不确定它是如何到达那里的,除非你开始使用更新版本的GWT,然后再回到2.3.0(差不多five years old ...)。
或者,转到过去几年发布的GWT版本(并且能够支持IE10,IE11以及最后30 versions of Chrome和35 versions of Firefox。