Comments (12)
For someone struggling with this issue, I was able to solve it by replacing grailsPlugins()
entry in my BuildConfig.groovy
file -which defaults to https://repo.grails.org/grails/plugins- by a custom maven repo entry as follows:
repositories {
mavenLocal()
mavenCentral()
mavenRepo "http://repo.grails.org/grails/plugins" // note http instead of https
grailsCentral()
grailsHome()
//grailsPlugins()
}
I'm using grails-2.5.4 and jdk1.7.0_80
from grails-spring-security-ui.
This is just an ssl issue (TLS 1.2). TLS 1.2 is not on by default in JDK 1.7.0_130 and below.
https://www.oracle.com/technetwork/java/javase/7u131-relnotes-3338543.html
Easy fix would be to upgrade your java version to 1.7.0_131 or above where TLS 1.2 is on by default.
But to get that JDK you need to have support from Oracle.
Also adding -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 as parameter for example compile process works for me (I have older 1.7 JDK) .
grails compile -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
So @ddelponte can close this issue.
from grails-spring-security-ui.
I got it to install using their latest release:
compile "org.grails.plugins:spring-security-ui:3.0.0.M2"
from grails-spring-security-ui.
@Timzawrzzz that's the version for Grails 3, the issue was raised against Grails 2
from grails-spring-security-ui.
It's looking for a jar file, did you put the plugin dependency in the dependencies
section? It has to be in the plugins
section with the rest of the plugins.
from grails-spring-security-ui.
Hi @ManuelitoCalles and thank-you for submitting this issue!
Did Burt's recommendations work for you? Has this been resolved?
from grails-spring-security-ui.
I'm opting to close this Issue because it is not reproducible.
@ManuelitoCalles please contact me if this is is still an issue for you and you would like it reopened.
from grails-spring-security-ui.
yes This is still an issue for me @ddelponte
from grails-spring-security-ui.
I am new in grails i use grails-2.5.4 and jdk1.7.0_80 , when i crate a new grails project in GGTS it show this eror
ng process on monir-PC/172.168.0.53
Loading Grails 2.5.4
|Configuring classpath
Error |
Resolve error obtaining dependencies: Could not transfer artifact org.grails.plugins:tomcat:zip:7.0.55.3 from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: cglib:cglib-nodep:jar:2.2.2, org.grails:grails-datastore-test-support:jar:1.0.2-grails-2.4, org.grails.plugins:scaffolding:zip:2.1.2, org.grails.plugins:cache:zip:1.1.8, org.grails.plugins:asset-pipeline:zip:2.5.7, org.grails.plugins:hibernate4:zip:4.3.10, org.grails.plugins:database-migration:zip:1.4.0, org.grails.plugins:jquery:zip:1.11.1: Could not transfer artifact cglib:cglib-nodep:jar:2.2.2 from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: org.grails.plugins:scaffolding:zip:2.1.2, org.grails.plugins:cache:zip:1.1.8, org.grails.plugins:asset-pipeline:zip:2.5.7, org.grails.plugins:hibernate4:zip:4.3.10, org.grails.plugins:database-migration:zip:1.4.0, org.grails.plugins:jquery:zip:1.11.1: Could not transfer artifact org.grails.plugins:scaffolding:zip:2.1.2 from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version (Use --stacktrace to see the full trace)
Error |
Resolve error obtaining dependencies: The following artifacts could not be resolved: org.grails.plugins:scaffolding:zip:2.1.2, org.grails.plugins:cache:zip:1.1.8, org.grails.plugins:asset-pipeline:zip:2.5.7: Could not transfer artifact org.grails.plugins:scaffolding:zip:2.1.2 from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version (Use --stacktrace to see the full trace)
Error |
Could not transfer artifact org.grails.plugins:tomcat:zip:7.0.55.3 from/to grailsCentral (https://repo.grails.org/grails/plugins): Received fatal alert: protocol_version
|Run 'grails dependency-report' for further information.
from grails-spring-security-ui.
Here's a few suggestions/questions:
- does it work if you create a new grails project at the command line?
- have you tried removing
~/.grails/ivy-cache
and then create a new project? - have you tried
grails clean
followed bygrails refresh-dependencies
? - have you tried creating a new project with IntelliJ instead of GGTS?
from grails-spring-security-ui.
Thanks @smakela ! Closing
from grails-spring-security-ui.
Compile with -Dhttps.protocols did have not worked for me.
That's what I did
grails/grails-core#11082 (comment)
from grails-spring-security-ui.
Related Issues (20)
- Create the default role specified in config during registration if it doesn't exist HOT 1
- bump up spring security core Version to 3.2.3
- Feature request: Add Challenge Questions to the Tabs when a User Search is Preformed HOT 1
- Saving a User with no Roles leaves the tab blank HOT 2
- Removing a Role throws an execption HOT 1
- Verifying a new user account does not unlock that account. HOT 6
- Does not behave well with Postgresql datasource configuration HOT 2
- In a Grails multi-project, there are errors when the User/Role domain classes are in a separate plugin subproject HOT 4
- Grails 4 Compatibility HOT 2
- User update removes all user roles (removeUserRole A bug has occurred to remove all user-roles) HOT 7
- Feature Request: tokenExpiration for RegistrationCode instances
- new users are not unlocked upon finishing the registration HOT 1
- Add support for role groups
- Flaws in Spring Security UI Plugin - Reference Documentation HOT 1
- Add/Remove Role from an User gives error when SpringSecurityCore classes are customized
- No plugin [spring-security-ui-1.0-RC3] installed, cannot uninstall HOT 1
- JDK 17 - Spring Security UI 4.0.0.M1 (Latest) "Failed to compile s2ui-override.groovy" HOT 2
- Dependency Dashboard
- Grails 6 support
- Create an issue template similar to what is used in the grails-data-mapping plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grails-spring-security-ui.