i have created new java class @ point attempts
package ca.wfsystems.core; importpackage(com.itextpdf); public class printpdf { } however have error on importpackage line:
multiple markers @ line - syntax error, insert "enumbody" complete enumdeclaration - syntax error, insert "enum identifier" complete enumheadername
i believe have jar installed , shows in package explorer under webcontent/web-inf/lib/itextpdf-5.5.6.jar
i using example declan @ http://www.qtzar.com/7plcn79gsvsw/
i have done bit of java still on steep part of learning curve.
you don't import packages using importpackage: not java keyword. if want import in package, replace line with:
import com.itextpdf.*; note there no notion of hierarchical relationship between packages in java, if want import subpackage, need import subpackage explicitly:
import com.itextpdf.name.of.subpackage.*;
Comments
Post a Comment