gpt4 book ai didi

eclipse - Tapestry 5.3 教程和 Eclipse Kepler : RegistryStartup service can't be loaded

转载 作者:行者123 更新时间:2023-12-04 15:34:14 25 4
gpt4 key购买 nike

我正在尝试关注 the official Tapestry tutorial

以下步骤很好:

  • 启动 mvn jetty:run(从命令行)
  • 启动 mvn eclipse:eclipse -DdownloadSources=true
  • 在 Eclipse 中导入项目
  • 从 Eclipse 中导入的项目配置新的 Jetty 配置

  • 但是一旦我从 Eclipse 运行配置,我就会收到一个错误,其日志是 here .
    (相关部分,据我所知:
    ioc.Registry Error building service proxy for service 'RegistryStartup'

    )

    另外,请注意我的问题与 this post中的问题不同。 :确实,我已经设法在 Eclipse 中设置了 Jetty 6。

    我的操作系统是 Ubuntu 13.10 64 位。

    在 ubuntu 上我安装了 Maven 3.1.1

    我正在使用 Eclipse Kepler Service Release 2

    我安装了 jetty 插件 (RunJettyRun) 1.3.2 (Jetty 6)。

    此外,在 Eclipse 中,我设置了补丁以使用 java8 运行时。

    最佳答案

    JVM 参数似乎不是此问题的原因。

    jdk8 compatibility guide确实列出了在 Java 7 中运行大型应用程序可能必须设置的已删除选项。尽管在 Java 7 中不使用此设置,这些小示例应用程序仍然可以正常运行。在 Java 8 中不再需要设置这些选项:

    The command line flags PermSize and MaxPermSize have been removed and are ignored.



    完整的堆栈跟踪表明用于字节码操作的塑料库不兼容。抛出根异常是因为库的 ClassReader包括此检查,它似乎并不关心应用程序是在哪个版本中编译的:
    // checks the class version
    if (readShort(6) > Opcodes.V1_7) {
    throw new IllegalArgumentException();
    }

    关于eclipse - Tapestry 5.3 教程和 Eclipse Kepler : RegistryStartup service can't be loaded,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22871396/

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