You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Tim Shea (JIRA)" <ji...@apache.org> on 2019/04/03 17:46:00 UTC

[jira] [Commented] (IGNITE-8382) Problem with ignite-spring-data and Spring Boot 2

    [ https://issues.apache.org/jira/browse/IGNITE-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808972#comment-16808972 ] 

Tim Shea commented on IGNITE-8382:
----------------------------------

We are hitting this too... and I tracked it down to Java cache-api 1.1.0 used by spring and 1.0.0 used by the ignite API (and core).  This causes items serialized by the core (built by you) to failed to deserialize in the client (which gets upgraded to 1.1.0 when packaged with spring-boot application).  I looked at the other issue mentioned and do not see that it would fix this.

I pulled ignite 2.7.0, upgraded cache-api to 1.1.0 in the parent pom and built it fine. I ran the basic test suite and it all passed. I think Ignite can safely make this change to be compatible with spring boot (only the most popular web framework for JVM out there).  Please consider making this change.
BTW due to corporate rules I cannot use my build of Ignite to solve this issue for us. :/

> Problem with ignite-spring-data and Spring Boot 2
> -------------------------------------------------
>
>                 Key: IGNITE-8382
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8382
>             Project: Ignite
>          Issue Type: Bug
>          Components: spring
>    Affects Versions: 2.4
>            Reporter: Patrice R
>            Priority: Major
>
> Hi,
> I've tried to update to Spring Boot 2 using an IgniteRepository (from ignite-spring-data) and I got the following exception during the start.
> The same code with Spring Boot 1.5.9 is working.
>  
> {color:#FF0000}_***************************_{color}
> {color:#FF0000}_APPLICATION FAILED TO START_{color}
> {color:#FF0000}_***************************_{color}
> {color:#FF0000}_Description:_{color}
> {color:#FF0000}_Parameter 0 of constructor in org.apache.ignite.springdata.repository.support.IgniteRepositoryImpl required a bean of type 'org.apache.ignite.IgniteCache' that could not be found._{color}
> {color:#FF0000}_Action:_{color}
> {color:#FF0000}_Consider defining a bean of type 'org.apache.ignite.IgniteCache' in your configuration._{color}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)