Exception:
VALIDATION PROBLEMS WERE FOUND problem: cvc-enumeration-valid:
string value '2.4' is not a valid enumeration value for
web-app-versionType in namespace http://java.sun.com/xml/ns/javaee
Solution:
While I was deploying my project on weblogic server 10.3
I had this exception at deploy ear phase. And I have found
the solution as changing the version of my web.xml
from 2.4 to 2.5.
“Low quality code is not cheaper; it is vastly more expensive, even in the short term. Bad code slows everyone down from the minute that it is written. It creates a continuous and copious drag on further progress. It requires armies of coders to overcome that drag; and those armies must grow exponentially to maintain constant velocity against that drag.” Robert C. Martin
Tuesday, April 21, 2009
VALIDATION PROBLEMS WERE FOUND problem: cvc-enumeration-valid
Wednesday, April 1, 2009
java.lang.NoSuchMethodError: com.lowagie.text.Image.getPlainWidth()F
java.lang.NoSuchMethodError: com.lowagie.text.Image.getPlainWidth()F
at net.sf.jasperreports.engine.export.JRPdfExporter.exportImage(JRPdfExporter.java:1219)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements(JRPdfExporter.java:675)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:641)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:536)
at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:323)
I have changed the jasperreports version to 3.5.0 and itext version from 1.3.1 to 2.1.4 then problem resolved.:)