Using FilenameUtils in a Java Snippet

Hi guys,

I'm having troubles importing FilenameUtils. I used

import org.apache.commons.io.FilenameUtils;

but the execution throws some errors saying that the import org.apache cannot be resolved. I'm currently trying to perform a file copy of an xls file using the Java node.

Maybe I have to add some additional settings elsewhere?

Thanks in advance.

Angelo.

Have you explicity added the neccessary library? (second tab in the node options).

Philipp

I figured out my mistake. I had added the library into the second Tab, but I was pointing to the entire .zip file. After selecting only the .jar file everything is ok.

Angelo.