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

java.lang.ClassNotFoundException: kotlin.streams.jdk8.StreamsKt #622

Closed
henrik242 opened this issue Feb 7, 2019 · 5 comments
Closed

java.lang.ClassNotFoundException: kotlin.streams.jdk8.StreamsKt #622

henrik242 opened this issue Feb 7, 2019 · 5 comments

Comments

@henrik242
Copy link

@henrik242 henrik242 commented Feb 7, 2019

I get java.lang.ClassNotFoundException: kotlin.streams.jdk8.StreamsKt when running Spek Framework plugin v2.0.0-IJ2018.3 in IntelliJ IDEA 2018.3.3

And my tests runs are green while they shouldn't:

import org.junit.jupiter.api.Assertions.assertEquals
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe

object RequestParserSpec : Spek({

    describe("the parser") {
        context("parse a list from string") {
            val result = "123".toInt()
            it("should be a list") {
                assertEquals(666, result)
            }
        }
    }
})

Full stacktrace:

Testing started at 14:49 ...
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java "-javaagent:/Users/myuser/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/183.5153.38/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=53629:/Users/myuser/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/183.5153.38/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Users/myuser/src/my-app2/flight/common/build/classes/test:/Users/myuser/src/my-app2/flight/common/build/classes/main:/Users/myuser/src/my-app2/shared/common/build/classes/test:/Users/myuser/src/my-app2/shared/common/build/classes/main:/Users/myuser/src/my-app2/shared/statistics/build/classes/test:/Users/myuser/src/my-app2/shared/statistics/build/classes/main:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech/commons-logging/25.13/4392d0d9e3e0035f3a3b4f7d11b68eff796eb8c1/commons-logging-25.13.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.11.1/268f0fe4df3eefe052b57c87ec48517d64fb2a10/log4j-api-2.11.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.11.1/592a48674c926b01a9a747c7831bcd82a9e6d6e4/log4j-core-2.11.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-jcl/2.11.1/5532d26802ff7e34205bffcffe138cb166f448aa/log4j-jcl-2.11.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-1.2-api/2.11.1/3aba3398fe064a3eab4331f88161c7480e848418/log4j-1.2-api-2.11.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.slf4j/jcl-over-slf4j/1.7.25/f8c32b13ff142a513eeb5b6330b1588dcb2c0461/jcl-over-slf4j-1.7.25.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.25/da76ca59f6a57ee3102f8f9bd9cee742973efa8a/slf4j-api-1.7.25.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.3.20/eb2a232734e09fcd1b958a5c7520a93c6de38b32/kotlin-stdlib-1.3.20.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.3.20/cd49eec32cf964333faf59e04b4085eac7008477/kotlin-reflect-1.3.20.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.8.1/6505a72a097d9270f7a9e7bf42c4238283247755/commons-lang3-3.8.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech/commons-monitoring/25.13/68dae246c86c05c233c3d2efe0aa337d9fafb127/commons-monitoring-25.13.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.5/f645ed69d595b24d4cf8b3fbb64cc505bede8829/gson-2.8.5.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/27.0.1-jre/bd41a290787b5301e63929676d792c507bbc00ae/guava-27.0.1-jre.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.1.4.RELEASE/e7d2ad03a50ebff117a6efe2e0e3f15946d0768a/spring-core-5.1.4.RELEASE.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/5.1.4.RELEASE/57a8c4ab2ff3233095da24c58c30aa75a7a82069/spring-aop-5.1.4.RELEASE.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/5.1.4.RELEASE/2be9e8da66d32fb4eaf29a46bdcdbfe155f1f87a/spring-context-5.1.4.RELEASE.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/annotations/3.0.1/fc019a2216218990d64dfe756e7aa20f0069dea2/annotations-3.0.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy/2.5.6/6936e700f0fb1b50bac0698ada4347a769d40199/groovy-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-groovysh/2.5.6/5641b17c326878b5e8cdedf49f01293177d636a8/groovy-groovysh-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-json/2.5.6/c342f6a4f72765085819f949a300c616f33d75c2/groovy-json-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-nio/2.5.6/d95e3d25b664f576be5e3f0f727782ac6fdd1799/groovy-nio-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-macro/2.5.6/9fc476ed7c23b8341dc65c52e760c44e9bcec67e/groovy-macro-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-templates/2.5.6/d12298eb38c4812662371f5f51695108f41c28d4/groovy-templates-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-xml/2.5.6/f0bcdf0705ac84ba6209de9fea9608150d28a194/groovy-xml-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-slf4j-impl/2.11.1/4b41b53a3a2d299ce381a69d165381ca19f62912/log4j-slf4j-impl-2.11.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.login/login-client-web-spring/12.4/b0c99bdcce6cd5d8107afbcbf0a75c0f7bd68a87/login-client-web-spring-12.4.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.login/login-client-web-spring-support/12.4/ec864a821e184aeece8a604d032533a5a5b524b/login-client-web-spring-support-12.4.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.login/login-client-web-core/12.4/ac315fe9365237c6f5490584b91a645cfafaab3f/login-client-web-core-12.4.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.login/login-client/12.4/fc2f0fb2c4c5e045406c92b3171bab1b9f435e74/login-client-12.4.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.user/user-client/20.2/a629640ca3ba6c32d1a7a5fe29ce16971307e5b4/user-client-20.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.greenpages/greenpages-client/25.13/8a8bf4e2784001db8c8e510fcf0b4c37244d745a/greenpages-client-25.13.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.greenpages/greenpages-thrift-client/25.13/13b3c477508fd94bcf433668d38d8eae44e0f47d/greenpages-thrift-client-25.13.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.login/login-api/12.4/8542b1e9ceb2997a139fc2f12a1bd8167f95bcd/login-api-12.4.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.netflix.hystrix/hystrix-request-servlet/1.5.18/ba5bad6cc661ec40cb01af7fe23ffb5a8fad529a/hystrix-request-servlet-1.5.18.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.netflix.hystrix/hystrix-core/1.5.18/e1a7ed48e1a60abbb08027a46189afb04c05b04f/hystrix-core-1.5.18.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.netflix.archaius/archaius-core/0.7.6/be0c1024d08ad68ec25f9f32b0e9df1ab7ecb45b/archaius-core-0.7.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.mail/mail-client/9.0/64d7a8e9a5919d0a5225b58ba7e51c957359c639/mail-client-9.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.mail/mail-content/9.0/3a8d5825c32e01021c7775b12ce89042984d10d0/mail-content-9.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.mail/mail-api/9.0/9b5885e7611a04d5ebb509e78edc682fa95f46eb/mail-api-9.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.greenpages/greenpages-api/0.20/6bb45480336004a3b53cb45c2ce8cb510df15ace/greenpages-api-0.20.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.user/user-api/20.2/55a94d7f6f3fb844dbc2356a56ef2246b2680ac/user-api-20.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.thrift/libthrift/0.9.2/9b067e2e2c5291e9f0d8b3561b1654286e6d81ee/libthrift-0.9.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.velocity.tools/velocity-tools-generic/3.0/e789f6ec06f9a69ccb8956f407fb685b2938e74b/velocity-tools-generic-3.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.velocity/velocity-engine-core/2.0/6e5f29e1237b1764a4ce769feeffb85b0b19cfa7/velocity-engine-core-2.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.ecyrd.speed4j/speed4j/0.18/3df1717aae65961cb94734c59c49f1430721433a/speed4j-0.18.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.module/jackson-module-kotlin/2.9.8/7ea1867daf999d6a3028362a0418da44b751bc13/jackson-module-kotlin-2.9.8.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.constretto/constretto-core/2.2.3/5364266c3b937533b939495103060707187cd9f2/constretto-core-2.2.3.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/5.0.9.RELEASE/c18346caaeb8dc648c4cc01874996fd9fef76664/spring-webmvc-5.0.9.RELEASE.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/5.0.9.RELEASE/1ea3aab93340849313fa74ec626ddaf1fff9ed8e/spring-web-5.0.9.RELEASE.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.1.4.RELEASE/507c9391e0b786704929453e7fd3a74cfba46534/spring-beans-5.1.4.RELEASE.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/5.1.4.RELEASE/1abbfd04a7d472811582bb3780ea4d871442d49c/spring-expression-5.1.4.RELEASE.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech/commons-core/25.13/e5daaf98c732c657ae876f65e70cd04a64bfad9/commons-core-25.13.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/net.logstash.log4j2/log4j2-logstash-jsonevent-layout/3.1.1-mycomp-2/30a3a1b856eefcecbca694aecae69013936d3b01/log4j2-logstash-jsonevent-layout-3.1.1-mycomp-2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.lmax/disruptor/3.4.2/e2543a63086b4189fbe418d05d56633bc1a815f7/disruptor-3.4.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/xerces/xercesImpl/2.12.0/f02c844149fd306601f20e0b34853a670bef7fa2/xercesImpl-2.12.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/io.prometheus/simpleclient_servlet/0.6.0/7f50460c3fdcaf8a50030573106c8a3b62d2c47c/simpleclient_servlet-0.6.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/io.prometheus/simpleclient_dropwizard/0.6.0/eb5bf2734c90f56350e9d4e27ea93486b4c5b9e5/simpleclient_dropwizard-0.6.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/io.prometheus/simpleclient_hotspot/0.6.0/2703b02c4b2abb078de8365f4ef3b7d5e451382d/simpleclient_hotspot-0.6.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/io.prometheus/simpleclient_common/0.6.0/8b4f119cfdff67a02a066e6e519bb2bab0a2a1b/simpleclient_common-0.6.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/io.prometheus/simpleclient/0.6.0/26073e94cbfa6780e10ef524e542cf2a64dabe67/simpleclient-0.6.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.3.20/7d7934e26ce34da1a0a8d00e38038d7cf3375e89/kotlin-stdlib-common-1.3.20.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.github.ben-manes.caffeine/guava/2.6.2/63b0484700042ea0d32b9effb852ed3fa2449d0f/guava-2.6.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.github.ben-manes.caffeine/caffeine/2.6.2/c8fd8817f9d2b2ced82f8968e0dd943aab557de0/caffeine-2.6.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.18/1191f9f2bc0c47a8cce69193feb1ff0a8bcb37d5/commons-compress-1.18.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.constretto/constretto-api/2.2.3/7e7a08dcb9abdfc4fb2a610a6edcad1bb40c1444/constretto-api-2.2.3.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.netflix.hystrix/hystrix-metrics-event-stream/1.5.18.mycomp/b8080becaa976ad0b3ffc2f9d2e36ddc9e4b67ef/hystrix-metrics-event-stream-1.5.18.mycomp.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/io.reactivex/rxjava/1.3.8/8c192792ad2e65a90867ab418ac49703f44d2baf/rxjava-1.3.8.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.module/jackson-module-afterburner/2.9.8/844d71767c67429a0387b845e92043821fb2c527/jackson-module-afterburner-2.9.8.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.9.8/11283f21cc480aa86c4df7a0a3243ec508372ed2/jackson-databind-2.9.8.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.dataformat/jackson-dataformat-smile/2.9.8/dbb47a052ac2b249ae004ce32e1e0c8bd8ee526c/jackson-dataformat-smile-2.9.8.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.9.8/f5a654e4675769c716e5b387830d19b501ca191/jackson-core-2.9.8.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.9.8/ba7f0e6f8f1b28d251eeff2a5604bed34c53ff35/jackson-annotations-2.9.8.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpmime/4.5.7/cc971b74052f1c949581e257c6580ef3662eac7a/httpmime-4.5.7.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.5.7/dda059f4908e1b548b7ba68d81a3b05897f27cb0/httpclient-4.5.7.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.8/70539e2a07865bab38b4153da1ce599cf081790a/httpcore-4.4.8.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-jdbc/9.0.14/dcda2856e85199f9a923d4ad90bcfd3d1d1cc548/tomcat-jdbc-9.0.14.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.ini4j/ini4j/0.5.4/4a3ee4146a90c619b20977d65951825f5675b560/ini4j-0.5.4.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech/commons-crypt/1.10/5d0ac7f75a0494925882b2df753e0b7c490a7843/commons-crypt-1.10.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/commons-configuration/commons-configuration/1.10/2b36e4adfb66d966c5aef2d73deb6be716389dc9/commons-configuration-1.10.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.6/ce1edb914c94ebc388f086c6827e8bdeec71ac2/commons-lang-2.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.11/3acb4705652e16236558f0f4f2192cc33c3bd189/commons-codec-1.11.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.google.guava/failureaccess/1.0.1/1dcf1de382a0bf95a3d8b0849546c88bac1292c9/failureaccess-1.0.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.google.guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/b421526c5f297295adef1c886e5246c39d4ac629/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.checkerframework/checker-qual/2.5.2/cea74543d5904a30861a61b4643a5f2bb372efc4/checker-qual-2.5.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.google.errorprone/error_prone_annotations/2.2.0/88e3c593e9b3586e1c6177f89267da6fc6986f0c/error_prone_annotations-2.2.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.google.j2objc/j2objc-annotations/1.1/976d8d30bebc251db406f2bdb3eb01962b5685b3/j2objc-annotations-1.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.mojo/animal-sniffer-annotations/1.17/f97ce6decaea32b36101e37979f8b647f00681fb/animal-sniffer-annotations-1.17.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jcl/5.1.4.RELEASE/f5a25caae583905203959abf35fdd1ab7a8f2c37/spring-jcl-5.1.4.RELEASE.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/xml-apis/xml-apis/1.4.01/3789d9fada2d3d458c4ba2de349d48780f381ee3/xml-apis-1.4.01.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.thoughtworks.paranamer/paranamer/2.5.2/14f7e05bdd0ec898ace2a817f8ba60cc70177f5b/paranamer-2.5.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech.login/jwt-public/12.4/d102ec6ce28b154de7f8395b30feee63c16ebc6f/jwt-public-12.4.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.nimbusds/nimbus-jose-jwt/5.14/3461bced3e7c9973901d295766329976d2e5e6be/nimbus-jose-jwt-5.14.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/net.minidev/json-smart/2.3/7396407491352ce4fa30de92efb158adb76b5b/json-smart-2.3.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.hdrhistogram/HdrHistogram/2.1.9/e4631ce165eb400edecfa32e03d3f1be53dee754/HdrHistogram-2.1.9.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.tomcat/tomcat-juli/9.0.14/955be2ddbe779e28fb24a2442a035a1480c4acf9/tomcat-juli-9.0.14.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.60/bd47ad3bd14b8e82595c7adaa143501e60842a84/bcprov-jdk15on-1.60.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/no.mycomptech/commons-lang/2.11/91aeff9defec32d5d98c222a98bf11627924fd14/commons-lang-2.11.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-pool2/2.4.2/e5f4f28f19d57716fbc3989d7a357ebf1e454fea/commons-pool2-2.4.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-math3/3.6.1/e4ba98f1d4b3c80ec46392f25e094a6a2e58fcbf/commons-math3-3.6.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.github.stephenc.jcip/jcip-annotations/1.0-1/ef31541dd28ae2cefdd17c7ebf352d93e9058c63/jcip-annotations-1.0-1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/net.minidev/accessors-smart/1.2/c592b500269bfde36096641b01238a8350f8aa31/accessors-smart-1.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.googlecode.libphonenumber/libphonenumber/8.9.15/2993e1c7fc00893ff4432375187cdc2c39167b42/libphonenumber-8.9.15.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-digester3/3.2/c3f68c5ff25ec5204470fd8fdf4cb8feff5e8a79/commons-digester3-3.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/commons-beanutils/commons-beanutils/1.9.3/c845703de334ddc6b4b3cd26835458cb1cba1f3d/commons-beanutils-1.9.3.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/com.github.cliftonlabs/json-simple/3.0.2/2337afdb06134a12fc0239299c3ceb2e9c209516/json-simple-3.0.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.safehaus.jug/jug/2.0.0/ea83645d04e1a31126b83e8ef0e372803d0356e1/jug-2.0.0-lgpl.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm/5.0.4/da08b8cce7bbf903602a25a3a163ae252435795/asm-5.0.4.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/commons-collections/commons-collections/3.2.2/8ad72fe39fa8c91eaaf12aadb21e0c3661fe26d5/commons-collections-3.2.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/cglib/cglib/2.2.2/a47a971686474124562bdd4a7ccbd8ac8c3e8b11/cglib-2.2.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/asm/asm/3.3.1/1d5f20b4ea675e6fab6ab79f1cd60ec268ddc015/asm-3.3.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest/2.1/9420ba32c29217b54eebd26ff7f9234d31c3fbb2/hamcrest-2.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/2.1/70dd49dea4507315b1fa3bc1aa59b1442d55957a/hamcrest-core-2.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-library/2.1/42edeb45e615925992d79263e9e744a857cfbcd0/hamcrest-library-2.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.mockito/mockito-core/2.24.0/969a7bcb6f16e076904336ebc7ca171d412cc1f9/mockito-core-2.24.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/uk.co.datumedge/hamcrest-json/0.2/4bc7b706b01f42d90492ad5d2d7a4122734f4fc2/hamcrest-json-0.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.json/json/20180813/8566b2b0391d9d4479ea225645c6ed47ef17fe41/json-20180813.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.spockframework/spock-core/1.3-RC1-groovy-2.5/4f2627ca6d777a19e5afd7c07e98c042c79c30f6/spock-core-1.3-RC1-groovy-2.5.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.9.9/9c9a52d3837585460153ff502e0835347b7b191f/byte-buddy-1.9.9.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.spekframework.spek2/spek-dsl-jvm/2.0.0/f514f5b82a7fd038aeec620471d167f2c4025d1/spek-dsl-jvm-2.0.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.spekframework.spek2/spek-runner-junit5/2.0.0/bb9dbe38b7980dca4c697264cdcea2775258c030/spek-runner-junit5-2.0.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-params/5.3.2/606c97428ba94d06022cef6d0ae44e1eaff8ca3d/junit-jupiter-params-5.3.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-api/5.3.2/3602b523ffae9dabc04c329d73ab39ab04b3cbe2/junit-jupiter-api-5.3.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-console/2.5.6/762f2c60319bdfc69a350ecfe65e705b66cbc759/groovy-console-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-cli-picocli/2.5.6/ef8c444340f4f6a45c03cf804d7a21882d85415b/groovy-cli-picocli-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-swing/2.5.6/bf6ef14e5ff3004018ccb45a0238f364f8cd492e/groovy-swing-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.junit.vintage/junit-vintage-engine/5.3.2/247300b6ab11ffd1d83d8723bae99e27330b3e9e/junit-vintage-engine-5.3.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-test/2.5.6/34154c5ee4f3004259e3a69c3e73d24f7aeab164/groovy-test-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.skyscreamer/jsonassert/1.1.1/e9faeb6ab98837bb79a1e54a673102550a48e81d/jsonassert-1.1.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.spekframework.spek2/spek-runtime-jvm/2.0.0/f9b4a93e634a6c4ae30a7fde98efb526dbb12b50/spek-runtime-jvm-2.0.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-engine/5.3.2/69350316a14c46d8f6c4c909e469ec9edf58c4f8/junit-jupiter-engine-5.3.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.9.7/8e7d1b599f4943851ffea125fd9780e572727fc0/byte-buddy-agent-1.9.7.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.objenesis/objenesis/2.6/639033469776fd37c08358c6b92a4761feb2af4b/objenesis-2.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-sql/2.5.6/c8a40e1f65888f5ac685eb3209ccd425c1297c25/groovy-sql-2.5.6.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.spekframework.spek2/spek-runtime-metadata/2.0.0/eda37a59828004b446a2641c3abc673853231c75/spek-runtime-metadata-2.0.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.spekframework.spek2/spek-dsl-metadata/2.0.0/67ba6dad02819272ff81826574f8ddf0ae7bd203/spek-dsl-metadata-2.0.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-engine/1.3.2/c54bc1d4654bd1ef15fccf512ce664184085969/junit-platform-engine-1.3.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-commons/1.3.2/378d1d1b162426ad031522f6d51e3bf28d1631a4/junit-platform-commons-1.3.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.apiguardian/apiguardian-api/1.0.0/3ef5276905e36f4d8055fe3cb0bdcc7503ffc85d/apiguardian-api-1.0.0.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/org.opentest4j/opentest4j/1.1.1/efd9f971e91074491ea55b19f67b13470cf4fcdd/opentest4j-1.1.1.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/info.picocli/picocli/3.9.2/60911f3b35e76b442d47e764758f3ecc3aa876c2/picocli-3.9.2.jar:/Users/myuser/.gradle/caches/modules-2/files-2.1/io.github.classgraph/classgraph/4.0.6/7fe1e7464ffd40c7333b8bbf53c4d73a7cbd7b4c/classgraph-4.0.6.jar:/Users/myuser/Library/Application Support/IntelliJIdea2018.3/Spek Framework/lib/interop-jvm-2.0.0-all.jar" org.spekframework.ide.ConsoleKt --sourceDirs /Users/myuser/src/my-app2/flight/common/build/classes/test --sourceDirs /Users/myuser/src/my-app2/flight/common/build/classes/main --paths bm8uZmlubi50cmF2ZWwuZmxpZ2h0LmNvbW1vbg==/UmVxdWVzdFBhcnNlclNwZWM=

Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/streams/jdk8/StreamsKt
	at org.spekframework.spek2.runtime.SpekRuntime.scanClasses(SpekJvmRuntime.kt:67)
	at org.spekframework.spek2.runtime.SpekRuntime.discover(SpekJvmRuntime.kt:26)
	at org.spekframework.ide.Spek2ConsoleLauncher.run(console.kt:21)
	at org.spekframework.ide.ConsoleKt$main$1.invoke(console.kt:34)
	at org.spekframework.ide.ConsoleKt$main$1.invoke(console.kt)
	at shadow.com.xenomachina.argparser.SystemExitExceptionKt.mainBody(SystemExitException.kt:74)
	at shadow.com.xenomachina.argparser.SystemExitExceptionKt.mainBody$default(SystemExitException.kt:72)
	at org.spekframework.ide.ConsoleKt.main(console.kt:32)
Caused by: java.lang.ClassNotFoundException: kotlin.streams.jdk8.StreamsKt
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 8 more
@henrik242
Copy link
Author

@henrik242 henrik242 commented Feb 7, 2019

The exception disappeared when I added the org.jetbrains.kotlin:kotlin-stdlib-jdk8 dependency, but it's still weird that the tests ran green.

@PGScully
Copy link

@PGScully PGScully commented Feb 8, 2019

I saw this, too. It seems that going from the last release candidate to the final release added a dependency on Java 8 streams. Switching from kotlin-stdlib-jdk7 to -jdk8 fixed it for me.

@raniejade
Copy link
Member

@raniejade raniejade commented Feb 8, 2019

The stdlib-jdk8 dependency is always there in 2.x, is there any reason you need to use jdk7?

but it's still weird that the tests ran green.

Because it didn't execute anything. Based on the error, it failed during discovery.

@PGScully
Copy link

@PGScully PGScully commented Feb 8, 2019

No, I can use jdk8 for Android dev as long as I avoid certain features on older devices. Using jdk7 was a convenient way to lock them out.
I was just surprised to see tests stop working when going from rc to release.

@raniejade
Copy link
Member

@raniejade raniejade commented Feb 9, 2019

Weird indeed. Closing it as the exception is expected, stdlib-jdk8 is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants