You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "redtank (JIRA)" <ji...@apache.org> on 2017/09/20 09:27:00 UTC
[jira] [Created] (IGNITE-6450) Kotlin: Inherited platform
declarations clash
redtank created IGNITE-6450:
-------------------------------
Summary: Kotlin: Inherited platform declarations clash
Key: IGNITE-6450
URL: https://issues.apache.org/jira/browse/IGNITE-6450
Project: Ignite
Issue Type: Bug
Components: cache, spring
Affects Versions: 2.1, 2.2
Environment: OS: macOS 10.12
Java: 1.8.0_112-b16
Kotlin: 1.1.4-3
org.apache.ignite:ignite-spring-data:2.2.0
org.springframework.data:spring-data-commons:1.13.1.RELEASE -> 2.0.0.RC3
Reporter: redtank
I am trying Spring Data and Ignite. My repository interface is below
```
@RepositoryConfig(cacheName = "QuoteRequest")
interface QuoteRequestRepository : IgniteRepository<QuoteRequest, Int>
```
The code works for spring-data-commons:1.13.1.RELEASE. But it doesn't work for 2.0.0.RC3. The error message is below
```
Error:(9, 11) Kotlin: Inherited platform declarations clash: The following declarations have the same JVM signature (deleteAll(Ljava/lang/Iterable;)V):
fun deleteAll(p0: (Mutable)Iterable<QuoteRequest!>!): Unit defined in repository.QuoteRequestRepository
fun deleteAll(p0: (Mutable)Iterable<Int!>!): Unit defined in repository.QuoteRequestRepository
```
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)