Sai,

You might be having the same problem I had a while ago with the asm
library. https://tickets.openmrs.org/browse/TRUNK-2469

First thing to do is to figure out from which module (or core element)
the conflicting jar come from (this could be the jasperreports itself or
the dependency for the jasperreports).

And you can either disable conflicting jar file or make your module
depend on that module (using IntelliJ you can see the maven dependency
tree).

-Win

On Wed, 2011-08-17 at 21:39 +0530, Sai Manohar 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 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