Use Eclipse or IntelliJ's dependency tree tool to see what versions of xerces/xercesImpl your module is importing.
-Darius On Wed, Aug 17, 2011 at 10:21 AM, Sai Manohar <[email protected]>wrote: > Darius,sorry about that another thread.I am not using the jasper reports > module.I am trying to the add the jasperreports-4.0.1.jar to my module.I > dont have any other jars other than those included by default in the maven > dependencies. > > Nyoman,the module doesnt depend on any other module.I think it is > conflicting with the core.How do we find out which jar is conflicting and > disable it? > > Thanks, > Sai Manohar. > > > On Wed, Aug 17, 2011 at 10:17 PM, Nyoman Ribeka <[email protected]>wrote: > >> 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] >> > > ------------------------------ > 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]

