Hello!

I guess you need to inherit all your service implementation from
org.apache.ignite.services.Service

Regards,
-- 
Ilya Kasnacheev


пт, 5 июн. 2020 г. в 15:01, [email protected] <
[email protected]>:

> hi Evgenii,
>
> After serveral tried, seems in the Jar package, need META-INF/ignite.xml
> descriptor, my one like is,
> ->
> <beans xmlns="http://www.springframework.org/schema/beans";
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>        xmlns:util="http://www.springframework.org/schema/util";
>        xsi:schemaLocation="
>         http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
>         http://www.springframework.org/schema/util
> http://www.springframework.org/schema/util/spring-util.xsd";>
>     <description>Ignite Spring configuration file in
> gar-file.</description>
>
>
>     <util:list id="tasks">
>
> <value>com.marble.ignite.trade.igniteservice.SimpleMapServiceImpl</value>
>    </util:list>
>
>
>     <bean id="userVersion" class="java.lang.String">
>         <constructor-arg value="2"/>
>     </bean>
> </beans>
>
>
> but when deploy, found Caused by: java.lang.ClassCastException:
> com.marble.ignite.trade.igniteservice.SimpleMapServiceImpl cannot be cast
> to
> org.apache.ignite.services.Service
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to