Pramod Patwa created IGNITE-13879:
-------------------------------------
Summary: ignite-rest-http is not working with spring data rest
Key: IGNITE-13879
URL:
https://issues.apache.org/jira/browse/IGNITE-13879 Project: Ignite
Issue Type: Bug
Components: springdata
Affects Versions: 2.8.1
Reporter: Pramod Patwa
I mam ruining ignite as embedded persistence cache. I am using it with the help of spring data jpa. It all works fine until i add dependency ignite-rest-http. I would like to test my setup with rest service that is rhe reason i would like to add this. when i add that dependency it throws error
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.Log4jLoggerFactory loaded from file:/home/WORLDPAY.LOCAL/patwap327/.m2/repository/org/slf4j/slf4j-log4j12/1.7.30/slf4j-log4j12-1.7.30.jar). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml: org.slf4j.impl.Log4jLoggerFactory
maven depedencies that i am using are
j<dependency><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-indexing</artifactId> <version>${ignite.version}</version> </dependency>
<dependency> <groupId>org.apache.ignite</groupId> <artifactId>ignite-spring-data_2.2</artifactId> <version>${ignite.version}</version> </dependency>
<dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional> </dependency>
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> </exclusion> </exclusions> </dependency>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)