Exception when building a scala project
Answered
Hi,
I'm using IDEA 2017.3.4 with a scala project and since a few days I have a strange problem that seems to occur after I build my project with maven. When I try to execute a test class in Intellij after a maven build I have the following error :
Error:Module 'prov-ingest' tests: java.lang.ClassCastException: org.jetbrains.jps.builders.java.dependencyView.TypeRepr$PrimitiveType cannot be cast to org.jetbrains.jps.builders.java.dependencyView.TypeRepr$ClassType
I have to rebuild my project in Intellij to fix the problem temporarily. Any idea how to fix that ?
Please sign in to leave a comment.
Please file an issue at https://youtrack.jetbrains.com/issues/SCL with additional information provided about
- how do you execute the test (what Run/Debug Configuration do you use). Please attach a screenshot.
- please post complete stacktrace and a screenshot with the problem and idea.log
Thank you.