Error creating bean with name 'soundCaptchaEngine'

16/08/2010

while deploying Webapplication this error could came up: ERROR [org.springframework.web.context.ContextLoader]:203 Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'soundCaptchaEngine' defined in file [/var/lib/tomcat5.5/webapps/circabc/WEB-INF/classes/alfresco/extension/circabc-captcha-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [eu.cec.digit.circabc.web.captcha.SoundCaptchaEngine]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/sun/speech/freetts/audio/AudioPlayer Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [eu.cec.digit.circabc.web.captcha.SoundCaptchaEngine]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/sun/speech/freetts/audio/AudioPlayer Caused by: java.lang.NoClassDefFoundError: com/sun/speech/freetts/audio/AudioPlayer This problem occurs because there is no freetts jar file is in you lib folder. Go this way. 1. freetts.sourceforge.net 2. download bin 3. copy jar files to your lib folder (WEBAPPS\WEB-INF\lib) restart tomcat. (BTW: I use JAVA 1.5 build 1.5.0_17-b04)



HardwareAll
ProductNone
Operating SystemAll
ComponentNone
VersionNone
Severitycritical
ResolutionWorks For Me

Category

Bugs
The content of this field is kept private and will not be shown publicly.