Grails 5.2.0-无法部署到JBOS EAP 7.4
- Grails Create-App示例
- Grails战争
- 部署到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”依赖项应配置为注释处理器)。”}}}}
- grails create-app example
- grails war
- 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论