留言板

(RESOLVED) JPEGCodec problem

Aril 1800,修改在16 年前。

(RESOLVED) JPEGCodec problem

New Member 帖子: 17 加入日期: 08-2-27 最近的帖子
Hi All,


I installed 4.4.2 using the following configuration.

java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)

apache-tomcat-6.0.16
mysql 5.0
Fedora core 8 64 Bit (Intel)


When I tried to register, the text verification picture didn't show up and I saw the following error in the catalina.out


Caused by: java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/JPEGCodec
at nl.captcha.servlet.DefaultCaptchaIml.createImage(DefaultCaptchaIml.java:111)
at com.liferay.portal.captcha.CaptchaPortletAction.processAction(CaptchaPortletAction.java:80)
at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:177)
at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:96)
at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:432)

Any idea why this happened ?

I don't have this error on my 32bit linux.


Rgds,
Aril
Aril 1800,修改在16 年前。

RE: JPEGCodec problem (RESOLVED)

New Member 帖子: 17 加入日期: 08-2-27 最近的帖子
Hi all,


I installed JDK 1.6.0.02 and it solved the issue I had.

I don't know why jpegcodec doesn't work with JDK 1.6.0.04

Rgds,
Aril