On Sat, Apr 27, 2013 at 9:20 AM, suganya <[email protected]> wrote: > error in getsubject method; > > here is a piece of code > while ( axioms.hasNext() ) { > Resource re=axioms.next().getSubject() ; > System.out.println( "\t"+ re); > ERROR in netbeans: > cannot find symbol > symbol: method getSubject() > location: class java.lang.Object
That doesn't look like an error in getSubject(). That looks like axioms is an iterator over java.lang.Objects, not Jena statements. There's not enough code here to tell, though… //JT -- Joshua Taylor, http://www.cs.rpi.edu/~tayloj/
