Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.ujcms.cms.core.web.api.CaptchaController' defined in URL [jar:file:/home/apps/ujcms/ujcms-9.5.1.jar!/BOOT-INF/classes!/com/ujcms/cms/core/web/api/CaptchaController.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'captchaTokenService' defined in class path resource [com/ujcms/commons/captcha/CaptchaAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ujcms.commons.captcha.CaptchaTokenService]: Factory method 'captchaTokenService' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gmailCaptchaEngine' defined in class path resource [com/ujcms/commons/captcha/CaptchaAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ujcms.commons.captcha.GmailCaptchaEngine]: Factory method 'gmailCaptchaEngine' threw exception; nested exception is java.io.IOException: Problem reading font data.
nested exception is java.io.IOException: Problem reading font data.
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ujcms.commons.captcha.GmailCaptchaEngine]: Factory method 'gmailCaptchaEngine' threw exception; nested exception is java.io.IOException: Problem reading font data.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.31.jar!/:5.3.31]
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648) ~[spring-beans-5.3.31.jar!/:5.3.31]
... 60 common frames omitted
Caused by: java.io.IOException: Problem reading font data.
at java.desktop/java.awt.Font.createFont0(Font.java:1205) ~[na:na]
at java.desktop/java.awt.Font.createFont(Font.java:1076) ~[na:na]
at com.ujcms.commons.captcha.CaptchaAutoConfiguration.gmailCaptchaEngine(CaptchaAutoConfiguration.java:44) ~[classes!/:9.5.1]
at com.ujcms.commons.captcha.CaptchaAutoConfiguration$$EnhancerBySpringCGLIB$$b6a90f3a.CGLIB$gmailCaptchaEngine$4(<generated>) ~[classes!/:9.5.1]
at com.ujcms.commons.captcha.CaptchaAutoConfiguration$$EnhancerBySpringCGLIB$$b6a90f3a$$FastClassBySpringCGLIB$$56d47d9b.invoke(<generated>) ~[classes!/:9.5.1]
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) ~[spring-core-5.3.31.jar!/:5.3.31]
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-5.3.31.jar!/:5.3.31]
at com.ujcms.commons.captcha.CaptchaAutoConfiguration$$EnhancerBySpringCGLIB$$b6a90f3a.gmailCaptchaEngine(<generated>) ~[classes!/:9.5.1]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.31.jar!/:5.3.31]