Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with SAML integraion #20

Open
kulbida opened this issue Jul 1, 2016 · 1 comment
Open

Issue with SAML integraion #20

kulbida opened this issue Jul 1, 2016 · 1 comment

Comments

@kulbida
Copy link

kulbida commented Jul 1, 2016

Not sure why this happens, but when I installed grails SAML plugin for SSO it broke joda-time to work.
SSO plugin http://docs.spring.io/spring-security-saml/docs/1.0.x/reference/html/index.html
joda-time version 1.4
grails verstion 2.0.3


exception I got is the following:

/<APP_NAME>/order/entry

Class
groovy.lang.MissingMethodException
Message
No signature of method: static org.joda.time.DateTime.now() is applicable for argument types: (org.joda.time.tz.CachedDateTimeZone) values: [America/New_York] Possible solutions: era(), next(), any(), get(org.joda.time.DateTimeField), get(org.joda.time.DateTimeFieldType), get(org.joda.time.DateTimeFieldType)

@kastone
Copy link

kastone commented Jul 8, 2016

Sounds like a dependency resolution issue. Try using 'excludes' for jodi-time dependency in the plugin declaration or force the version you want to use in your grails.project.dependency.resolution = { management{ }} section?
compile (':spring-security-saml:2.0.0'){ excludes 'spring-security-web', 'xml-apis', 'joda-time' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants