question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

kotlintest does not work with 1.1-beta

See original GitHub issue

Whenever I try to run the tests:

e: Some runtime JAR files in the classpath have an incompatible version. Remove them from the classpath or pass the correct '-language-version' explicitly. Alternatively, you can use '-Xskip-runtime-version-check' to suppress this error
e: C:\Users\GBarbieri\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-reflect\1.0.4\ab1d288da47c0d798553ccea9d8b4fd6a0e3b8e4\kotlin-reflect-1.0.4.jar: Runtime JAR file has version 1.0 which is older than required for language version 1.1

JetBrain also suggest it:

Seems that you’re getting kotlin-reflect:1.0.4 as a transitive dependency of one of your dependencies, and since it would cause problems when used with kotlin-stdlib:1.1, the compiler prohibits such dependency graph.

Would it be possible to have a build/release based on 1.1?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
elect86commented, Feb 17, 2017

I know you hate me…

but could you release it for rc-91? :p

1reaction
sksamuelcommented, Feb 3, 2017

I’ll release one this weekend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kotlin 1.1 Beta 2 is here - The JetBrains Blog
We're happy to announce the second beta of Kotlin 1.1. Please give the new version a try - your feedback is essential for...
Read more >
Has anyone encountered this before java lang NoSuchMethodErr ...
Out of nowhere my code stopped working, invalidate + restart and a clean build didn't fix it, nor did bumping the compiler +...
Read more >
Configurable factory in Kotlin for JavaScript - Stack Overflow
It seems like a bug in Kotlin's Javascript compiler for version 1.0.6. I tried your example with both version 1.0.6 and the 1.1-beta,...
Read more >
kotlin/ChangeLog-1.1.X.md at master - GitHub
1.1.3-2. Fixes. Noarg compiler plugin reverted to 1.1.2 behavior: by default, it will not run any initialization code from the generated default constructor ......
Read more >
Old Release Notes | PMD Source Code Analyzer
You can write your own rules, but we don't guarantee that the rules work with the next (minor) version ... #2653: [lang-test] Upgrade...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found