08 2024 档案
摘要:net.sf.jasperreports.engine.util.JRFontNotFoundException: Font "仿宋" is not available to the JVM. See the Javadoc for more details.
at net.sf.jasperreports.engine.fonts.FontUtil.checkAwtFont(FontUtil.java:581)
原因jar启动去加载取消对应的字体
项目版本说明
jdk8
spring-cloud Hoxton.SR9
spring-boot 2.3.9.RELEASE
jasperreports 6.20.5
Jaspersoft Studio 6.20.5
阅读全文
摘要:java 在linux上 start、stop、restart、status等启动命令,sh脚本,appMgr.sh 放在reources/ops下 #!/usr/bin/sh APP_NAME="@project.name@-@project.version@.jar" DEPLOY_PATH=`
阅读全文
摘要:MapperScannerConfigurer中获取applicayion.yml配置,进行动态加载BasePackage
由于在MapperScannerConfigurer的bean 优先于@value,导致@value取出来的时候都是null,所以只能使用Environment 来获取值
阅读全文
摘要:[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate (default-cli) on project com-zhianchen-pgsql: Execu
阅读全文