我不太擅长JAVA
我从 QRToad 开始 https://github.com/boltz/QRToad
ColdFusion 2016 - MS Server 2016:我已重新启动 cf 服务器几次。
我在第 5 行遇到错误
找不到类:com.itextpdf.text.pdf.BarcodeQRCode
错误发生于
C:/upcloud/_live_websites/_silkea/test/QR/com/timcunningham/QRToad/QRCode.cfc: line 5
Called from C:/upcloud/_live_websites/_silkea/test/qr/getqrtest.cfm: line 2
Called from C:/upcloud/_live_websites/_silkea/test/QR/com/timcunningham/QRToad/QRCode.cfc: line 5
Called from C:/upcloud/_live_websites/_silkea/test/qr/getqrtest.cfm: line 2
3 : put the itext JAR in your ColdFusion class path.
4 : Restart ColdFusion service">
5 : <cfset QR = createObject("java","com.itextpdf.text.pdf.BarcodeQRCode")>
这是 JAR:itext-pdfa-5.5.13.2.jar
我把它放在:C:\ColdFusion2016\jre\lib 还有 C:\ColdFusion201