代码之家  ›  专栏  ›  技术社区  ›  Taylor Leese

maven gae插件-无法运行gae:debug

  •  4
  • Taylor Leese  · 技术社区  · 15 年前

    我在运行GAE时遇到问题:调试的目标 Maven GAE Plugin . 我收到的错误如下。有什么想法吗?

    我用“mvn-gae:debug”运行它。

    [INFO] Packaging webapp
    [INFO] Assembling webapp[test-gae] in [C:\development\test-gae\target\test-gae-0.0.1-SNAPSHOT]
    [INFO] Processing war project
    [INFO] Webapp assembled in[56 msecs]
    [INFO] Building war: C:\development\test-gae\target\test-gae-0.0.1-SNAPSHOT.war
    [INFO] [statemgmt:end-fork]
    [INFO] Ending forked execution [fork id: -2101914270]
    [INFO] [gae:debug]
    Usage: <dev-appserver> [options] <war directory>
    
    Options:
     --help, -h                 Show this help message and exit.
     --server=SERVER            The server to use to determine the latest
      -s SERVER                   SDK version.
     --address=ADDRESS          The address of the interface on the local machine
      -a ADDRESS                  to bind to (or 0.0.0.0 for all interfaces).
     --port=PORT                The port number to bind to on the local machine.
      -p PORT
     --sdk_root=root            Overrides where the SDK is located.
     --disable_update_check     Disable the check for newer SDK versions.
    

    编辑: gae:run with jvmflags选项也为我提供了与下面配置相同的结果。

        <plugin>
            <groupId>net.kindleit</groupId>
            <artifactId>maven-gae-plugin</artifactId>
            <version>0.5.0</version>
            <configuration>
                <jvmFlags>
                    <jvmFlag>-Xdebug</jvmFlag>
                    <jvmFlag>-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000</jvmFlag>
                </jvmFlags>
            </configuration>
        </plugin>
    
    1 回复  |  直到 14 年前
        1
  •  1
  •   Taylor Leese    15 年前

    看起来这是一个公开赛 issue . 我已经为此提交了一个补丁(请参阅 Issue 38 )

    推荐文章