Grails 5.2.0-无法部署到JBOS EAP 7.4

发布于 2025-02-12 05:33:18 字数 1009 浏览 1 评论 0原文

  1. Grails Create-App示例
  2. Grails战争
  3. 部署到JBOSS 7.4(未能部署到下面的错误)
    注意:Tomcat-工作!
    JBOSS部署错误:
    {“ wflyctl0080:失败的服务” => {“ jboss.deployment.unit。” Grailsjboss7Point4Test-0.1.war”。 “ java.lang.runtimeException:io.micronaut.context.exceptions.nosuchbeanexception:type [org.springframework.context.context.configurableapplicationcontext] extists type bean notectiasts。 micronaut.context.contition'检查)以及是否启用了BEAN,然后确保该类声明为BEAN,并启用注释处理(对于Java和Kotlin,“ Micronaut-Invent-Java”依赖项应配置为注释处理器)。
    引起的:确保bean的要求不禁用bean(启用跟踪记录'io.micronaut.context.contition'以检查bean),并且如果启用了bean,请确保启用bean并启用了注释处理(用于Java和Java和kotlin“微宣传 - java”依赖关系应配置为注释处理器)。
    引起的是:io.micronaut.context.exceptions.nosuchbeanexception:不存在[org.springframework.context.configurableableapplicationContext]类型的bean of type [org.springframework.context.context.conframework.context.context]。确保bean的要求不禁用bean(启用跟踪记录'io.micronaut.context.contition'以检查bean),并且如果启用了bean,请确保启用bean并启用了注释处理(用于Java和Java和kotlin“ micronaut-java”依赖项应配置为注释处理器)。”}}}}
  1. grails create-app example
  2. grails war
  3. deploying war to JBOSS 7.4 (failed to deployed see error below)
    NOTE: tomcat -- works!
    JBOSS deployed ERROR:
    {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."grailsJboss7Point4Test-0.1.war".undertow-deployment" => "java.lang.RuntimeException: io.micronaut.context.exceptions.NoSuchBeanException: No bean of type [org.springframework.context.ConfigurableApplicationContext] exists. Make sure the bean is not disabled by bean requirements (enable trace logging for 'io.micronaut.context.condition' to check) and if the bean is enabled then ensure the class is declared a bean and annotation processing is enabled (for Java and Kotlin the 'micronaut-inject-java' dependency should be configured as an annotation processor).
    Caused by: java.lang.RuntimeException: io.micronaut.context.exceptions.NoSuchBeanException: No bean of type [org.springframework.context.ConfigurableApplicationContext] exists. Make sure the bean is not disabled by bean requirements (enable trace logging for 'io.micronaut.context.condition' to check) and if the bean is enabled then ensure the class is declared a bean and annotation processing is enabled (for Java and Kotlin the 'micronaut-inject-java' dependency should be configured as an annotation processor).
    Caused by: io.micronaut.context.exceptions.NoSuchBeanException: No bean of type [org.springframework.context.ConfigurableApplicationContext] exists. Make sure the bean is not disabled by bean requirements (enable trace logging for 'io.micronaut.context.condition' to check) and if the bean is enabled then ensure the class is declared a bean and annotation processing is enabled (for Java and Kotlin the 'micronaut-inject-java' dependency should be configured as an annotation processor)."}}

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文