Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/09/2014, 09:55
marielapg84
 
Fecha de Ingreso: agosto-2010
Mensajes: 127
Antigüedad: 13 años, 8 meses
Puntos: 1
problemas celda con itext

estoy utilizando la función cell de itext pero cuando corro el programa me muestra el siguiente error
javax.servlet.ServletException: java.lang.NoSuchMethodError: com.itextpdf.text.pdf.PdfPTable.addCell(Lcom/itextpdf/text/pdf/PdfPCell;)V

mi código es el siguiente
PdfPCell cell = new PdfPCell("HOLA");
cell.setHorizontalAlignment(Element.ALIGN_CENTER);
cell.setVerticalAlignment(Element.ALIGN_MIDDLE);
table.addCell(cell);