No sources found skipping kotlin compile

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not compile the project #1

Can not compile the project #1

Comments

I tried to compile the project today:

[INFO] Scanning for projects. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] workplace-search-java [pom] [INFO] workplace-search-client [jar] [INFO] workplace-search-sdk [jar] [INFO] [INFO] ---------< com.sstory.workplace.search:workplace-search-java >---------- [INFO] Building workplace-search-java 7.8.0-SNAPSHOT [1/3] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ workplace-search-java --- [INFO] [INFO] --- kotlin-maven-plugin:1.2.71:kapt (kapt) @ workplace-search-java --- [WARNING] No sources found skipping Kotlin compile [INFO] [INFO] --- kotlin-maven-plugin:1.2.71:compile (kotlin-compile) @ workplace-search-java --- [WARNING] No sources found skipping Kotlin compile [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (java-compile) @ workplace-search-java --- [INFO] No sources to compile [INFO] [INFO] --- kotlin-maven-plugin:1.2.71:test-kapt (test-kapt) @ workplace-search-java --- [WARNING] No sources found skipping Kotlin compile [INFO] [INFO] --- kotlin-maven-plugin:1.2.71:test-compile (kotlin-test-compile) @ workplace-search-java --- [WARNING] No sources found skipping Kotlin compile [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (java-groovy-testCompile) @ workplace-search-java --- [INFO] No sources to compile [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ workplace-search-java --- [INFO] Installing /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/pom.xml to /Users/dpilato/.m2/repository/com/sstory/workplace/search/workplace-search-java/7.8.0-SNAPSHOT/workplace-search-java-7.8.0-SNAPSHOT.pom [INFO] [INFO] --------< com.sstory.workplace.search:workplace-search-client >--------- [INFO] Building workplace-search-client 7.8.0-SNAPSHOT [2/3] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ workplace-search-client --- [INFO] Deleting /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/target [INFO] [INFO] --- kotlin-maven-plugin:1.2.71:kapt (kapt) @ workplace-search-client --- [WARNING] 'tools.jar' was not found, kapt may work unreliably WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.jetbrains.kotlin.kapt3.base.javac.KaptJavaFileManager (file:/Users/dpilato/.m2/repository/org/jetbrains/kotlin/kotlin-annotation-processing-maven/1.2.71/kotlin-annotation-processing-maven-1.2.71.jar) to method com.sun.tools.javac.file.JavacFileManager.handleOption(com.sun.tools.javac.main.Option,java.lang.String) WARNING: Please consider reporting this to the maintainers of org.jetbrains.kotlin.kapt3.base.javac.KaptJavaFileManager 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 [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ workplace-search-client --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/main/resources [INFO] [INFO] --- kotlin-maven-plugin:1.2.71:compile (kotlin-compile) @ workplace-search-client --- [WARNING] Duplicate source root: /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/target/generated-sources/kapt/compile [WARNING] Duplicate source root: /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/target/generated-sources/kaptKotlin/compile [WARNING] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/main/java/com/sstory/workplace/search/client/ContentSourceDocuments.kt: (11, 111) Unchecked cast: List to Map [WARNING] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/main/java/com/sstory/workplace/search/client/ContentSourceDocuments.kt: (15, 107) Unchecked cast: Map to Map [WARNING] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/main/java/com/sstory/workplace/search/client/Permissions.kt: (15, 137) Unchecked cast: Map to Map [WARNING] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/main/java/com/sstory/workplace/search/client/Permissions.kt: (19, 100) Unchecked cast: Map to Map [WARNING] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/main/java/com/sstory/workplace/search/client/Permissions.kt: (23, 98) Unchecked cast: Map to Map [WARNING] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/main/java/com/sstory/workplace/search/client/Permissions.kt: (27, 102) Unchecked cast: Map to Map [WARNING] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/main/java/com/sstory/workplace/search/client/Permissions.kt: (31, 105) Unchecked cast: Map to Map [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (java-compile) @ workplace-search-client --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- kotlin-maven-plugin:1.2.71:test-kapt (test-kapt) @ workplace-search-client --- [WARNING] No sources found skipping Kotlin compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ workplace-search-client --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/resources [INFO] [INFO] --- kotlin-maven-plugin:1.2.71:test-compile (kotlin-test-compile) @ workplace-search-client --- [WARNING] No sources found skipping Kotlin compile [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (java-groovy-testCompile) @ workplace-search-client --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files Ignoring GroovyBugError since it is likely caused by earlier issues. Ignored problem is 'BUG! exception in phase 'semantic analysis' in source unit '/Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy' Attempt to change an immutable Groovy class: java.lang.Class' Ignoring GroovyBugError since it is likely caused by earlier issues. Ignored problem is 'BUG! exception in phase 'semantic analysis' in source unit '/Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy' Attempt to change an immutable Groovy class: java.lang.Class' Ignoring GroovyBugError since it is likely caused by earlier issues. Ignored problem is 'BUG! exception in phase 'semantic analysis' in source unit '/Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy' Attempt to change an immutable Groovy class: java.lang.Class' [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 1. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) package com.sstory.workplace.search.client ^ The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 2. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) package com.sstory.workplace.search.client ^ The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 3. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) package com.sstory.workplace.search.client ^ The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 4. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) package com.sstory.workplace.search.client ^ The type java.util.Map cannot be resolved. It is indirectly referenced from required .class files [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 5. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) package com.sstory.workplace.search.client ^ The type java.lang.Throwable cannot be resolved. It is indirectly referenced from required .class files [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[7,7] 6. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 7) class ClientTest extends Specification < ^^^^^^^^^^ The hierarchy of the type ClientTest is inconsistent [ERROR] Found 6 errors and 0 warnings. [INFO] 7 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] workplace-search-java 7.8.0-SNAPSHOT . SUCCESS [ 0.695 s] [INFO] workplace-search-client . FAILURE [ 4.886 s] [INFO] workplace-search-sdk 7.8.0-SNAPSHOT . SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.667 s [INFO] Finished at: 2020-07-20T17:21:18+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (java-groovy-testCompile) on project workplace-search-client: Compilation failure: Compilation failure: [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 1. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) [ERROR] package com.sstory.workplace.search.client [ERROR] ^ [ERROR] The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files [ERROR] [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 2. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) [ERROR] package com.sstory.workplace.search.client [ERROR] ^ [ERROR] The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files [ERROR] [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 3. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) [ERROR] package com.sstory.workplace.search.client [ERROR] ^ [ERROR] The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files [ERROR] [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 4. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) [ERROR] package com.sstory.workplace.search.client [ERROR] ^ [ERROR] The type java.util.Map cannot be resolved. It is indirectly referenced from required .class files [ERROR] [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[1,1] 5. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 1) [ERROR] package com.sstory.workplace.search.client [ERROR] ^ [ERROR] The type java.lang.Throwable cannot be resolved. It is indirectly referenced from required .class files [ERROR] [ERROR] /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy:[7,7] 6. ERROR in /Users/dpilato/Documents/Elasticsearch/dev/workplace/workplace-search-java/workplace-search-client/src/test/java/com/sstory/workplace/search/client/ClientTest.groovy (at line 7) [ERROR] class ClientTest extends Specification < [ERROR] ^^^^^^^^^^ [ERROR] The hierarchy of the type ClientTest is inconsistent [ERROR] [ERROR] Found 6 errors and 0 warnings. [ERROR] ->[Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :workplace-search-client 

The text was updated successfully, but these errors were encountered:

Читайте также:  Scope identity sql php

Источник

Оцените статью