Okay,I got it working,i worry big time before looking into things.Thanks for the help.
Sai Manohar. On Wed, Aug 17, 2011 at 11:16 PM, Sai Manohar <[email protected]>wrote: > Oh,I think i have to look for compile+runtime not test,right! > > > On Wed, Aug 17, 2011 at 11:07 PM, Sai Manohar <[email protected]>wrote: > >> Well,I am new to maven,but as i see it under the dependency hierarchy tab >> of the pom.xml,its empty when i dont add the jasper jar.when i added it >> looks as i have attached. >> >> Thanks, >> Sai Manohar. >> >> >> On Wed, Aug 17, 2011 at 10:53 PM, Darius Jazayeri < >> [email protected]> wrote: >> >>> You can also see the dependency tree in eclipse with m2eclipse. :-) >>> >>> -Darius >>> >>> >>> On Wed, Aug 17, 2011 at 9:47 AM, 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]

