<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TechPitcher &#187; Jasper</title>
	<atom:link href="http://www.techpitcher.com/category/jasper/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techpitcher.com</link>
	<description></description>
	<lastBuildDate>Mon, 20 Dec 2010 10:28:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NoClassDefFoundError: com/lowagie/text/DocumentException</title>
		<link>http://www.techpitcher.com/noclassdeffounderror-comlowagietextdocumentexception.html</link>
		<comments>http://www.techpitcher.com/noclassdeffounderror-comlowagietextdocumentexception.html#comments</comments>
		<pubDate>Mon, 26 Oct 2009 17:37:52 +0000</pubDate>
		<dc:creator>Pal</dc:creator>
				<category><![CDATA[Jasper]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[jasper report]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=173</guid>
		<description><![CDATA[I am get following exception. 

Exception in thread &#34;main&#34; java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException at net.sf.jasperreports.engine.JasperExportManager.exportReportToPdf(JasperExportManager.java:183) at net.sf.jasperreports.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:305)  at Report.main(Report.java:45)

Help me asap.
]]></description>
			<content:encoded><![CDATA[<p>I am get following exception. </p>
<pre class="brush: xml;">
Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException at net.sf.jasperreports.engine.JasperExportManager.exportReportToPdf(JasperExportManager.java:183) at net.sf.jasperreports.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:305)  at Report.main(Report.java:45)
</pre>
<p>Help me asap.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/noclassdeffounderror-comlowagietextdocumentexception.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel /HSSFCellStyle</title>
		<link>http://www.techpitcher.com/nested-exception-is-javalangnoclassdeffounderror-orgapachepoihssfusermodel-hssfcellstyle-2.html</link>
		<comments>http://www.techpitcher.com/nested-exception-is-javalangnoclassdeffounderror-orgapachepoihssfusermodel-hssfcellstyle-2.html#comments</comments>
		<pubDate>Mon, 15 Dec 2008 03:47:05 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Jasper]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=97</guid>
		<description><![CDATA[I am getting following exception while exporting jasper report in xls format.

org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCellStyle
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:899)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:793)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)

]]></description>
			<content:encoded><![CDATA[<p>I am getting following exception while exporting jasper report in xls format.</p>
<pre class="brush: java;">
org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCellStyle
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:899)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:793)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/nested-exception-is-javalangnoclassdeffounderror-orgapachepoihssfusermodel-hssfcellstyle-2.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel /HSSFCellStyle</title>
		<link>http://www.techpitcher.com/nested-exception-is-javalangnoclassdeffounderror-orgapachepoihssfusermodel-hssfcellstyle.html</link>
		<comments>http://www.techpitcher.com/nested-exception-is-javalangnoclassdeffounderror-orgapachepoihssfusermodel-hssfcellstyle.html#comments</comments>
		<pubDate>Mon, 08 Dec 2008 16:12:11 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Jasper]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=95</guid>
		<description><![CDATA[I am getting following exception while exporting jasper report in xls format.

org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCellStyle
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:899)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:793)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)

]]></description>
			<content:encoded><![CDATA[<p>I am getting following exception while exporting jasper report in xls format.</p>
<pre class="brush: java;">
org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCellStyle
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:899)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:793)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/nested-exception-is-javalangnoclassdeffounderror-orgapachepoihssfusermodel-hssfcellstyle.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Generating jasper report in xls</title>
		<link>http://www.techpitcher.com/generating-jasper-report-in-xls.html</link>
		<comments>http://www.techpitcher.com/generating-jasper-report-in-xls.html#comments</comments>
		<pubDate>Fri, 07 Nov 2008 05:35:57 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Jasper]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=86</guid>
		<description><![CDATA[Below is the code for generating report in xls by using jasper framework.

List dataList = new ArrayList();
Map productMap = new HashMap();
productMap.put(&#34;product_id&#34;, &#34;1001&#34;);
productMap.put(&#34;product_name&#34;, &#34;Product 1&#34;);
dataList.add(productMap);
productMap = new HashMap();
productMap.put(&#34;product_id&#34;, &#34;1002&#34;);
productMap.put(&#34;product_name&#34;, &#34;Product 2&#34;);
dataList.add(productMap);
JRBeanCollectionDataSource jrBeanCollectionDataSource = new JRBeanCollectionDataSource(dataList);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,  new HashMap(), jrBeanCollectionDataSource);
OutputStream ouputStream = new FileOutputStream(new File(&#34;C:/JasperReports/prod_detail.xls&#34;));
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
JRXlsExporter exporterXLS = new JRXlsExporter();
exporterXLS.setParameter(JRXlsExporterParameter.JASPER_PRINT, jasperPrint);
exporterXLS.setParameter(JRXlsExporterParameter.OUTPUT_STREAM, [...]]]></description>
			<content:encoded><![CDATA[<p>Below is the code for generating report in xls by using jasper framework.</p>
<pre class="brush: java;">
List dataList = new ArrayList();
Map productMap = new HashMap();
productMap.put(&quot;product_id&quot;, &quot;1001&quot;);
productMap.put(&quot;product_name&quot;, &quot;Product 1&quot;);
dataList.add(productMap);
productMap = new HashMap();
productMap.put(&quot;product_id&quot;, &quot;1002&quot;);
productMap.put(&quot;product_name&quot;, &quot;Product 2&quot;);
dataList.add(productMap);
JRBeanCollectionDataSource jrBeanCollectionDataSource = new JRBeanCollectionDataSource(dataList);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,  new HashMap(), jrBeanCollectionDataSource);
OutputStream ouputStream = new FileOutputStream(new File(&quot;C:/JasperReports/prod_detail.xls&quot;));
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
JRXlsExporter exporterXLS = new JRXlsExporter();
exporterXLS.setParameter(JRXlsExporterParameter.JASPER_PRINT, jasperPrint);
exporterXLS.setParameter(JRXlsExporterParameter.OUTPUT_STREAM, byteArrayOutputStream);
ouputStream.write(byteArrayOutputStream.toByteArray());
ouputStream.flush();
ouputStream.close();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/generating-jasper-report-in-xls.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating report in java using jasper</title>
		<link>http://www.techpitcher.com/creating-report-in-java-using-jasper.html</link>
		<comments>http://www.techpitcher.com/creating-report-in-java-using-jasper.html#comments</comments>
		<pubDate>Mon, 20 Oct 2008 16:43:56 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Jasper]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=73</guid>
		<description><![CDATA[Here is the example code for creating standalone java application to generate jasper report.

List dataList = new ArrayList();
HashMap dataMap = new HashMap();
dataMap.put(&#34;name&#34;, &#34;ProductX&#34;);
dataMap.put(&#34;cost&#34;, 100.01);
dataList.add(dataMap);

dataMap = new HashMap();
dataMap.put(&#34;name&#34;, &#34;ProductY&#34;);
dataMap.put(&#34;cost&#34;, 23.00);
dataList.add(dataMap);

dataMap = new HashMap();
dataMap.put(&#34;name&#34;, &#34;ProductZ&#34;);
dataMap.put(&#34;cost&#34;, 99.89);
dataList.add(dataMap);

JasperDesign jasperDesign = getProductJasperDesign();
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
JRBeanCollectionDataSource jrBeanCollectionDataSource = new JRBeanCollectionDataSource(dataList);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), jrBeanCollectionDataSource);
JasperViewer.viewReport(jasperPrint);

Click here to download example file.
]]></description>
			<content:encoded><![CDATA[<p>Here is the example code for creating standalone java application to generate jasper report.</p>
<pre class="brush: java;">
List dataList = new ArrayList();
HashMap dataMap = new HashMap();
dataMap.put(&quot;name&quot;, &quot;ProductX&quot;);
dataMap.put(&quot;cost&quot;, 100.01);
dataList.add(dataMap);

dataMap = new HashMap();
dataMap.put(&quot;name&quot;, &quot;ProductY&quot;);
dataMap.put(&quot;cost&quot;, 23.00);
dataList.add(dataMap);

dataMap = new HashMap();
dataMap.put(&quot;name&quot;, &quot;ProductZ&quot;);
dataMap.put(&quot;cost&quot;, 99.89);
dataList.add(dataMap);

JasperDesign jasperDesign = getProductJasperDesign();
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
JRBeanCollectionDataSource jrBeanCollectionDataSource = new JRBeanCollectionDataSource(dataList);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), jrBeanCollectionDataSource);
JasperViewer.viewReport(jasperPrint);
</pre>
<p>Click <a href="http://techpitcher.com/download/ProductReport.java">here</a> to download example file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/creating-report-in-java-using-jasper.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

