11-05-2019 12:01 PM
Hi guys
i get this error when use the command package reload
Error: The following Java classes look suspicious: cisco-ise: .class file for com/tailf/packages/ned/cisco/ise/CiscoISENedGeneric.java has not been found cisco-ise: .class file for com/tailf/packages/ned/cisco/ise/CiscoISEJsonTransformer.java has not been found cisco-ise: .class file for com/tailf/packages/ned/cisco/ise/CiscoISEDp.java has not been found cisco-ise: .class file for com/tailf/packages/ned/cisco/ise/CiscoISEConnection.java has not been found cisco-ise: com.tailf.packages.ned.cisco.ise.CiscoISENedGeneric is declared in package-meta-data.xml but not found cisco-ise: com.tailf.packages.ned.cisco.ise.CiscoISEDp is declared in package-meta-data.xml but not found Check that the corresponding packages have been properly compiled. If this is intended, proceed with 'force' parameter.
But these files exist
root@kevin-virtual-machine:~/ncs-run/packages/cisco-ise/src/java/src/com/tailf/packages/ned/cisco/ise# ls CiscoISEConnection.java CiscoISEDp.java CiscoISEJsonTransformer.java CiscoISENedGeneric.java
i dont know what is the problem.
thanks for your help
best regards
11-07-2019 11:56 AM
11-06-2020 03:13 AM
I am having the same problem. I received this problem when trying to do the packages-reload command on the resource-manager package in the NSO and it showed that .class files are missing for the following files: ResourceException.java , ResourceAllocator.java , ResourceErrorException.java and ResourceWaitException.java. There is another file over here in this package, it is called ErrorCode.java, however I had no problems compiling this file and receiving the .class file for it. It appears to me that the java code for the error-ed files is correct and all of the files are within the same package, so I believe that using variables from one class in another class should be done without a problem.
Could someone explain to me why I am receiving this problem and how I can fix it? Below I have attached pictures of the errors I am receiving for the files mentioned above.
PS: The ResourceAllocator.java file showed 100 errors, so in the picture I have provided only a part of them - all of the errors below the ones in the picture are related to the missing packages (which I don't know where to find and how to implement).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide