Hello!

You have to do mvn clean install first. mvn exec:java does not force
rebuild process.

Regards,
-- 
Ilya Kasnacheev


чт, 29 нояб. 2018 г. в 13:32, AlphaMufasaOmega <[email protected]>:

> Dear Apache Ignite Community,
>
>    I have had lots of problems trying to figure out how to execute the
> Hello
> World GA example for genetic algorithms. I get the an error when executing
> the  command:
>
>  mvn exec:java
>
> -Dexec.mainClass="org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample"
> -X
>
> inmy terminal, I want to fix this so that I can properly do the example and
> get good at genetic algorithms; also If i wanted to put the java code into
> an android app where do I put the java and .xml files? can I somehow use
> the
> Maven Dependency to import apache ignite a la carte in order to run it in
> the JVM? any help would be apprecited, here is the aforementioned
> error:
>
> user@PTFAssaultMachine:~/apache-ignite-fabric-2.6.0-bin/examples$ mvn
> exec:java
>
> -Dexec.mainClass="org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample"
> -X
> Apache Maven 3.3.9
> Maven home: /usr/share/maven
> Java version: 1.8.0_171, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.14.18-1.pvops.qubes.x86_64", arch: "amd64",
> family: "unix"
> [DEBUG] Created new class realm maven.api
> [DEBUG] Importing foreign packages into class realm maven.api
> [DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
> [DEBUG]   Imported: javax.enterprise.util.* < plexus.core
> [DEBUG]   Imported: javax.inject.* < plexus.core
> [DEBUG]   Imported: org.apache.maven.* < plexus.core
> [DEBUG]   Imported: org.apache.maven.artifact < plexus.core
> [DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
> [DEBUG]   Imported: org.apache.maven.cli < plexus.core
> [DEBUG]   Imported: org.apache.maven.configuration < plexus.core
> [DEBUG]   Imported: org.apache.maven.exception < plexus.core
> [DEBUG]   Imported: org.apache.maven.execution < plexus.core
> [DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
> [DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
> [DEBUG]   Imported: org.apache.maven.model < plexus.core
> [DEBUG]   Imported: org.apache.maven.monitor < plexus.core
> [DEBUG]   Imported: org.apache.maven.plugin < plexus.core
> [DEBUG]   Imported: org.apache.maven.profiles < plexus.core
> [DEBUG]   Imported: org.apache.maven.project < plexus.core
> [DEBUG]   Imported: org.apache.maven.reporting < plexus.core
> [DEBUG]   Imported: org.apache.maven.repository < plexus.core
> [DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
> [DEBUG]   Imported: org.apache.maven.settings < plexus.core
> [DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
> [DEBUG]   Imported: org.apache.maven.usability < plexus.core
> [DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
> [DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
> [DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
> [DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
> [DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
> [DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
> [DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
> [DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
> [DEBUG]   Imported: org.codehaus.classworlds < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser <
> plexus.core
> [DEBUG]   Imported:
> org.codehaus.plexus.util.xml.pull.XmlPullParserException
> < plexus.core
> [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer <
> plexus.core
> [DEBUG]   Imported: org.eclipse.aether.* < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
> [DEBUG]   Imported: org.eclipse.aether.version < plexus.core
> [DEBUG]   Imported: org.slf4j.* < plexus.core
> [DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
> [DEBUG]   Imported: org.slf4j.spi.* < plexus.core
> [DEBUG] Populating class realm maven.api
> [INFO] Error stacktraces are turned on.
> [DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
> [DEBUG] Reading user settings from /home/user/.m2/settings.xml
> [DEBUG] Reading global toolchains from /usr/share/maven/conf/toolchains.xml
> [DEBUG] Reading user toolchains from /home/user/.m2/toolchains.xml
> [DEBUG] Using local repository at /home/user/.m2/repository
> [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for
> /home/user/.m2/repository
> [INFO] Scanning for projects...
> [DEBUG] Extension realms for project
> org.apache.ignite:ignite-examples:jar:2.6.0: (none)
> [DEBUG] Looking up lifecyle mappings for packaging jar from
> ClassRealm[plexus.core, parent: null]
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.ignite:ignite-examples:jar:2.6.0
> [WARNING] 'build.plugins.plugin.version' for
> org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 205, column
> 21
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> [DEBUG] Resolving plugin version for
> org.codehaus.mojo:build-helper-maven-plugin
> [DEBUG] Could not find metadata
> org.codehaus.mojo:build-helper-maven-plugin/maven-metadata.xml in local
> (/home/user/.m2/repository)
> [DEBUG] Skipped remote request for
> org.codehaus.mojo:build-helper-maven-plugin/maven-metadata.xml, locally
> cached metadata up-to-date.
> [DEBUG] Resolved plugin version for
> org.codehaus.mojo:build-helper-maven-plugin to 3.0.0 from repository
> central
> (https://repo.maven.apache.org/maven2, default, releases)
> [DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins,
> org.codehaus.mojo]
> [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml
> in local (/home/user/.m2/repository)
> [DEBUG] Skipped remote request for
> org.apache.maven.plugins/maven-metadata.xml, locally cached metadata
> up-to-date.
> [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in
> local (/home/user/.m2/repository)
> [DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml,
> locally cached metadata up-to-date.
> [DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin
> from repository central
> [DEBUG] Resolving plugin version for org.codehaus.mojo:exec-maven-plugin
> [DEBUG] Could not find metadata
> org.codehaus.mojo:exec-maven-plugin/maven-metadata.xml in local
> (/home/user/.m2/repository)
> [DEBUG] Skipped remote request for
> org.codehaus.mojo:exec-maven-plugin/maven-metadata.xml, locally cached
> metadata up-to-date.
> [DEBUG] Resolved plugin version for org.codehaus.mojo:exec-maven-plugin to
> 1.6.0 from repository central (https://repo.maven.apache.org/maven2,
> default, releases)
> [DEBUG] === REACTOR BUILD PLAN
> ================================================
> [DEBUG] Project: org.apache.ignite:ignite-examples:jar:2.6.0
> [DEBUG] Tasks:   [exec:java]
> [DEBUG] Style:   Regular
> [DEBUG]
> =======================================================================
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ignite-examples 2.6.0
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Resolving plugin prefix exec from [org.apache.maven.plugins,
> org.codehaus.mojo]
> [DEBUG] Could not find metadata org.apache.maven.plugins/maven-metadata.xml
> in local (/home/user/.m2/repository)
> [DEBUG] Skipped remote request for
> org.apache.maven.plugins/maven-metadata.xml, locally cached metadata
> up-to-date.
> [DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml in
> local (/home/user/.m2/repository)
> [DEBUG] Skipped remote request for org.codehaus.mojo/maven-metadata.xml,
> locally cached metadata up-to-date.
> [DEBUG] Resolved plugin prefix exec to org.codehaus.mojo:exec-maven-plugin
> from repository central
> [DEBUG] Resolving plugin version for org.codehaus.mojo:exec-maven-plugin
> [DEBUG] Could not find metadata
> org.codehaus.mojo:exec-maven-plugin/maven-metadata.xml in local
> (/home/user/.m2/repository)
> [DEBUG] Skipped remote request for
> org.codehaus.mojo:exec-maven-plugin/maven-metadata.xml, locally cached
> metadata up-to-date.
> [DEBUG] Resolved plugin version for org.codehaus.mojo:exec-maven-plugin to
> 1.6.0 from repository central (https://repo.maven.apache.org/maven2,
> default, releases)
> [DEBUG] Lifecycle default -> [validate, initialize, generate-sources,
> process-sources, generate-resources, process-resources, compile,
> process-classes, generate-test-sources, process-test-sources,
> generate-test-resources, process-test-resources, test-compile,
> process-test-classes, test, prepare-package, package, pre-integration-test,
> integration-test, post-integration-test, verify, install, deploy]
> [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
> [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
> [DEBUG] === PROJECT BUILD PLAN
> ================================================
> [DEBUG] Project:       org.apache.ignite:ignite-examples:2.6.0
> [DEBUG] Dependencies (collect): []
> [DEBUG] Dependencies (resolve): [test]
> [DEBUG] Repositories (dependencies): [central
> (https://repo.maven.apache.org/maven2, default, releases)]
> [DEBUG] Repositories (plugins)     : [central
> (https://repo.maven.apache.org/maven2, default, releases)]
> [DEBUG]
> -----------------------------------------------------------------------
> [DEBUG] Goal:          org.codehaus.mojo:exec-maven-plugin:1.6.0:java
> (default-cli)
> [DEBUG] Style:         Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> <configuration>
>   <addOutputToClasspath
> default-value="true">${addOutputToClasspath}</addOutputToClasspath>
>   <addResourcesToClasspath
> default-value="false">${addResourcesToClasspath}</addResourcesToClasspath>
>   <arguments>${exec.arguments}</arguments>
>   <classpathScope
> default-value="runtime">${exec.classpathScope}</classpathScope>
>   <cleanupDaemonThreads
> default-value="true">${exec.cleanupDaemonThreads}</cleanupDaemonThreads>
>   <commandlineArgs>${exec.args}</commandlineArgs>
>   <daemonThreadJoinTimeout
>
> default-value="15000">${exec.daemonThreadJoinTimeout}</daemonThreadJoinTimeout>
>   <includePluginDependencies
>
> default-value="false">${exec.includePluginsDependencies}</includePluginDependencies>
>   <includeProjectDependencies
>
> default-value="true">${exec.includeProjectDependencies}</includeProjectDependencies>
>   <keepAlive default-value="false">${exec.keepAlive}</keepAlive>
>   <killAfter default-value="-1">${exec.killAfter}</killAfter>
>   <localRepository default-value="${localRepository}"/>
>   <mainClass>${exec.mainClass}</mainClass>
>   <pluginDependencies default-value="${plugin.artifacts}"/>
>   <project default-value="${project}"/>
>   <remoteRepositories
> default-value="${project.remoteArtifactRepositories}"/>
>   <skip default-value="false">${exec.skip}</skip>
>   <sourceRoot>${sourceRoot}</sourceRoot>
>   <stopUnresponsiveDaemonThreads
>
> default-value="false">${exec.stopUnresponsiveDaemonThreads}</stopUnresponsiveDaemonThreads>
>   <testSourceRoot>${testSourceRoot}</testSourceRoot>
> </configuration>
> [DEBUG]
> =======================================================================
> [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2,
> ConflictMarker.markTime=1, ConflictMarker.nodeCount=68,
> ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0,
> ConflictIdSorter.conflictIdCount=36,
> ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=8,
> ConflictResolver.conflictItemCount=64,
> DefaultDependencyCollector.collectTime=248,
> DefaultDependencyCollector.transformTime=14}
> [DEBUG] org.apache.ignite:ignite-examples:jar:2.6.0
> [DEBUG]    javax.cache:cache-api:jar:1.0.0:compile
> [DEBUG]    org.apache.ignite:ignite-core:jar:2.6.0:compile
> [DEBUG]       org.jetbrains:annotations:jar:13.0:compile
> [DEBUG]       org.gridgain:ignite-shmem:jar:1.0.0:compile
> [DEBUG]    org.apache.ignite:ignite-spring:jar:2.6.0:compile
> [DEBUG]       org.springframework:spring-core:jar:4.3.16.RELEASE:compile
> [DEBUG]       org.springframework:spring-aop:jar:4.3.16.RELEASE:compile
> [DEBUG]       org.springframework:spring-beans:jar:4.3.16.RELEASE:compile
> [DEBUG]       org.springframework:spring-context:jar:4.3.16.RELEASE:compile
> [DEBUG]
> org.springframework:spring-expression:jar:4.3.16.RELEASE:compile
> [DEBUG]       org.springframework:spring-tx:jar:4.3.16.RELEASE:compile
> [DEBUG]       org.springframework:spring-jdbc:jar:4.3.16.RELEASE:compile
> [DEBUG]       commons-logging:commons-logging:jar:1.1.1:compile
> [DEBUG]    org.apache.ignite:ignite-log4j:jar:2.6.0:compile
> [DEBUG]       log4j:log4j:jar:1.2.17:compile
> [DEBUG]    org.apache.ignite:ignite-indexing:jar:2.6.0:compile
> [DEBUG]       commons-codec:commons-codec:jar:1.11:compile
> [DEBUG]       org.apache.lucene:lucene-core:jar:5.5.2:compile
> [DEBUG]       org.apache.lucene:lucene-analyzers-common:jar:5.5.2:compile
> [DEBUG]       org.apache.lucene:lucene-queryparser:jar:5.5.2:compile
> [DEBUG]          org.apache.lucene:lucene-queries:jar:5.5.2:compile
> [DEBUG]          org.apache.lucene:lucene-sandbox:jar:5.5.2:compile
> [DEBUG]       com.h2database:h2:jar:1.4.195:compile
> [DEBUG]    org.apache.ignite:ignite-spring-data:jar:2.6.0:compile
> [DEBUG]
> org.springframework.data:spring-data-commons:jar:1.13.11.RELEASE:compile
> [DEBUG]          org.slf4j:slf4j-api:jar:1.7.25:compile
> [DEBUG]    org.apache.ignite:ignite-ml:jar:2.6.0:compile
> [DEBUG]       it.unimi.dsi:fastutil:jar:7.0.12:compile
> [DEBUG]       com.github.fommil.netlib:core:jar:1.1.2:compile
> [DEBUG]          net.sourceforge.f2j:arpack_combined_all:jar:0.1:compile
> [DEBUG]       org.apache.commons:commons-rng-core:jar:1.0:compile
> [DEBUG]          org.apache.commons:commons-rng-client-api:jar:1.0:compile
> [DEBUG]       org.apache.commons:commons-rng-simple:jar:1.0:compile
> [DEBUG]       com.zaxxer:SparseBitSet:jar:1.0:compile
> [DEBUG]    commons-cli:commons-cli:jar:1.2:compile
> [DEBUG]
> com.google.code.simple-spring-memcached:spymemcached:jar:2.8.4:compile
> [INFO]
> [INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ ignite-examples ---
> [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1,
> ConflictMarker.markTime=0, ConflictMarker.nodeCount=93,
> ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0,
> ConflictIdSorter.conflictIdCount=39,
> ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1,
> ConflictResolver.conflictItemCount=78,
> DefaultDependencyCollector.collectTime=146,
> DefaultDependencyCollector.transformTime=2}
> [DEBUG] org.codehaus.mojo:exec-maven-plugin:jar:1.6.0:
> [DEBUG]    org.apache.maven:maven-toolchain:jar:2.2.1:compile
> [DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
> [DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
> [DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
> [DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> [DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
> [DEBUG]
>
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
> [DEBUG]          junit:junit:jar:4.12:test
> [DEBUG]             org.hamcrest:hamcrest-core:jar:1.3:test
> [DEBUG]    org.apache.maven:maven-model:jar:2.2.1:compile
> [DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
> [DEBUG]    org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
> [DEBUG]
> backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
> [DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
> [DEBUG]
> org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
> [DEBUG]       org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
> [DEBUG]          org.slf4j:slf4j-api:jar:1.5.6:runtime
> [DEBUG]       org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
> [DEBUG]
> org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
> [DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
> [DEBUG]          org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
> [DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
> [DEBUG]       commons-cli:commons-cli:jar:1.2:compile
> [DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
> [DEBUG]
> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
> [DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
> [DEBUG]       classworlds:classworlds:jar:1.1:compile
> [DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
> [DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
> [DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
> [DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.20:compile
> [DEBUG]    org.apache.commons:commons-exec:jar:1.3:compile
> [DEBUG] Created new class realm
> plugin>org.codehaus.mojo:exec-maven-plugin:1.6.0
> [DEBUG] Importing foreign packages into class realm
> plugin>org.codehaus.mojo:exec-maven-plugin:1.6.0
> [DEBUG]   Imported:  < maven.api
> [DEBUG] Populating class realm
> plugin>org.codehaus.mojo:exec-maven-plugin:1.6.0
> [DEBUG]   Included: org.codehaus.mojo:exec-maven-plugin:jar:1.6.0
> [DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
> [DEBUG]   Included:
> backport-util-concurrent:backport-util-concurrent:jar:3.1
> [DEBUG]   Included: org.slf4j:slf4j-jdk14:jar:1.5.6
> [DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.5.6
> [DEBUG]   Included:
> org.apache.maven.reporting:maven-reporting-api:jar:2.2.1
> [DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1
> [DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1
> [DEBUG]   Included: commons-cli:commons-cli:jar:1.2
> [DEBUG]   Included:
> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
> [DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
> [DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.20
> [DEBUG]   Included: org.apache.commons:commons-exec:jar:1.3
> [DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.6.0:java
> from
> plugin realm ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.6.0,
> parent: sun.misc.Launcher$AppClassLoader@74a14482]
> [DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.6.0:java'
> with basic configurator -->
> [DEBUG]   (f) addOutputToClasspath = true
> [DEBUG]   (f) addResourcesToClasspath = false
> [DEBUG]   (f) arguments = []
> [DEBUG]   (f) classpathScope = runtime
> [DEBUG]   (f) cleanupDaemonThreads = true
> [DEBUG]   (f) daemonThreadJoinTimeout = 15000
> [DEBUG]   (f) includePluginDependencies = false
> [DEBUG]   (f) includeProjectDependencies = true
> [DEBUG]   (f) keepAlive = false
> [DEBUG]   (f) killAfter = -1
> [DEBUG]   (f) localRepository =       id: local
>       url: file:///home/user/.m2/repository/
>    layout: default
> snapshots: [enabled => true, update => always]
>  releases: [enabled => true, update => always]
>
> [DEBUG]   (f) mainClass =
> org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample
> [DEBUG]   (f) pluginDependencies =
> [org.codehaus.mojo:exec-maven-plugin:maven-plugin:1.6.0:,
> org.apache.maven:maven-toolchain:jar:2.2.1:compile,
> org.apache.maven:maven-project:jar:2.2.1:compile,
> org.apache.maven:maven-settings:jar:2.2.1:compile,
> org.apache.maven:maven-profile:jar:2.2.1:compile,
> org.apache.maven:maven-plugin-registry:jar:2.2.1:compile,
> org.codehaus.plexus:plexus-interpolation:jar:1.11:compile,
>
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile,
> org.apache.maven:maven-model:jar:2.2.1:compile,
> org.apache.maven:maven-artifact:jar:2.2.1:compile,
> org.apache.maven:maven-artifact-manager:jar:2.2.1:compile,
> org.apache.maven:maven-repository-metadata:jar:2.2.1:compile,
> backport-util-concurrent:backport-util-concurrent:jar:3.1:compile,
> org.apache.maven:maven-core:jar:2.2.1:compile,
> org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile,
> org.slf4j:slf4j-jdk14:jar:1.5.6:runtime,
> org.slf4j:slf4j-api:jar:1.5.6:runtime,
> org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime,
> org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile,
> org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile,
> org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile,
> org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile,
> commons-cli:commons-cli:jar:1.2:compile,
> org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile,
> org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile,
> org.apache.maven:maven-monitor:jar:2.2.1:compile,
> classworlds:classworlds:jar:1.1:compile,
> org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile,
> org.sonatype.plexus:plexus-cipher:jar:1.4:compile,
> org.apache.maven:maven-plugin-api:jar:2.2.1:compile,
> org.codehaus.plexus:plexus-utils:jar:3.0.20:compile,
> org.apache.commons:commons-exec:jar:1.3:compile]
> [DEBUG]   (f) project = MavenProject:
> org.apache.ignite:ignite-examples:2.6.0 @
> /home/user/apache-ignite-fabric-2.6.0-bin/examples/pom.xml
> [DEBUG]   (f) remoteRepositories = [      id: central
>       url: https://repo.maven.apache.org/maven2
>    layout: default
> snapshots: [enabled => false, update => daily]
>  releases: [enabled => true, update => daily]
> ]
> [DEBUG]   (f) skip = false
> [DEBUG]   (f) stopUnresponsiveDaemonThreads = false
> [DEBUG] -- end configuration --
> [DEBUG] Invoking :
> org.apache.ignite.examples.ml
> .genetic.helloworld.HelloWorldGAExample.main()
> [DEBUG] Plugin Dependencies will be excluded.
> [DEBUG] Project Dependencies will be included.
> [DEBUG] Collected project artifacts
> [javax.cache:cache-api:jar:1.0.0:compile,
> org.apache.ignite:ignite-core:jar:2.6.0:compile,
> org.jetbrains:annotations:jar:13.0:compile,
> org.gridgain:ignite-shmem:jar:1.0.0:compile,
> org.apache.ignite:ignite-spring:jar:2.6.0:compile,
> org.springframework:spring-core:jar:4.3.16.RELEASE:compile,
> org.springframework:spring-aop:jar:4.3.16.RELEASE:compile,
> org.springframework:spring-beans:jar:4.3.16.RELEASE:compile,
> org.springframework:spring-context:jar:4.3.16.RELEASE:compile,
> org.springframework:spring-expression:jar:4.3.16.RELEASE:compile,
> org.springframework:spring-tx:jar:4.3.16.RELEASE:compile,
> org.springframework:spring-jdbc:jar:4.3.16.RELEASE:compile,
> commons-logging:commons-logging:jar:1.1.1:compile,
> org.apache.ignite:ignite-log4j:jar:2.6.0:compile,
> log4j:log4j:jar:1.2.17:compile,
> org.apache.ignite:ignite-indexing:jar:2.6.0:compile,
> commons-codec:commons-codec:jar:1.11:compile,
> org.apache.lucene:lucene-core:jar:5.5.2:compile,
> org.apache.lucene:lucene-analyzers-common:jar:5.5.2:compile,
> org.apache.lucene:lucene-queryparser:jar:5.5.2:compile,
> org.apache.lucene:lucene-queries:jar:5.5.2:compile,
> org.apache.lucene:lucene-sandbox:jar:5.5.2:compile,
> com.h2database:h2:jar:1.4.195:compile,
> org.apache.ignite:ignite-spring-data:jar:2.6.0:compile,
> org.springframework.data:spring-data-commons:jar:1.13.11.RELEASE:compile,
> org.slf4j:slf4j-api:jar:1.7.25:compile,
> org.apache.ignite:ignite-ml:jar:2.6.0:compile,
> it.unimi.dsi:fastutil:jar:7.0.12:compile,
> com.github.fommil.netlib:core:jar:1.1.2:compile,
> net.sourceforge.f2j:arpack_combined_all:jar:0.1:compile,
> org.apache.commons:commons-rng-core:jar:1.0:compile,
> org.apache.commons:commons-rng-client-api:jar:1.0:compile,
> org.apache.commons:commons-rng-simple:jar:1.0:compile,
> com.zaxxer:SparseBitSet:jar:1.0:compile,
> commons-cli:commons-cli:jar:1.2:compile,
> com.google.code.simple-spring-memcached:spymemcached:jar:2.8.4:compile]
> [DEBUG] Collected project classpath
> [/home/user/apache-ignite-fabric-2.6.0-bin/examples/target/classes]
> [DEBUG] Adding to classpath :
> file:/home/user/apache-ignite-fabric-2.6.0-bin/examples/target/classes
> [DEBUG] Adding project dependency artifact: cache-api to classpath
> [DEBUG] Adding project dependency artifact: ignite-core to classpath
> [DEBUG] Adding project dependency artifact: annotations to classpath
> [DEBUG] Adding project dependency artifact: ignite-shmem to classpath
> [DEBUG] Adding project dependency artifact: ignite-spring to classpath
> [DEBUG] Adding project dependency artifact: spring-core to classpath
> [DEBUG] Adding project dependency artifact: spring-aop to classpath
> [DEBUG] Adding project dependency artifact: spring-beans to classpath
> [DEBUG] Adding project dependency artifact: spring-context to classpath
> [DEBUG] Adding project dependency artifact: spring-expression to classpath
> [DEBUG] Adding project dependency artifact: spring-tx to classpath
> [DEBUG] Adding project dependency artifact: spring-jdbc to classpath
> [DEBUG] Adding project dependency artifact: commons-logging to classpath
> [DEBUG] Adding project dependency artifact: ignite-log4j to classpath
> [DEBUG] Adding project dependency artifact: log4j to classpath
> [DEBUG] Adding project dependency artifact: ignite-indexing to classpath
> [DEBUG] Adding project dependency artifact: commons-codec to classpath
> [DEBUG] Adding project dependency artifact: lucene-core to classpath
> [DEBUG] Adding project dependency artifact: lucene-analyzers-common to
> classpath
> [DEBUG] Adding project dependency artifact: lucene-queryparser to classpath
> [DEBUG] Adding project dependency artifact: lucene-queries to classpath
> [DEBUG] Adding project dependency artifact: lucene-sandbox to classpath
> [DEBUG] Adding project dependency artifact: h2 to classpath
> [DEBUG] Adding project dependency artifact: ignite-spring-data to classpath
> [DEBUG] Adding project dependency artifact: spring-data-commons to
> classpath
> [DEBUG] Adding project dependency artifact: slf4j-api to classpath
> [DEBUG] Adding project dependency artifact: ignite-ml to classpath
> [DEBUG] Adding project dependency artifact: fastutil to classpath
> [DEBUG] Adding project dependency artifact: core to classpath
> [DEBUG] Adding project dependency artifact: arpack_combined_all to
> classpath
> [DEBUG] Adding project dependency artifact: commons-rng-core to classpath
> [DEBUG] Adding project dependency artifact: commons-rng-client-api to
> classpath
> [DEBUG] Adding project dependency artifact: commons-rng-simple to classpath
> [DEBUG] Adding project dependency artifact: SparseBitSet to classpath
> [DEBUG] Adding project dependency artifact: commons-cli to classpath
> [DEBUG] Adding project dependency artifact: spymemcached to classpath
> [DEBUG] joining on thread
>
> Thread[org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample.main(),5,
> org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample]
> [WARNING]
> java.lang.ClassNotFoundException:
> org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:270)
>         at java.lang.Thread.run(Thread.java:748)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.147 s
> [INFO] Finished at: 2018-11-29T05:06:33-05:00
> [INFO] Final Memory: 15M/135M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project
> ignite-examples: An exception occured while executing the Java class.
> org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample ->
> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on
> project
> ignite-examples: An exception occured while executing the Java class.
> org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample
>         at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
>         at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>         at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>         at
>
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at
>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at
>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at
>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: An exception
> occured while executing the Java class.
> org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample
>         at
> org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:339)
>         at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>         at
>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>         ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.ignite.examples.ml.genetic.helloworld.HelloWorldGAExample
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:270)
>         at java.lang.Thread.run(Thread.java:748)
> [ERROR]
> [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/MojoExecutionException
>
>
>  Thanks for you help guys!
>
> Sincerely,
>
> AlphaMufasaOmega
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to