Skip to content

Compile failed in windows environment #11818

@Hollyen

Description

@Hollyen

When i use clean install -Ppkg -DskipTests -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true to compile the presto-root project, it always get

[INFO] Reactor Summary:
[INFO] 
[INFO] presto-root ........................................ SUCCESS [ 12.185 s]
[INFO] presto-spi ......................................... SUCCESS [ 28.099 s]
[INFO] presto-plugin-toolkit .............................. SUCCESS [  5.230 s]
[INFO] presto-client ...................................... SUCCESS [  4.500 s]
[INFO] presto-parser ...................................... SUCCESS [ 16.592 s]
[INFO] presto-geospatial-toolkit .......................... SUCCESS [  8.131 s]
[INFO] presto-array ....................................... SUCCESS [  3.461 s]
[INFO] presto-matching .................................... SUCCESS [  3.279 s]
[INFO] presto-memory-context .............................. SUCCESS [  3.529 s]
[INFO] presto-tpch ........................................ FAILURE [  3.426 s]
[INFO] presto-benchto-queries ............................. SUCCESS [  3.259 s]
[INFO] presto-main ........................................ SKIPPED
[INFO] presto-resource-group-managers ..................... SKIPPED
[INFO] presto-tests ....................................... SKIPPED
[INFO] presto-atop ........................................ SKIPPED
[INFO] presto-jmx ......................................... SKIPPED
[INFO] presto-record-decoder .............................. SKIPPED
[INFO] presto-kafka ....................................... SKIPPED
[INFO] presto-redis ....................................... SKIPPED
[INFO] presto-accumulo .................................... SKIPPED
[INFO] presto-cassandra ................................... SKIPPED
[INFO] presto-blackhole ................................... SKIPPED
[INFO] presto-memory ...................................... SKIPPED
[INFO] presto-orc ......................................... SKIPPED
[INFO] presto-benchmark ................................... SKIPPED
[INFO] presto-parquet ..................................... SKIPPED
[INFO] presto-rcfile ...................................... SKIPPED
[INFO] presto-hive ........................................ SKIPPED
[INFO] presto-hive-hadoop2 ................................ SKIPPED
[INFO] presto-teradata-functions .......................... SKIPPED
[INFO] presto-example-http ................................ SKIPPED
[INFO] presto-local-file .................................. SKIPPED
[INFO] presto-tpcds ....................................... SKIPPED
[INFO] presto-raptor ...................................... SKIPPED
[INFO] presto-base-jdbc ................................... SKIPPED
[INFO] presto-mysql ....................................... SKIPPED
[INFO] presto-postgresql .................................. SKIPPED
[INFO] presto-redshift .................................... SKIPPED
[INFO] presto-sqlserver ................................... SKIPPED
[INFO] presto-mongodb ..................................... SKIPPED
[INFO] presto-ml .......................................... SKIPPED
[INFO] presto-geospatial .................................. SKIPPED
[INFO] presto-jdbc ........................................ SKIPPED
[INFO] presto-cli ......................................... SKIPPED
[INFO] presto-product-tests ............................... SKIPPED
[INFO] presto-benchmark-driver ............................ SKIPPED
[INFO] presto-thrift-connector-api ........................ SKIPPED
[INFO] presto-thrift-testing-server ....................... SKIPPED
[INFO] presto-thrift-connector ............................ SKIPPED
[INFO] presto-password-authenticators ..................... SKIPPED
[INFO] presto-session-property-managers ................... SKIPPED
[INFO] presto-kudu ........................................ SKIPPED
[INFO] presto-server ...................................... SKIPPED
[INFO] presto-server-rpm .................................. SKIPPED
[INFO] presto-docs ........................................ SKIPPED
[INFO] presto-verifier .................................... SKIPPED
[INFO] presto-testing-server-launcher ..................... SKIPPED
[INFO] presto-benchto-benchmarks .......................... SKIPPED
[INFO] presto-proxy ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:36 min
[INFO] Finished at: 2018-10-31T16:37:40+08:00
[INFO] Final Memory: 205M/1554M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "pkg" could not be activated because it does not exist.
[ERROR] Failed to execute goal com.facebook.presto:presto-maven-plugin:0.3:generate-service-descriptor (default-generate-service-descriptor) on project presto-tpch: Execution default-generate-service-descriptor of goal com.facebook.presto:presto-maven-plugin:0.3:generate-service-descriptor failed: A required class was missing while executing com.facebook.presto:presto-maven-plugin:0.3:generate-service-descriptor: com\facebook\presto\tpch\ColumnNaming (wrong name: com/facebook/presto/tpch/ColumnNaming)
[ERROR] -----------------------------------------------------
[ERROR] realm =    extension>com.facebook.presto:presto-maven-plugin:0.3
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/D:/maven_repository/repository/com/facebook/presto/presto-maven-plugin/0.3/presto-maven-plugin-0.3.jar
[ERROR] urls[1] = file:/D:/maven_repository/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar
[ERROR] urls[2] = file:/D:/maven_repository/repository/com/facebook/presto/presto-spi/0.76/presto-spi-0.76.jar
[ERROR] urls[3] = file:/D:/maven_repository/repository/io/airlift/slice/0.7/slice-0.7.jar
[ERROR] urls[4] = file:/D:/maven_repository/repository/com/fasterxml/jackson/core/jackson-annotations/2.4.2/jackson-annotations-2.4.2.jar
[ERROR] urls[5] = file:/D:/maven_repository/repository/com/fasterxml/jackson/core/jackson-databind/2.4.2/jackson-databind-2.4.2.jar
[ERROR] urls[6] = file:/D:/maven_repository/repository/com/fasterxml/jackson/core/jackson-core/2.4.2/jackson-core-2.4.2.jar
[ERROR] urls[7] = file:/D:/maven_repository/repository/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR] 
[ERROR] -----------------------------------------------------
[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/PluginContainerException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :presto-tpch

maven -V shows

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00)
Maven home: D:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.5\plugins\maven\lib\maven3
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: D:\Program Files\Java\jdk1.8.0_191\jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"

Please help. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions