cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: Need help w/ noClassDefFoundError
Date Thu, 29 Jul 2004 07:25:07 GMT
John L. Webber wrote:

> Hi Mark,
>
> I would guess that that's an internal Sun class not distributed with 
> every JDK version. Googling for JPEGImageDecoderImpl shows a few hits, 
> mostly on Linux JDKs.
>
Are you running your JVM in headless mode? Otherwise AWT won't work.

Start your JVM with -Djava.*awt*.*headless*=true, and it should work.

Regards, Upayavira

> John
>
> Mark Lundquist wrote:
>
>> Hi,
>>
>> When I try to use the ImageReader, I get
>>
>>     java.lang.NoClassDefFoundError
>>       at  
>> sun.awt.image.codec.JPEGImageDecoderImpl.getDecodedColorModel(JPEGImageD 
>> ecoderImpl.java:293)
>>
>> I'm running under OS X... the application runs fine on my PowerBook,  
>> but when I try to run it on the server I get this error.  It's JDK  
>> 1.4.2 on my lappy, 1.4.1 on the server.
>>
>> Any ideas?
>>
>> Thanks,
>> Mark
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message