最近在部署java項目時,遇到一個錯誤“Handler dispatch failed;nested exception is java.lang.NoClassDefFoundError”,
由於是導出excel,所以使用了aspose-cells架包。
原因:
centos7中缺少字體樣式。
解決方案:
yum install dejavu-sans-fonts fontconfig -y
最近在部署java項目時,遇到一個錯誤“Handler dispatch failed;nested exception is java.lang.NoClassDefFoundError”,
由於是導出excel,所以使用了aspose-cells架包。
原因:
centos7中缺少字體樣式。
解決方案:
yum install dejavu-sans-fonts fontconfig -y
代碼: public class PropertiesControl : Grid { [TypeConverter(typeof(LengthConverter))] public d