I am trying to import a jar file (commons-codec-1.9.jar) to consume its services in a java service. I tried placing the jar file in the following paths:
The code does not compile when I save the java file. It is failing at the part where I am trying to use the Base64 class within the commons-codec-1.9.jar . I can see the class file specified under the sever class path in the admin page, so I am guessing that the jar file is loaded. I also tried to configure the build path using the project explorer view. The code itself does not show an error, but there is a failure message coming up when i make an edit to the code and save it. I am using version 9.0 of the Integration server. I have given the error message below:
64: error: cannot find symbol encryptedString = new Base64().encodeAsString(encryptedTextBytes); ^ symbol: method encodeAsString(byte) location: class Base64 1 error
Also, if we are connecting remotely to the Integration Server, how do we configure the build path for the imported jar file since we do not have access to the server folder and when we try to add an external jar the Designer tries to do that from the local drive and not from the drives of the server.
Thanks in advance for your assistance.