错误1:./usr/java/jdk1.7.0_67/bin/unpack200: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
错误2:.could not initialise class sun.awt.X11FontManager
[attachment=1549]
[attachment=1550]
2019-03-26 19:01:08.230 ERROR 49781 --- [nio-8081-exec-1] i.r.common.exception.RRExceptionHandler : Handler dispatch failed; nested exception is java.lang.UnsatisfiedLinkError: /app/jgyapp/java/jdk1.8.0_191/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.UnsatisfiedLinkError: /app/jgyapp/java/jdk1.8.0_191/jre/lib/i386/libfontmanager.so: libgcc_s.so.1: cannot open shared object file: No such file or directory
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1006)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
解决办法:
1.安装so缺少的库
安装缺失的文件: yum install libgcc_s.so.1
参考:https://blog.csdn.net/fly0496/article/details/38559545
2.安装字体
解决方案:
yum grouplist |
yum groupinstall Fonts |
yum install **.so |