lundi 28 septembre 2015

A class loaded at runtime cannot find a class inside a JAR file which is inside a folder Lib

Its tricky to explain. I have a JAR file framework.jar which loads a class sikuli.class from a folder Libraries and executes a function xyz() Now this sikuli.class file uses some other JAR files which are API

I have added these APIs while creating the framework.jar and bundled them inside it.

but when I am executing the JAR file it says ClassNotFound for all the import statements inside the sikuli.class file

I tried adding the API JAR files to CLASSPATH also, even that didn't work.





Aucun commentaire:

Enregistrer un commentaire