Hi Madhuri,
This has somehow focused on Eclipse as you tried to import the lisa core jar and it did work as expected, etc... However, your core issue is that a lisa core jar method you use in some custom code is not declared public and hence you cannot use it as you did in lisa v6. You basically want to patch the official lisa core jar.
If you patch lisa-core-10.3.0.jar within an installed DevTest folder that renders this installation unsupported. If in the future you report an issue to CA Support you would have to prove that your issue occurs when using the official lisa-core-10.3.0.jar and it is not caused by your patch.
There is a way around this as you are using this library within some custom code, so you can always store the patched lisa-core-10.3.0.jar outside the DevTest installation folder and use the classpath to use your patched version whenever you run your custom code.
Now to the core of your problem, I have personally never used Eclipse to patch some java library, I guess I still do it the old way before we even had Eclipse.
To change “simple” things in a compiled class fuke it is easiest to use a Java Bytecode Editor, go to Sourceforge, and download reJava. You will get a zip file e.g. rej_v0.7_bin.zip, extract rej.jar out of it and double-click it to start the GUI interface.
The procedure you can follow is, start a Command Window:
cd \temp
mkdir patch
cd patch
copy \jdk1.8.0_102
set PATH=%PATH%;%JAVA_HOME%\bin
jar xvf lisa-core-10.3.0-patched20181112.jar
Start reJ,
open the file C:\temp\patch\com\itko\lisa\model\mar\ModelArchiveInfo.class,
browse down to the method you want to patch,
double-click the line, in the Method Editor, check “public”,
click OK.,
then click Save at the top
then close reJ
In the command window, update the jar file with the patched class:
jar uvf lisa-core-10.3.0-patched20181112.jar com\itko\lisa\model\mar\ModelArchiveInfo.class
You can see now that the method createTestMARInfor(String, String, String) is public
Hope this helps,
Cheers,
Danny