I'm working on some java code (yikes! ;-) within Eclipse, and while I
thought I had things configured correctly, I'm running into a problem which calls that into question.
The code essentially looks like this:
package xxxx;
// ...
import com.interwoven.cssdk.workflow.*;
public class Foo {
// ...
private Integer jobid;
public static void main(String[] args) {
Foo bar = new Foo();
// ...
bar.jobid = args[5];
// ...
CSWorkflow job = getWorkflow(bar.jobid); // #=# PROBLEM
}
// ...
}
However, it doesn't like the line indicated, when I hover the mouse over
CSWorkflow
Eclipse displays the error message:[indent]
CSWorkflow cannot be resolved to a type[/indent]Now, when I added the import line, it was more than willing to help complete the import directive, so it "knows" about
com.interwoven.cssdk.workflow.*
, which I would have thought would have been sufficient to allow it to resolve the type
CSWorkflow
- but that doesn't seem to be the case.
Am I missing some other necessary imports?
Could I have managed to add the CSSDK libraries (Referenced Libraries > cssdkjava.jar > com.interwoven.xxxxxx) incorrectly to the project or perhaps I need to somehow indicate that they exist in more than one way?
Any ideas?