Stash sign in when prompted to enter a verification code, but the verification code does not show, how to solve it?
Error message: 650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/72/85/wKiom1XlXJ_wyyq-AAFhGMLGC1I205.jpg "title=" Login error. png "alt=" wkiom1xlxj_wyyq-aafhgmlgc1i205.jpg "/>
Check out the reasons for the specific error through Chrome's review element:
Error creating Bean with Name ' Imagecaptchaserviceprototype ' defined in class path resource [Stash-context.xml]: Cannot cr Eate inner Bean ' com.atlassian.stash.internal.web.util.captcha.stashcaptchaengine#142e709 ' of type [ Com.atlassian.stash.internal.web.util.captcha.StashCaptchaEngine] While setting constructor argument; Nested exception is org.springframework.beans.factory.BeanCreationException:Error creating beans with Name ' com.atlassian.stash.internal.web.util.captcha.stashcaptchaengine#142e709#266 ' defined in class path resource [ Stash-context.xml]: Instantiation of Bean failed; Nested exception is org.springframework.beans.BeanInstantiationException:Could not instantiate Bean class [ Com.atlassian.stash.internal.web.util.captcha.StashCaptchaEngine]: Constructor threw exception; Nested exception is java.lang.NoClassDefFoundError:Could not initialize class Sun.awt.X11FontManager |
Baidu is unable to find a solution, and finally through the wall to find the reason, is the font of the problem, but how to install also no use, there are also said JDK problems, various search, the end is steady.
Stash in the CentOS environment of the configuration environment, operate with Xshell.
Solution:
and find Fonts.
After loading, and then restart the refresh, the result is not resolved, which prompted a JDK in the directory without a **.so thing, this time directly to install this thing
Restart, refresh, solve the problem again!
This article is from the "Suck on self-renewal" blog, please be sure to keep this source http://wyong.blog.51cto.com/1115465/1690521
Stash Login Verification Code does not display, reported could not initialize class Sun.awt.X11FontManager error