[
https://issues.apache.org/jira/browse/IGNITE-17858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17711423#comment-17711423
]
Maksim Timonin commented on IGNITE-17858:
-----------------------------------------
Hi [~KB_Open] ! Could you please confirm that you still can reproduce this
error? It looks like you had wrong ignite-core dependency version.
> ignite-geospatial-ext fails to compile due to wrong package
> ------------------------------------------------------------
>
> Key: IGNITE-17858
> URL: https://issues.apache.org/jira/browse/IGNITE-17858
> Project: Ignite
> Issue Type: Bug
> Components: build
> Affects Versions: 2.14
> Reporter: Kishor Bachhav
> Priority: Major
>
> mvn clean install -DskipTests -Pcheckstyle fails to compile
> ignite-geospatial-ext because of wrong package name.
>
> "package org.apache.ignite.internal.processors.query.schema.management does
> not exist"
> {code:java}
> // [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:23 min
> [INFO] Finished at: 2022-10-10T11:12:21+05:30
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> (default-compile) on project ignite-geospatial-ext: Compilation failure:
> Compilation failure:
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialUtils.java:[25,69]
> package org.apache.ignite.internal.processors.query.schema.management does
> not exist
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialUtils.java:[26,69]
> package org.apache.ignite.internal.processors.query.schema.management does
> not exist
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialUtils.java:[40,64]
> cannot find symbol
> [ERROR] symbol: class IndexDescriptor
> [ERROR] location: class
> org.apache.ignite.internal.processors.query.h2.opt.GeoSpatialUtils
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[36,69]
> package org.apache.ignite.internal.processors.query.schema.management does
> not exist
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[37,69]
> package org.apache.ignite.internal.processors.query.schema.management does
> not exist
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[38,69]
> package org.apache.ignite.internal.processors.query.schema.management does
> not exist
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[44,55]
> cannot find symbol
> [ERROR] symbol: class AbstractIndexDescriptorFactory
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[55,9]
> cannot find symbol
> [ERROR] symbol: class TableDescriptor
> [ERROR] location: class
> org.apache.ignite.internal.processors.query.h2.opt.GeoSpatialIndexDescriptorFactory
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[52,22]
> cannot find symbol
> [ERROR] symbol: class IndexDescriptor
> [ERROR] location: class
> org.apache.ignite.internal.processors.query.h2.opt.GeoSpatialIndexDescriptorFactory
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialUtils.java:[35,9]
> cannot find symbol
> [ERROR] symbol: variable SchemaManager
> [ERROR] location: class
> org.apache.ignite.internal.processors.query.h2.opt.GeoSpatialUtils
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[52,5]
> method does not override or implement a method from a supertype
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[60,61]
> cannot find symbol
> [ERROR] symbol: method
> indexDescriptorToKeysDefinition(org.apache.ignite.internal.processors.query.GridQueryIndexDescriptor,org.apache.ignite.internal.processors.query.GridQueryTypeDescriptor)
> [ERROR] location: class
> org.apache.ignite.internal.processors.query.h2.opt.GeoSpatialIndexDescriptorFactory
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[61,48]
> cannot find symbol
> [ERROR] symbol: method cacheName()
> [ERROR] location: variable typeDesc of type
> org.apache.ignite.internal.processors.query.GridQueryTypeDescriptor
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GeoSpatialIndexDescriptorFactory.java:[85,20]
> cannot find symbol
> [ERROR] symbol: class IndexDescriptor
> [ERROR] location: class
> org.apache.ignite.internal.processors.query.h2.opt.GeoSpatialIndexDescriptorFactory
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2SpatialIndex.java:[66,5]
> method does not override or implement a method from a supertype
> [ERROR]
> /Users/admin/Kishor/SxT/repos/ignite-extensions/modules/geospatial-ext/geospatial/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2SpatialIndex.java:[69,14]
> method destroy in class
> org.apache.ignite.internal.processors.query.h2.opt.GridH2IndexBase cannot be
> applied to given types;
> [ERROR] required: boolean
> [ERROR] found: no arguments
> [ERROR] reason: actual and formal argument lists differ in length
> [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 <args> -rf :ignite-geospatial-ext
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)