Skip to content

Error updating to Grails 6 #434

@puneetbehl

Description

@puneetbehl
 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).
        at io.micronaut.context.DefaultBeanContext.getBeanInternal(DefaultBeanContext.java:2795)
        at io.micronaut.context.DefaultBeanContext.getBean(DefaultBeanContext.java:888)
        at org.grails.testing.GrailsApplicationBuilder.createMainContext(GrailsApplicationBuilder.groovy:146)
        at org.grails.testing.GrailsApplicationBuilder.build(GrailsApplicationBuilder.groovy:61)
        at org.grails.testing.GrailsUnitTest$Trait$Helper.getGrailsApplication(GrailsUnitTest.groovy:73)
        at grails.views.json.test.spock.JsonViewSetupSpecInterceptor.setup(JsonViewSetupSpecInterceptor.groovy:28)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions