help again, :disappointed: I'm trying to run a sc...
# general
c
help again, 😞 I'm trying to run a scala test run on: https://github.com/KaoruDev/learning_pants_build but i keep getting this error:
Copy code
11:39:54 00:03     [junit] 
11:39:55 00:04       [cache]
                   No cached artifacts for 1 target.
                   Invalidated 1 target.
11:39:55 00:04       [run]
                     Auto-detected 4 processors, using -parallel-threads=4
                     Error parsing specs: FATAL: Error parsing spec 'com.kaoruk.AdderSpec': Class com.kaoruk.AdderSpec not found in classpath.
                     
                   mather/src/test/scala:adder_spec                                                .....   NOT RUN
               Waiting for background workers to finish.
11:39:55 00:04   [complete]
               FAILURE
FAILURE
a
what command line are you running? can you run with
-ldebug
?
c
running
./pants -ldebug test mather/src/test/scala:adder-test
but this also happens in intellij
a
how are you declaring the scala test?
c
a
that's what i was thinking of!
👍 1
that all looks correct, and it looks like it should be working. i'll have to ask you to try to see if the issue reproes on a newer pants version, unless anyone else sees an obvious issue
c
i'm on
1.19.0
should i try
1.18.0
?
a
oh wow
could you please make an issue at https://github.com/pantsbuild/pants/issues/new containing: 1. the version of pants you're using (1.19.0) 2. the command line output from the first message 3. the link to your repo, and the link to that BUILD file and then link it here?
this should be working i think
c
👍 Thanks for your help thus far @aloof-angle-91616
❤️ 1