Re: Gar file gives me java.lang.ClassNotFoundException

2016-04-27 Thread vkulichenko
Hi,

Deployment mechanisms in Ignite can be used for computations (tasks and
closures), but not for services. For services you will have to deploy
classes explicitly on all nodes.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Gar-file-gives-me-java-lang-ClassNotFoundException-tp4582p4632.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Gar file gives me java.lang.ClassNotFoundException

2016-04-27 Thread Vladimir Ozerov
Hi,

Please provide the full stack trace and (if possible) code to reproduce the
problem.

Vladimir.

On Wed, Apr 27, 2016 at 9:26 AM, mortias  wrote:

> Hi all,
>
> I'm trying to use a gar file to deploy my project however I get a
> java.lang.ClassNotFoundException
>
> In short, I've created a gar file, with a meta-inf file and a lib folder
>(my lib folder contains all dependencies and my own project packaged in
> a
> xxx-snapshot.jar
> so basically I use the "appassembler-maven-plugin:create-repository"
> goal)
>
> when I run ignite he don't seem to find my classes..
>   org.apache.ignite.spi.IgniteSpiException: Failed to get tasks declared in
> xml file
>   .. cannot find class .. caused by java.lang.ClassNotFoundException
>
> any ideas ?
>
> tx !
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Gar-file-gives-me-java-lang-ClassNotFoundException-tp4582.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>