gpt4 book ai didi

google-app-engine - GAE ReSTLet 样本 "Missing required argument"

转载 作者:太空宇宙 更新时间:2023-11-03 15:34:40 24 4
gpt4 key购买 nike

我试着让这个样本运行 http://wiki.restlet.org/docs_2.0/13-restlet/275-restlet/252-restlet.html但是一旦我启动它,我就会收到这条消息,不幸的是我什么都不知道。

Missing required argument 'module[s]'
Google Web Toolkit 2.4.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

我使用 Eclipse 3.7,使用“GWT (3) 2.4”和“App Engine(4) 1.6.0”“创建 Web 应用程序项目”

我必须输入什么,有人可以帮助我吗?

谢谢鲍勃

最佳答案

您尝试在 DevMode 中启动 GWT 应用程序,但 Eclipse 中的“运行配置”不正确。这是“运行配置”中参数的示例:

-server com.google.appengine.tools.development.gwt.AppEngineLauncher -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl index.html -logLevel INFO -war /home/koen/workspace/klawt/war -codeServerPort 9997 -port 8888 com.example.MyModuleEntryPoint

您缺少的是最后一个参数:com.example.MyModule。您必须在包 com.example 中有相应的 MyModule.gwt.xml。

关于google-app-engine - GAE ReSTLet 样本 "Missing required argument",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8945160/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com