> cantona % javac InAndOut.java > InAndOut.java:16: cannot resolve symbol > symbol : class Document > location: class InAndOut > > Document doc = b.build(new File(filename)); > ^ > 1 error Appears to be a syntax error, but what version of java are you using?