Hi Ullrich, There is a known bug in IntelliJ, check out this post on Stackoverflow for the workaround.
https://stackoverflow.com/questions/24115142/intellij-error-when-running-unit-test-could-not-find-or-load-main-class-suref Regards, Alex On Mon, Sep 19, 2022 at 2:54 AM Ullrich Hafner <[email protected]> wrote: > I recently switched my development to Java 17 and most things work > flawlessly now. > > One thing that I can’t get to work is debugging of integration tests in > IntelliJ. It seems that the argLine command (that opens Java modules) is > not sent to the debugging process. > However, the same tests run correctly when I am simply running the tests > in IntelliJ (without debugger). Is there an additional option one can set > in IntelliJ for the debugger? Or is this a bug in IntelliJ (I did not find > something existing in their issue tracker)? I am using IntelliJ 2022.2.2 > RC. > > (I checked the option to pass the Arline to the run tests process) > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/F4A29762-4EC8-471A-A8EA-626A677AB5C3%40gmail.com > . > -- Website: http://earl-of-code.com -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVesoLr%2BmteK1J4vq9GCL7TGx3yC57tr5JkEWi6qB1YAhw%40mail.gmail.com.
