Skip to Content
0
Former Member
Nov 30, 2011 at 04:17 PM

Problem Web Dynpro Java applications using JasperReports

54 Views

Hello all,

We have followed the footsteps of these blogs but we can not make it work.

Part I --> Part-I: Print Web Dynpro Java applications using JasperReports

Part II --> Part-II: Print Web Dynpro Java applications using JasperReports

Part III --> Part-III: Print Web Dynpro Java applications using JasperReports

Details system: 7.02 SP3

We believe that the problem is in the library, because it finds them.

1) We created project as a DC external library with *.jars

2) Public part DC external library.

3) Add public part of DC Library into new project DC WebDynpro Java.

4) Development Component -> Build is OK

5) Development Component -> Deploy is OK

6) Test app ERROR.

When we run the application shows the error:

The initial exception that caused the request to fail, was:

   java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource 

    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at com.unisys.tmb.View01.onActiongenerarPDF(View01.java:161)
    at com.unisys.tmb.wdp.InternalView01.wdInvokeEventHandler(InternalView01.java:140)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    ... 28 more


See full exception chain for details. 

Regards,

Luis.