Re: Getting same erasure error during compilation

2019-11-05 Thread Ilya Kasnacheev
Hello!

I think I saw one here:
https://bitbucket.org/lokesh_blue/bugdemo/src/master/

Regards,
-- 
Ilya Kasnacheev


ср, 30 окт. 2019 г. в 21:34, niamin :

> Can you share a pom.xml that includes the dependencies that have been
> tested
> and known to work with Spring Data? I used spring-data-2.0 but still cannot
> get to work with Spring Data integration due to additional errors.
>
> Thanks,
> Naushad
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: Getting same erasure error during compilation

2019-10-30 Thread niamin
Can you share a pom.xml that includes the dependencies that have been tested
and known to work with Spring Data? I used spring-data-2.0 but still cannot
get to work with Spring Data integration due to additional errors.

Thanks,
Naushad



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Getting same erasure error during compilation

2019-10-30 Thread Ilya Kasnacheev
Hello!

I think you are using wrong version of Spring Data module.

We have spring-data and spring-data-2.0 modules, are you sure you have
added the correct one?

Regards,
-- 
Ilya Kasnacheev


вт, 29 окт. 2019 г. в 20:21, niamin :

> Hello, I am trying to use Ignite with Spring Data JPA. However I am unable
> to
> compile the project because of the following error:
>
> ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
> (default-compile) on project arinvoiceservice: Compilation failure
> [ERROR]
>
> /Users/418177/repositories/git/pocs/arinvoiceservice/src/main/java/com/gpc/rpm/arinvoiceservice/repository/ARInvoiceRepository.java:[15,8]
> name clash: deleteAll(java.lang.Iterable) in
> org.springframework.data.repository.CrudRepository and
> deleteAll(java.lang.Iterable) in
> org.apache.ignite.springdata.repository.IgniteRepository have the same
> erasure, yet neither overrides the other
> [ERROR]
> [ERROR] -> [Help 1]
>
> ARInvoiceRepository.java
> <
> http://apache-ignite-users.70518.x6.nabble.com/file/t2637/ARInvoiceRepository.java>
>
>
> Attached is the file for your reference.
>
> I don't see anything wrong. I coded it based on the sample and example
> provided on Ignite's website
> https://apacheignite-mix.readme.io/docs/spring-data
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Getting same erasure error during compilation

2019-10-29 Thread niamin
Hello, I am trying to use Ignite with Spring Data JPA. However I am unable to
compile the project because of the following error:

ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
(default-compile) on project arinvoiceservice: Compilation failure
[ERROR]
/Users/418177/repositories/git/pocs/arinvoiceservice/src/main/java/com/gpc/rpm/arinvoiceservice/repository/ARInvoiceRepository.java:[15,8]
name clash: deleteAll(java.lang.Iterable) in
org.springframework.data.repository.CrudRepository and
deleteAll(java.lang.Iterable) in
org.apache.ignite.springdata.repository.IgniteRepository have the same
erasure, yet neither overrides the other
[ERROR]
[ERROR] -> [Help 1]

ARInvoiceRepository.java

  

Attached is the file for your reference.

I don't see anything wrong. I coded it based on the sample and example
provided on Ignite's website
https://apacheignite-mix.readme.io/docs/spring-data



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/