Chris Kocel

Results 60 comments of Chris Kocel

I tried various workarounds, none worked. ```kotlin @file:JvmName("MyApp") package com.example.my import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication import org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity @SpringBootApplication @EnableWebFluxSecurity class MyApplication fun main(args: Array) { runApplication(*args) } ``` ```kotlin application {...

I made a project that reproduces this issue - it has two branches: one with Kotlin main and another with Java main. Both fail with the same error. https://github.com/kkocel/classnotfoundrepero

@mhalbritter So is there a chance that this issue will get resolved soon?

@rt-works do you have a minimal working example? do yo use kotlin 1.9 + native buildtools 0.9.24?

sorry for the confusion. I thought you managed to run this against Kotlin 1.9.0. So for now we pin-pointed that Kotlin 1.9.0 is causing this issue.

@wilkinsona You understood it better than I :) Yes, it's possible to break `javac` encapsulation using `add-opens` flags, but ihmo it's temporary (this flag can be taken away as with...

@wilkinsona I asked about the relation of KSP and Kotlin: https://twitter.com/relizarov/status/1455452359669264384 So it looks like KSP is the way to go for Kotlin.

@3flex The problem with the solution described in the docs is that it is very cumbersome and makes it impossible to get detekt updated automatically by dependabot and other similar...

I would be for providing a shadow variant alongside the normal one. If detect can't work with any Kotlin version then it is on detekt plate.

I've seen similar cases in the past - there was wiremock which used an old jetty that was incompatible with new Spring Boot. What wiremock maintainers did? They provided a...