Slackbot
09/06/2022, 5:27 PMGian Merlino
09/07/2022, 7:52 AMmvn compile
Gian Merlino
09/07/2022, 7:52 AMDidip Kerabat
09/07/2022, 10:49 PMDidip Kerabat
09/09/2022, 1:36 AMmvn compile
.
[ERROR] /path/to/druid/sql/src/main/java/org/apache/druid/sql/calcite/parser/DruidSqlParserImplFactory.java:[33,16] cannot access org.apache.druid.sql.calcite.parser.DruidSqlParserImpl
bad class file: /path/to/druid/sql/target/classes/org/apache/druid/sql/calcite/parser/DruidSqlParserImpl.class
unable to access file: java.nio.file.NoSuchFileException: /path/to/druid/sql/target/classes/org/apache/druid/sql/calcite/parser/DruidSqlParserImpl.class
Please remove or make sure it appears in the correct subdirectory of the classpath.
But that .class
file exists.Gian Merlino
09/09/2022, 2:09 AMGian Merlino
09/09/2022, 2:09 AMmvn clean
then mvn compile
Didip Kerabat
09/13/2022, 6:13 AMmvn clean && mvn compile
, I got this error:
[ERROR] Failed to execute goal on project druid-processing: Could not resolve dependencies for project org.apache.druid:druid-processing:jar:25.0.0-SNAPSHOT: Failure to find org.apache.druid:druid-core:jar:tests:25.0.0-SNAPSHOT in <https://repository.apache.org/snapshots> was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced -> [Help 1]
But if I run that several more times, the compilation actually failed in a different place.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project druid-server: Failed to clean project: Failed to delete /Users/didip/oss/druid-didip/server/target -> [Help 1]
Am I doing something wrong? Why compile task is not idempotent?Gian Merlino
09/13/2022, 4:46 PMmvn install
instead of mvn compile
. (if it's trying to read from your local repository, install
would put it there.)Gian Merlino
09/13/2022, 4:46 PMmvn clean
to fail and i have not encountered that before