The class location and the package name should be the same.
Comment From: wilkinsona
Thanks, @PiyalAhmed. Reviewing this has made me realise that we have a broader problem as none of the Kotlin code examples in the Testing section are showing up. I've opened https://github.com/spring-projects/spring-boot/issues/42094 to address that.
Comment From: PiyalAhmed
Thanks, @PiyalAhmed. Reviewing this has made me realise that we have a broader problem as none of the Kotlin code examples in the Testing section are showing up. I've opened #42094 to address that.
Thanks, I have already noticed that and was investigating. I would love to submit a PR for including Kotlin code examples in the Testing section.
Comment From: wilkinsona
Thank you for the offer but I've just taken care of it in https://github.com/spring-projects/spring-boot/commit/d2f0b2b0903f4286f7cd66def5cce82f005de9fc.
Comment From: PiyalAhmed
Thank you for the offer but I've just taken care of it in d2f0b2b.
Cool. No problem at all. Thank you again.