← Back to team overview

dhis2-devs team mailing list archive

Re: (no subject)

 

HI Brajesh,

you must properly clean all target folders (mvn clean), this means you have
multiple versions of the dhis-support-external jar in your war.

Lars



On Fri, Aug 8, 2014 at 12:13 PM, Brajesh Murari <brijeshmurari@xxxxxxxxx>
wrote:

> Hello Devs,
>
> When i am trying to build DHIS2 version 14, I am facing some issues as
> described,
>
> [INFO] No Transaction manager found - if your webapp requires one, please
> configure one.
> [INFO] Initializing Spring root WebApplicationContext
> * WARN  2014-08-08 14:54:05,316 Configuration problem: Overriding globally
> registered AuthenticationManager
> Offending resource: URL
> [jar:file:/C:/Users/Brajesh/.m2/repository/org/hisp/dhis/dhis-web-commons/2.14/dhis-web-commons-2.14.jar!/META-INF/dhis/security.xml]
> (FailFastProblemReporter.java [main])
> * ERROR 2014-08-08 14:54:05,576 Context initialization failed
> (ContextLoader.java [main])
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Only one AsyncAnnotationBeanPostProcessor may exist
> within the context.
> Offending resource: URL
> [jar:file:/C:/Users/Brajesh/.m2/repository/org/hisp/dhis/dhis-support-external/2.14/dhis-support-external-2.14.jar!/META-INF/dhis/beans.xml]
>         at
> org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
>         at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
>         at
> org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:72)
>         at
> org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser.parse(AnnotationDrivenBeanDefinitionParser.java:90)
>
> Can i expect what's going wrong with dhis-web-commons-2.14.jar ! since few
> days before this was working as expected.
>
> --
> Regards
> Brajesh Murari
> Phone: (+91)-96-43-208375(O)
>        (+91)-99-53-787977(P)
>  P please consider the environment before printing this email
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

References