I’m trying to configure a spring boot project whic...
# gradle
I’m trying to configure a spring boot project which lives inside a multiplatform structure. I have a build.gradle in the root folder and another in an inner folder like application/jvm/jvm8/spring_boot/build.gradle. But the problem is, and I don’t know why, I receiving the following error:
Copy code
* What went wrong:
Execution failed for task ':application:jvm:jvm8:api:spring_boot:compileKotlin'.
> Could not resolve all files for configuration ':application:jvm:jvm8:api:spring_boot:compileClasspath'.
   > Could not find org.apache.logging.log4j:log4j-api:"0.0.1".
     Required by:
         project :application:jvm:jvm8:api:spring_boot > org.springframework.boot:spring-boot-starter:2.1.2.RELEASE > org.springframework.boot:spring-boot-starter-logging:2.1.2.RELEASE > org.apache.logging.log4j:log4j-to-slf4j:2.11.1
I’m using the latest spring boot version and it compiles ok outside the project. Also I receive some other warning when compiling other parts of the project, maybe this could be related somehow, but I don’t know.
Copy code
> Task :common:compileKotlinJs
Could not get logger for ':common:compileKotlinJs'. Falling back to sl4j logger
And indeed this library
version do not exists in maven, google or jcenter repositories. I don’t understand why this is happening =/