[
https://issues.apache.org/jira/browse/IGNITE-8861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541950#comment-16541950
]
Dmitriy Pavlov commented on IGNITE-8861:
----------------------------------------
[~roman_s] can we resove issue?
I can see doc was updated with new method name.
> Wrong method call in IgniteServise documentation snippet
> --------------------------------------------------------
>
> Key: IGNITE-8861
> URL: https://issues.apache.org/jira/browse/IGNITE-8861
> Project: Ignite
> Issue Type: Improvement
> Components: documentation
> Reporter: Oleg Ostanin
> Assignee: Roman Shtykh
> Priority: Minor
>
> [https://apacheignite.readme.io/docs/service-example]
> {{ClusterGroup cacheGrp = ignite.cluster().forCache("myCounterService");}}
> {{This string does not compile if we use 2.5 version:}}
> {{[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile
> (default-compile) on project poc-tester: Compilation failure}}
> {{[ERROR]
> /home/oostanin/gg-qa/poc-tester/src/main/java/org/apache/ignite/scenario/ServiceTask.java:[53,51]
> cannot find symbol}}
> {{[ERROR] symbol: method forCache(java.lang.String)}}
> {{[ERROR] location: interface org.apache.ignite.IgniteCluster}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)