Login  Register

Re: Users - JRDataSource NoClassDefFoundError

Posted by Hans Bakker on Feb 05, 2006; 1:43am
URL: http://ofbiz.116.s1.nabble.com/Users-JRDataSource-NoClassDefFoundError-tp137260p137261.html

If you disable the following lines in the controller.xml for that application,
should fix it::

    <!--handler name="datavision" type="view"
class="org.ofbiz.webapp.view.DataVisionViewHandler"/>
    <handler name="jasperreportspdf" type="view"
class="org.ofbiz.webapp.view.JasperReportsPdfViewHandler"/>
    <handler name="jasperreportsxml" type="view"
class="org.ofbiz.webapp.view.JasperReportsXmlViewHandler"/-->

--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

On Sunday 05 February 2006 07:41, Blessing, Jeffrey J wrote:

> On a recent update from the svn repository I was surprised to find that
> ofbiz (which had been working fine) now throws a NoClassDefFoundError on
> JRDataSource.  I've read through the OPTIONAL_LIBRARIES file that was added
> to the release and followed its instructions to comment out the <exclude>
> tags in 2 build.xml files (one in framework/webapp and the other in
> applications/content) and STILL it throws the same error!  (the server is
> started with 'ant run' and the webtools app throws the exception).
>
> BTW, why exclude something from the build when there are obviously
> dependencies on it elsewhere in the system?
> ________________________________
>
> From: [hidden email] [mailto:[hidden email]]
> Sent: Thu 2/2/2006 11:56 AM
> To: Blessing, Jeffrey J
> Subject: Request to mailing list Users rejected
>
>
>
> Your request to the Users mailing list
>
>     Posting of your message titled "JRDataSource error (JasperReports)
> prevents ofbiz server from running"
>
> has been rejected by the list moderator.  The moderator gave the
> following reason for rejecting your request:
>
> "Non-members are not allowed to post messages to this list. To
> subscribe and for more information please see: http://lists.ofbiz.org.
> BTW, you might find some helpful information in the new
> OPTIONAL_LIBRARIES file. This is a good question for the lists though.
> It has been brought up a couple of times, but a more direct anwer
> might be helpful to some. -David"
>
> Any questions or comments should be directed to the list administrator
> at:
>
>     [hidden email]

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

attachment0 (196 bytes) Download Attachment