-
-
Notifications
You must be signed in to change notification settings - Fork 151
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.RuntimeException: rt.jar (class sbt.internal.inc.DummyVirtualFile) is not supported #615
Comments
Hello, Sorry, but the spark build is way too complex so I can investigate (kind reminder: open-source, free personal time). Otherwise, please consider investigating yourself and contributing a fix. |
OK, let me see how to simplify the reproduction steps first |
Here is a small project, which only contains a java file, a scala file, a test file and pom xml: https://github.com/LuciferYang/scala-maven-plugin-test I test it with java with
The error message of
with
@slandelle Is this conducive to continued investigation? |
maybe the issue will occur when there are both java files and scala files in the project |
also ping @akshaal |
@slandelle Will 4.6.3 be released soon? |
It's released |
@slandelle Yea. It's possible we have a bug in Zinc but somehow is masked in sbt. See sbt/sbt#5522 |
@eed3si9n Wow, you're absolutely right! Bypassing |
For the record: 04445b1 |
Yea. I opened sbt/zinc#1102 for it. |
@slandelle @eed3si9n I found that the relevant fix was revert in version 1.7.0. Has this issue been fixed in 1.7.1? |
@LuciferYang The original fix was ugly. Instead, in 04445b1, I implemented the same logic/workaround as in sbt, that was also later on implemented in gradle. |
Thanks @slandelle I have verified it |
reproduce steps, take
spark
as an example, usescala-maven-plugin
4.6.2 :the error message as follows:
but
mvn clean test -pl core
is fineThe text was updated successfully, but these errors were encountered: