Code Monkey home page Code Monkey logo

Comments (12)

stephane-segning avatar stephane-segning commented on September 21, 2024 1

Which version should we use then ?

from librarymanagement.

dwijnand avatar dwijnand commented on September 21, 2024

Cheers Richard.

from librarymanagement.

Martin-Smith2 avatar Martin-Smith2 commented on September 21, 2024

I have the same problem in windows

from librarymanagement.

hiejulia avatar hiejulia commented on September 21, 2024

I have the same problem in MacOS as well.

from librarymanagement.

AlanBateman avatar AlanBateman commented on September 21, 2024

It seems to be hacking into a private field in java.net.Authenticator to get the globally configured Authenticator, it should use Authenticator.getDefault() (new API in Java SE 9) instead.

from librarymanagement.

dwijnand avatar dwijnand commented on September 21, 2024

Fixed in #173.

from librarymanagement.

nhooey avatar nhooey commented on September 21, 2024

I have the same error:

WARNING: Illegal reflective access by sbt.internal.librarymanagement.ivyint.ErrorMessageAuthenticator$ (file:/Users/${USER}/.sbt/boot/scala-2.12.3/org.scala-sbt/sbt/1.0.2/librarymanagement-ivy_2.12-1.0.2.jar) to field java.net.Authenticator.theAuthenticator

Which occurs when I run the tests for my IntelliJ IDEA Scala project. I used jrudolph/sbt-dependency-graph to check the dependency tree for the project, and librarymanagement-ivy isn't found, but these outdated versions of librarymanagement-ivy are downloaded when first building the project:

~/.sbt/boot/scala-2.12.3/org.scala-sbt/sbt/1.0.2/librarymanagement-ivy_2.12-1.0.2.jar
~/.sbt/boot/scala-2.12.3/org.scala-sbt/sbt/1.0.2/librarymanagement-core_2.12-1.0.2.jar

How do I get SBT to use the updated versions of librarymanagement-ivy to avoid the Illegal reflective access error?

@dwijnand, @AlanBateman

from librarymanagement.

dwijnand avatar dwijnand commented on September 21, 2024

change the sbt.version in project/build.properties

from librarymanagement.

dwijnand avatar dwijnand commented on September 21, 2024

Use https://github.com/sbt/sbt/releases as a reference.

from librarymanagement.

PeterLambCSA avatar PeterLambCSA commented on September 21, 2024

I upgraded from sbt version 0.13.5 to 0.13.17 in build.properties and I started getting this error. However, if I try to upgrade to a later version of SBT 1.0.0 onwards, then the play plugin refuses to load, so I seem to be stuck with 0.13.17 and suffering the error message as I can't go beyond that version without the play plugin failure. Any ideas?

from librarymanagement.

SethTisue avatar SethTisue commented on September 21, 2024

@PeterLambCSA that'd be a good question to ask in a Play forum ("what version of Play supports sbt 1?")

from librarymanagement.

PeterLambCSA avatar PeterLambCSA commented on September 21, 2024

@SethTisue Thanks, Seth. I can't upgrade my Play version right now, so I guess I'll have to just abandon the SBT upgrade.

from librarymanagement.

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.