title: exception: java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfWriter.setRgbTransparencyBlending(Z)V
body: <p>guys! For long time I can't fix the exception: java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfWriter.setRgbTransparencyBlending(Z)V</p>
  
  <p>I've add all need jars into classpath:</p>
  
  <ul>
  <li>commons-beanutils-1.8.0</li>
  <li>commons-collections-2.1.1</li>
  <li>commons-digester-2.1.0</li>
  <li>commons-javaflow-20060411</li>
  <li>commons-logging-1.1.1</li>
  <li>itext - 2.1.5</li>
  <li>jasperreports - 5.1.0</li>
  </ul>
  
  <p>I saw requirements for JasperReports <a href="http://community.jaspersoft.com/wiki/jasperreports-library-requirements" rel="nofollow">here</a>, so I've all need libraries, but, anyway, I can't fix the bug</p>
  
  <p>My code:</p>
  
  <pre><code>    class ForIReport {
  
      public static void main(String[] args) {
  
  //        def conn = Sql.newInstance(
  //                "jdbc:sqlserver://localhost:1433;databaseName=twitter",
  //                'sa',
  //                'sunrise123',
  //                'com.microsoft.sqlserver.jdbc.SQLServerDriver')
  
  //        Class.forName("com.microsoft.jdbc.SQLServerDriver").newInstance();
  //        Connection conn = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433", 'sa', 'sunrise123');
  
          def fileName = "C:/Users/avalev/Documents/iReport/First.jasper"
  
          def outFileName = "First.pdf"
  
          HashMap hm = new HashMap()
  
          JasperPrint print = JasperFillManager.fillReport(fileName, hm, new JREmptyDataSource())
  
  
          JRExporter exporter = new JRPdfExporter()
  
          exporter.setParameter(
                  JRExporterParameter.OUTPUT_FILE_NAME,
                  outFileName);
  
          exporter.setParameter(JRExporterParameter.JASPER_PRINT, print)
  
          exporter.exportReport()
  
          println("Created file :" + outFileName)
  
      }
  
  }
  </code></pre>
  
  <p>and description of exception</p>
  
  <pre><code>log4j:WARN No appenders could be found for logger (net.sf.jasperreports.extensions.ExtensionsEnvironment).
  log4j:WARN Please initialize the log4j system properly.
  log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  Exception in thread "main" java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfWriter.setRgbTransparencyBlending(Z)V
      at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:596)
      at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:419)
      at net.sf.jasperreports.engine.JRExporter$exportReport.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
      at ForIReport.main(One.groovy:51)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
  </code></pre>
  
  <p>I can create the instance of PdfWriter class (for check myself)</p>
  
  <p>Thank you for your help</p>