Simply adding this plugin - version 5.0.0-SNAPSHOT to a Grails 5 project, still has problems with Spring Security :(.
By visiting the "/auditLogEven/index" page , the following exception is thrown:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grails.plugins.orm.auditable.AuditLogEventController': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [grails.plugins.orm.auditable.AuditLogEventController]: Constructor threw exception; nested exception is groovy.lang.MissingPropertyException: No such property: auditDomainClass for class: grails.plugins.orm.auditable.AuditLogListenerUtil
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154)
at org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:73)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:670)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
As it was in the past when there were similar issues :( .
Simply adding this plugin - version 5.0.0-SNAPSHOT to a Grails 5 project, still has problems with Spring Security :(.
By visiting the "/auditLogEven/index" page , the following exception is thrown:
As it was in the past when there were similar issues :( .
Any idea how to fix this?
Also, since most Grails projects use at least https://grails.github.io/grails-spring-security-core/ , would it be possible to extend the tests/examples in this project to have this plug-in too?
Thank you.