[
https://issues.apache.org/jira/browse/IGNITE-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15166492#comment-15166492
]
Roman Shtykh edited comment on IGNITE-2718 at 2/25/16 1:21 AM:
---------------------------------------------------------------
Dustin, can you please share what classes are not found?
Do you have
{code}
<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-core</artifactId>
<version>${ignite.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-spring</artifactId>
<version>${ignite.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-zookeeper</artifactId>
<version>${ignite.version}</version>
</dependency>
{code}
in your pom file?
was (Author: roman_s):
Dustin, can you please share what classes are not found?
Have you added
{code}
<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-core</artifactId>
<version>${ignite.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-spring</artifactId>
<version>${ignite.version}</version>
</dependency>
{code}
to your pom file?
> modules/zookeeper/target/libs directory does not have all dependencies
> ----------------------------------------------------------------------
>
> Key: IGNITE-2718
> URL: https://issues.apache.org/jira/browse/IGNITE-2718
> Project: Ignite
> Issue Type: Bug
> Components: build
> Reporter: Dustin Chesterman
> Priority: Critical
> Labels: community
> Fix For: 1.6
>
>
> If you specify the zookeeper ip finder in the example cache config there are
> a host of classnotfound exceptions. I believe these need to be populated
> into the build target lib dir.
> {code} <property name="discoverySpi">
> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
> <property name="ipFinder">
> <!--
> Ignite provides several options for automatic
> discovery that can be used
> instead os static IP based discovery. For information
> on all options refer
> to our documentation:
> http://apacheignite.readme.io/docs/cluster-config
> -->
> <!-- Uncomment static IP finder to enable static-based
> discovery of initial nodes. -->
> <!--<bean
> class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">-->
> <bean
> class="org.apache.ignite.spi.discovery.tcp.ipfinder.zk.TcpDiscoveryZookeeperIpFinder">
> <property name="allowDuplicateRegistrations"
> value="false" />
> <property name="basePath" value="/grid" />
> <property name="serviceName" value="myService" />
> <property name="zkConnectionString"
> value="192.168.200.11:2181" />
> </bean>
> </property>
> </bean>
> </property>{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)