cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in thread 'com.sun.pdfview.PDFParser' java.lang.No

tctim
Champ in-the-making
Champ in-the-making
I get this error over and over in my catalina.out - any idea on how to resolve this?

Exception in thread "com.sun.pdfview.PDFParser" java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color
   at com.sun.pdfview.colorspace.PDFColorSpace.getPaint(PDFColorSpace.java:223)
   at com.sun.pdfview.PDFParser.iterate(PDFParser.java:673)
   at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
   at java.lang.Thread.run(Thread.java:637)
1 REPLY 1

sselvan
Champ in-the-making
Champ in-the-making
java.awt.Color is standard with JVMs. May be your JVM is (i) missing the awt package or (ii) it could be classpath issue.

However, you could Compile and run this java program.  It should run fine if you have java.awt.Color.

 import java.awt.Color;

class test {
   public static void main(String[] args) {
     Color c = Color.CYAN;
     System.out.println©;
   }

}

Based on that, you could decide on the same.