ClassNotFoundException: com.lowagie.text.pdf.PdfGState
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                ClassNotFoundException: com.lowagie.text.pdf.PdfGState
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                折騰報表導出,出現這個錯誤,??java.lang.ClassNotFoundException: com.lowagie.text.pdf.PdfGState
發現pom中引用了
<dependency><groupId>net.sf.jasperreports</groupId><artifactId>jasperreports</artifactId><version>6.16.0</version></dependency> <dependency><groupId>com.lowagie</groupId><artifactId>itext</artifactId><version>4.2.2</version></dependency>添加
<dependency><groupId>org.eclipse.birt.runtime.3_7_1</groupId><artifactId>com.lowagie.text</artifactId><version>2.1.7</version></dependency>后編譯正常,可以正常導出pdf
總結
以上是生活随笔為你收集整理的ClassNotFoundException: com.lowagie.text.pdf.PdfGState的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: MFC 直线 虚线 折线 圆 椭圆 矩形
- 下一篇: 电脑微信多开
