Hi everybody,
i'm a new user with a big problem :/
I have a simple
java batch (no
maven,no spring,...) that run fine from eclipse.
When i put the exported jar (with Ant) into a server and run it with a shell, i receive the error:
java.lang.RuntimeException: java.lang.ClassNotFoundException:a.class.inside.external.library.Y
this is a strange error because the class don't found is inside the same library that call it!
This are the step...
- the shell call main class from my jar
- main class do anyting
- main class call a class inside an external library: a.class.inside.external.library.X
- the class X call another class inside the same library: a.class.inside.external.library.Y
--->>> java.lang.RuntimeException: java.lang.ClassNotFoundException:a.class.inside.external.library.Y
My environment...
The exported jar have inside only my classes
The other libraries are setted on a shell with the correct path
I really don't understand wich is the problem, and hope that you can help me