I have a problem with a third-party-Jar file. The Jar file tries to
establish a connection to Jackrabbit (Content Repository). For that
connection a properties file is located in the Jar file.
When I try to load the Jar file, jruby returns a FileNotFoundException.
The file is loaded in Java with this code:
configFileLocation = this.getClass().getResource("/repository-" +
properties.getProperty(“configFile”) + “.xml”).getPath();
The error in jruby looks like that:
file could not be read.
… (error stack)
Caused by: java.io.FileNotFoundException:
(No such file or directory)
Is it an error in Jruby with loading Resources or is the error located
in the Java code and the Java developer has to change these lines?
Thanks in advance,
To unsubscribe from this list, please visit: