Git Product home page Git Product logo

Comments (12)

delcio19 avatar delcio19 commented on August 12, 2024 4

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.

smakela avatar smakela commented on August 12, 2024 2

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.

Timzawrzzz avatar Timzawrzzz commented on August 12, 2024

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.

burtbeckwith avatar burtbeckwith commented on August 12, 2024

@Timzawrzzz that's the version for Grails 3, the issue was raised against Grails 2

from grails-spring-security-ui.

burtbeckwith avatar burtbeckwith commented on August 12, 2024

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.

ddelponte avatar ddelponte commented on August 12, 2024

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.

ddelponte avatar ddelponte commented on August 12, 2024

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.

arifulislam3010 avatar arifulislam3010 commented on August 12, 2024

yes This is still an issue for me @ddelponte

from grails-spring-security-ui.

arifulislam3010 avatar arifulislam3010 commented on August 12, 2024

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.

ddelponte avatar ddelponte commented on August 12, 2024

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 by grails refresh-dependencies?
  • have you tried creating a new project with IntelliJ instead of GGTS?

from grails-spring-security-ui.

ddelponte avatar ddelponte commented on August 12, 2024

Thanks @smakela ! Closing

from grails-spring-security-ui.

jpozorio avatar jpozorio commented on August 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.