https://kotlinlang.org logo
#jvm-ir-backend-feedback
Title
# jvm-ir-backend-feedback
i

ipe_1221

01/20/2022, 10:46 AM
Hi, I’m trying multimodule with kotlinspring but i had an error like this. Help plz…. I'm having this error when I click gradle compileKotlin or gradle build.
i

Ivan Kubyshkin [JetBrains]

01/20/2022, 11:38 AM
@ipe_1221 Can you attach your project? You can send me it in DM.
i

ipe_1221

01/20/2022, 1:12 PM
This project is private.🥲I think gradle doesn't recognize multi module🥲
i

Ivan Kubyshkin [JetBrains]

01/20/2022, 1:13 PM
Did you try to kill gradle daemon
gradlew --stop
?
i

ipe_1221

01/20/2022, 1:46 PM
I tried it. and restart daemon. still same error
i

Ivan Kubyshkin [JetBrains]

01/20/2022, 1:53 PM
Can you attach
gradlew build --debug
result?
i

ipe_1221

01/20/2022, 2:23 PM
message has been deleted
i

Ivan Kubyshkin [JetBrains]

01/20/2022, 2:32 PM
Please, try to build the project with
--scan
attribute.
Can you attach the link?
i

ipe_1221

01/20/2022, 2:58 PM
I send it to DM
i

Ivan Kubyshkin [JetBrains]

01/20/2022, 3:02 PM
Right now you have the next problem - Main class name has not been configured and it could not be resolved. Please, try to fix it with answers from SO.
i

ipe_1221

01/20/2022, 3:34 PM
I still have same issue
I add bootJar.mainclass.set("applicationroot") but still error
i

Ivan Kubyshkin [JetBrains]

01/20/2022, 3:37 PM
Unfortunately, it’s hard to help you without the project. Can you try to minimize the project?
5 Views