Antoni Zwolski
02/11/2024, 10:45 PMWARNING: An illegal reflective access operation has occurred
and
Execution failed for task ':modules:backend-api:category:category-api:kaptGenerateStubsTestKotlin'.
> java.io.IOException: The system cannot find the path specified
tapchicoma
02/12/2024, 10:20 AMAntoni Zwolski
02/12/2024, 12:05 PMtapchicoma
02/12/2024, 12:57 PMAntoni Zwolski
02/12/2024, 3:08 PM> Task :modules:backend-api:category:category-impl:kaptKotlin
C:\Users\zwo7a\IdeaProjects\FreshNearMe\modules\backend-api\category\category-impl\build\tmp\kapt3\stubs\main\application\CategoryApiImpl.java:7: error: cannot find symbol
public final class CategoryApiImpl implements CategoryApi {
^
symbol: class CategoryApi
> Task :modules:backend-api:category:category-impl:kaptKotlin FAILED
Execution failed for task ':modules:backend-api:category:category-impl:kaptKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
> java.lang.reflect.InvocationTargetException (no error message)
Antoni Zwolski
02/12/2024, 3:10 PMWARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jetbrains.kotlin.kapt3.util.ModuleManipulationUtilsKt (file:/C:/Users/zwo7a/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-annotation-processing-gradle/1.9.22/366b6f8a7b7811a120730dc9ad70600c0d141031/kotlin-annotation-processing-gradle-1.9.22.jar) to constructor com.sun.tools.javac.util.Context()
WARNING: Please consider reporting this to the maintainers of org.jetbrains.kotlin.kapt3.util.ModuleManipulationUtilsKt
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jetbrains.kotlin.kapt3.util.ModuleManipulationUtilsKt (file:/C:/Users/zwo7a/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-annotation-processing-gradle/1.9.22/366b6f8a7b7811a120730dc9ad70600c0d141031/kotlin-annotation-processing-gradle-1.9.22.jar) to constructor com.sun.tools.javac.util.Context()
WARNING: Please consider reporting this to the maintainers of org.jetbrains.kotlin.kapt3.util.ModuleManipulationUtilsKt
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
tapchicoma
02/12/2024, 3:14 PMI want to utilize this interface in another moduleDo you have a dependency on another module where
CategoryApi
is defined?Antoni Zwolski
02/12/2024, 3:16 PMtapchicoma
02/12/2024, 3:18 PMAntoni Zwolski
02/12/2024, 3:19 PM