Exception in thread 'com.sun.pdfview.PDFParser' java.lang.No
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2010 12:47 PM
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)
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)
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2010 12:26 PM
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.
Based on that, you could decide on the same.
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.
