-
Notifications
You must be signed in to change notification settings - Fork 3
java.lang.ClassNotFoundException: org.grails.plugin.hibernate.filter.HibernateFilterDomainConfiguration #1
Comments
Hi, could you post your build.gradle file or sample project to reproduce this issue? |
@piotrchowaniec Here is demo application to reproduce this isse: If application is published to bintray, do we still need to push this to our local maven repo manually? |
Is there any other demo application I can use? |
Change in build.gradle dependency to: And in application.yml you need to provide configuration class name like: Hope this will fix your issue. |
No success. I've enabled logs and probably this might help.
|
Looks like you didn't fix configuration in application.yml |
I've pushed these changes to my repo as well. Can you test my repo? |
Here is my datasource block:
|
Springsecurity plugin has added application.groovy as well. Can this conflict with application.yml? |
I'm not sure. |
I think spring security added application.groovy is causing some conflicts. After adding dataSource definition in application.groovy, I am getting a different exception and looks like it is able to find HibernateFilterDomainConfiguration. Here are the exception:
I'm going to create a fresh app with no spring security. Lets see. |
Yes. It is spring security which is causing this issue by adding application.groovy. |
I get above exception even though I've added this to application.yml
Here is full stacktrace
This plugin is published in grails plugin but the readme still says that add it in local maven repo?
The text was updated successfully, but these errors were encountered: