You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by monstereo <me...@gmail.com> on 2018/08/07 06:24:49 UTC

Caused by: java.lang.ClassNotFoundException: org.apache.ignite.logger.slf4j.Slf4jLogger

I can not solve this problem
pom.xml:
 <dependency>
            <groupId>org.apache.ignite</groupId>
            <artifactId>ignite-log4j</artifactId>
            <version>2.5.0</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.25</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.7.25</version>
            <scope>test</scope>
        </dependency>

ignite xml configuration
<bean id="ignite.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">

        <property name="gridLogger">
            <bean class="org.apache.ignite.logger.slf4j.Slf4jLogger"/>
        </property>
... default coniguration is here
</bean



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

Re: Caused by: java.lang.ClassNotFoundException: org.apache.ignite.logger.slf4j.Slf4jLogger

Posted by Evgenii Zhuravlev <e....@gmail.com>.
I've already answered that question too

2018-08-07 10:15 GMT+03:00 monstereo <me...@gmail.com>:

> I have solved this one
> I am looking for an answer
> this
> <http://apache-ignite-users.70518.x6.nabble.com/SEVERE-
> Failed-to-resolve-default-logging-config-file-config-
> java-util-logging-properties-td23212.html>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Re: Caused by: java.lang.ClassNotFoundException: org.apache.ignite.logger.slf4j.Slf4jLogger

Posted by monstereo <me...@gmail.com>.
I have solved this one 
I am looking for an answer 
this
<http://apache-ignite-users.70518.x6.nabble.com/SEVERE-Failed-to-resolve-default-logging-config-file-config-java-util-logging-properties-td23212.html>  



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

Re: Caused by: java.lang.ClassNotFoundException: org.apache.ignite.logger.slf4j.Slf4jLogger

Posted by Evgenii Zhuravlev <e....@gmail.com>.
You should add also dependency on ignite-slf4j

Evgenii

2018-08-07 9:24 GMT+03:00 monstereo <me...@gmail.com>:

> I can not solve this problem
> pom.xml:
>  <dependency>
>             <groupId>org.apache.ignite</groupId>
>             <artifactId>ignite-log4j</artifactId>
>             <version>2.5.0</version>
>         </dependency>
>         <dependency>
>             <groupId>org.slf4j</groupId>
>             <artifactId>slf4j-api</artifactId>
>             <version>1.7.25</version>
>         </dependency>
>         <dependency>
>             <groupId>org.slf4j</groupId>
>             <artifactId>slf4j-simple</artifactId>
>             <version>1.7.25</version>
>             <scope>test</scope>
>         </dependency>
>
> ignite xml configuration
> <bean id="ignite.cfg"
> class="org.apache.ignite.configuration.IgniteConfiguration">
>
>         <property name="gridLogger">
>             <bean class="org.apache.ignite.logger.slf4j.Slf4jLogger"/>
>         </property>
> ... default coniguration is here
> </bean
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>