473,750 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Integrating JASPER Reports to J2EE

20 New Member
Hi,

I am trying to invoke JASPER Reports designed using iReport 3.7.0.

JasperPrint jasperPrint = JasperFillManag er.fillReport(j asperReport, param, conn);

I am getting following error,
root cause

javax.servlet.S ervletException : org/apache/commons/collections/ReferenceMap

org.apache.jasp er.runtime.Page ContextImpl.doH andlePageExcept ion(PageContext Impl.java:858)
org.apache.jasp er.runtime.Page ContextImpl.han dlePageExceptio n(PageContextIm pl.java:791)
org.apache.jsp. index_jsp._jspS ervice(index_js p.java:117)
org.apache.jasp er.runtime.Http JspBase.service (HttpJspBase.ja va:97)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:802)
org.apache.jasp er.servlet.JspS ervletWrapper.s ervice(JspServl etWrapper.java: 332)
org.apache.jasp er.servlet.JspS ervlet.serviceJ spFile(JspServl et.java:314)
org.apache.jasp er.servlet.JspS ervlet.service( JspServlet.java :264)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:802)
org.netbeans.mo dules.web.monit or.server.Monit orFilter.doFilt er(MonitorFilte r.java:368)


root cause

java.lang.NoCla ssDefFoundError : org/apache/commons/collections
/ReferenceMap
net.sf.jasperre ports.extension s.DefaultExtens ionsRegistry.<i nit>(DefaultExt ensionsRegistry .java:93)
sun.reflect.Nat iveConstructorA ccessorImpl.new Instance0(Nativ e Method)
sun.reflect.Nat iveConstructorA ccessorImpl.new Instance(Native ConstructorAcce ssorImpl.java:3 9)
sun.reflect.Del egatingConstruc torAccessorImpl .newInstance(De legatingConstru ctorAccessorImp l.java:27)
java.lang.refle ct.Constructor. newInstance(Con structor.java:5 13)
java.lang.Class .newInstance0(C lass.java:355)
java.lang.Class .newInstance(Cl ass.java:308)
net.sf.jasperre ports.engine.ut il.ClassUtils.i nstantiateClass (ClassUtils.jav a:59)
net.sf.jasperre ports.extension s.ExtensionsEnv ironment.create DefaultRegistry (ExtensionsEnvi ronment.java:80 )
net.sf.jasperre ports.extension s.ExtensionsEnv ironment.<clini t>(ExtensionsEn vironment.java: 68)
net.sf.jasperre ports.engine.ut il.JRStyledText Parser.<clinit> (JRStyledTextPa rser.java:76)
net.sf.jasperre ports.engine.fi ll.JRBaseFiller .<init>(JRBaseF iller.java:174)
net.sf.jasperre ports.engine.fi ll.JRVerticalFi ller.<init>(JRV erticalFiller.j ava:74)
net.sf.jasperre ports.engine.fi ll.JRVerticalFi ller.<init>(JRV erticalFiller.j ava:56)
net.sf.jasperre ports.engine.fi ll.JRFiller.cre ateFiller(JRFil ler.java:143)
net.sf.jasperre ports.engine.fi ll.JRFiller.fil lReport(JRFille r.java:53)
net.sf.jasperre ports.engine.Ja sperFillManager .fillReport(Jas perFillManager. java:417)
avayaLibrary.AV AYADBConnection .playAround(AVA YADBConnection. java:59)
org.apache.jsp. index_jsp._jspS ervice(index_js p.java:79)
org.apache.jasp er.runtime.Http JspBase.service (HttpJspBase.ja va:97)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:802)
org.apache.jasp er.servlet.JspS ervletWrapper.s ervice(JspServl etWrapper.java: 332)
org.apache.jasp er.servlet.JspS ervlet.serviceJ spFile(JspServl et.java:314)
org.apache.jasp er.servlet.JspS ervlet.service( JspServlet.java :264)
javax.servlet.h ttp.HttpServlet .service(HttpSe rvlet.java:802)
org.netbeans.mo dules.web.monit or.server.Monit orFilter.doFilt er(MonitorFilte r.java:368)
Jan 6 '10 #1
0 3407

Sign in to post your reply or Sign up for a free account.

Similar topics

5
28003
by: Grant Collins | last post by:
Hi I am writing a web based application as part of a small project that I am undertaking using servlets beans and jsp. I already have one servlet - bean - jsp page working and I have written another servlet - bean - jsp but I am hitting an error from tomcat that I have no idea why it is failing. I am getting an org.apache.jasper.JasperException: with the root cause being java.lang.ClassNotFoundException:
0
1870
by: Al | last post by:
I would like to add SIP stack to J2EE application server. I know that JCA 1.5 allows doing such thing. But JCA 1.5 is part of J2EE 1.4. Currently the most J2EE vendors support J2EE 1.3. Can anybody share experience of integrating a new protocol stack into any J2EE application server?
0
1535
by: Jakke | last post by:
Hi all, I don't know if I'm at right newsgroup but I've got some questions about integrating Crystal Reports into my own application. I'm totally new regarding Crystal Reports. Therefore I've got some questions: 1/ Is it possible to integrate an end-user reportbuilder using crystal reports?Is it possible with the components and controls that are integrated with Visual Studio 2003?
0
1563
by: batok | last post by:
Has anybody tried jasper reports ( java ) from python using jpype module ? It would be great to see an example of this. I've tried so many times with jpype but can't make this work out. Any hint would be appreciated. Tks.
3
19789
by: Lord0 | last post by:
Hi there, First of all I apologise for being a PHP noob. Is there a PHP equivalent of Java's Jasper Reports? http://jasperforge.org/sf/projects/jasperreports Basically Jasper is a bunch of libraries which allow you to create reports, in various formats:
1
4995
by: gsuns82 | last post by:
Hi all, I am new to Jasper reports concept,pls let me the following things. 1.Get me an url where i can download a sample application for jasper reporting. 2. I cant able to get samples from" http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-opensourceprofile.html" too. 3.Just give me a sample code for jasper reporting....so that i can customize it for my jsf application....
2
13298
by: bjverni | last post by:
Hi, I am calling a stored procedure in my Jasper Reports, but it is giving me an error. Would it possible to execute stored procedures in the field wizard when you create the Jasper Report using the Jasper Assistant in Eclipse? My code is exec sp_ACCUM_MILEAGE_REPORT $P({veh_no} , $P {veh_no_rebuild_id} , $P { from_date } , $P { to_date } Thanks in advance
2
5949
by: mkotula | last post by:
Hi, Brand new to jasper and IReport with Oracle. Was able to load and connect IReport to Oracle DB and created my first reports. Unable to connect Jasper to the DB nor import my IReport created reports. Jasper and IReport running on Windows, Oracle on a different UNIX server.
0
2565
by: Sundhas | last post by:
Hey, i want to Use Dynamic japser to create reports of my database i.e MYSQL. Plus, i want to know that can i send attirbutes to dynamic jasper which a user is going to select from the front end based on XHTML MP and then i want dyanamic jasper to make report on the selected attributs. P.s I m sending selected attributes through servlet to Dynamic Jasper Thanks sundhas
0
8833
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9568
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9389
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8257
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6801
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6079
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2218
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.