-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
zipfs
library classes missing from runtime classpath when testing
#370
Comments
I've found that these classes exist in the I haven't figured out where in Mill the problem originates; |
Is this still relevant? |
Can we open this one? I have a test using the GraalVM here that seems to be related. To test this clone the repo and run maven's test to generate the jars. Then correct the paths here and here to point to you local directory. If we execute
In the test function that breaks I print out the classpath. For the
but for the Note that I have done as few changes as possible to the original code in order to guarantee that I don't mess up somewhere else. If this is not related to this issue I can open up another ticket. If you need any additional test/diagnostics please tell me. BTW, any workarounds appreciated. TIA
|
Added a new clean version for testing - mill_utest branch. Just clone and execute the Mill commands. Same as reported above but now I use uTest to perform the testing (just in case the issue was with JUnit):
Note that the original Maven script with JUnit had no problems. Because uTest fails in the same way, maybe the problem is with the class path. |
(mill 0.2.3)
Project Structure
build.sc
:foo/test/src/Main.scala
:foo/test/src/Test.scala
:mill foo.test.run
worksPrints:
mill foo.test
throwsNoClassDefFoundError
Notes
runClasspath
s andcompileClasspath
s, but haven't seen leads for debugging this.com.sun.nio.zipfs._
, which come from thezipfs.jar
JDK module.The text was updated successfully, but these errors were encountered: