If you're re-raising an issue that you've already brought up on the list,
please reply to that existing thread so that we can easily see the context.

So, in the pastebin of your previous email, the root cause of the exception
is:
java.lang.ClassCastException:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to
javax.xml.parsers.DocumentBuilderFactory

I assume this means that either your module of the Jasper reports module is
including a version of the xerces jar that is incompatible with the version
of xerces in core. (In trunk I see xercesImpl-2.8.0.jar, though I don't know
what's in 1.7.x. Also, looking in the lib folder in the jasperreports
module, I don't see xerces, so perhaps it's from your module?)

It just occurred to me to ask: are you using the jasperreports module, or
including Jasper yourself?

-Darius

On Wed, Aug 17, 2011 at 9:09 AM, Sai Manohar <[email protected]>wrote:

> Hi,
>
> I am re-posting the problem of Module upload here,now that i found the
> cause for the problem.
>
> Can anybody try adding a jasperreports-4.0.1.jar (groupId -
> net.sf.jasperreports) to a new maven module (may be basic module) and try if
> the module gets uploaded.
>
> Looks like there is a problem if you add the dependency in "compile"
> scope,I think its having a conflict and hence not getting uploaded.The
> module was getting uploaded fine when the scope is "provided" but since the
> jar is not provided anywhere it fails at runtime,throws a
> NoClassDefFoundError.
>
> I am unable to find a solution for this.Any help greatly appreciated.
>
> Thank you,
> Sai Manohar.
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to