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

HowTo.scala throws error when running as instructed #96

Open
dideldei opened this issue Jan 13, 2024 · 1 comment
Open

HowTo.scala throws error when running as instructed #96

dideldei opened this issue Jan 13, 2024 · 1 comment

Comments

@dideldei
Copy link

When trying to run HowTo.scala the following error occurs.

sbt "; project amm-executor; test"

[error] ## Exception when compiling 133 sources to C:\Users\didel\ergo-dex-backend\modules\dex-core\target\scala-2.12\classes [error] scala.reflect.internal.FatalError: Error accessing C:\Users\didel\AppData\Local\Coursier\Cache\v1\https\repo1.maven.org\maven2\com\github\pureconfig\pureconfig-core_2.12\0.14.1\pureconfig-core_2.12-0.14.1.jar

I tried with JDK 11, 17, 21 on a Windows 10 and a Debian Linux machine and the same error occured in all scenarios.

@stlufi
Copy link

stlufi commented Jan 14, 2024

It appears that this specific jar ("com.github.pureconfig" %% "pureconfig-core" % "0.14.1") from Maven Central is broken, because IntelliJ won't display its contents (which it does for every other jar) and forcing the build to use version 0.14.0 of the pureconfig libs compiles and runs the test just fine (and IntelliJ displays its contents, too).

Tried this on Arch Linux with SBT 1.5.5 with JDK 11 and 17 (the versions shipping with Arch Linux).

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