[Bug 1623966] [NEW] Build-Error

Public bug reported:

When i am trying to run the dhis2.24 war file using jetty plugin, it
comes with following info trace but in every subsequent try, it appears
as the same error info trace as given below. Can anybody help me whats
going wrong in this trace...?

$ mvn clean -Dmaven.test.skip=true install jetty:run
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; su
pport was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS Web Portal 2.24
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dhis-web-portal ---
[INFO] Deleting D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ dhis-web-p
ortal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ dhis-web-port
al ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ dh
is-web-portal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-web\dhis-w
eb-portal\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ dhis-
web-portal ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ dhis-web-portal --

···

-
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ dhis-web-portal ---
[INFO] Packaging webapp
[INFO] Assembling webapp [dhis-web-portal] in [D:\source\2.24\dhis-2\dhis-web\dh
is-web-portal\target\dhis]
[INFO] Processing war project
[INFO] Copying webapp resources [D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\
src\main\webapp]
[INFO] Building jar: D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\dhis\
WEB-INF\lib\dhis-web-portal-2.24.jar
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-commons-resources]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-ohie]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-uaa]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-sms]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-dataset]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-user]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-dataadmin]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-program]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-mobile]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-importexport]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-validationrule]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dataentry]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dashboard-integration]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-light]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-mobile]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-reporting]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-apps]
[INFO] Webapp assembled in [275224 msecs]
[INFO] Building war: D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\dhis.
war
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ dhis-web-portal
---
[INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\dhis.war
to C:\Users\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-web-portal\2.24\dhis-w
eb-portal-2.24.war
[INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\pom.xml to C:\U
sers\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-web-portal\2.24\dhis-web-porta
l-2.24.pom
[INFO]
[INFO] >>> jetty-maven-plugin:9.3.8.v20160314:run (default-cli) > test-compile @
dhis-web-portal >>>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ dhis-web-p
ortal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ dhis-web-port
al ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ dh
is-web-portal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-web\dhis-w
eb-portal\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ dhis-
web-portal ---
[INFO] Not compiling test sources
[INFO]
[INFO] <<< jetty-maven-plugin:9.3.8.v20160314:run (default-cli) < test-compile @
dhis-web-portal <<<
[INFO]
[INFO] --- jetty-maven-plugin:9.3.8.v20160314:run (default-cli) @ dhis-web-porta
l ---
[INFO] Logging initialized @317284ms
[INFO] Configuring Jetty for project: DHIS Web Portal
[INFO] webAppSourceDirectory not set. Trying src\main\webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\classes
[INFO] Context path = /
[INFO] Tmp directory = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\tmp

[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-commons-resources:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-ohie:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-uaa:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-sms:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-dataset:war:2.2
4
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-user:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-dataadmin:war:2
.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-program:war:2.2
4
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-mobile:war:2.24

[INFO] Dependent war artifact org.hisp.dhis:dhis-web-importexport:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-validationrule:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-dataentry:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-dashboard-integration:war:2
.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-light:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-mobile:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-reporting:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-apps:war:2.24
[INFO] web.xml file = file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src
/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\src\mai
n\webapp
[INFO] jetty-9.3.8.v20160314
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@5c3d4f05{/,[fil
e:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src/main/webapp/, file:///D:
/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-commons-resourc
es-2_24_war1/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp
/dhis-web-ohie-2_24_war2/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-porta
l/target/tmp/dhis-web-uaa-2_24_war3/, file:///D:/source/2.24/dhis-2/dhis-web/dhi
s-web-portal/target/tmp/dhis-web-sms-2_24_war4/, file:///D:/source/2.24/dhis-2/d
his-web/dhis-web-portal/target/tmp/dhis-web-maintenance-dataset-2_24_war5/, file
:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-maintenan
ce-user-2_24_war6/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/targe
t/tmp/dhis-web-maintenance-dataadmin-2_24_war7/, file:///D:/source/2.24/dhis-2/d
his-web/dhis-web-portal/target/tmp/dhis-web-maintenance-program-2_24_war8/, file
:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-maintenan
ce-mobile-2_24_war9/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/tar
get/tmp/dhis-web-importexport-2_24_war10/, file:///D:/source/2.24/dhis-2/dhis-we
b/dhis-web-portal/target/tmp/dhis-web-validationrule-2_24_war11/, file:///D:/sou
rce/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-dataentry-2_24_war1
2/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-d
ashboard-integration-2_24_war13/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-we
b-portal/target/tmp/dhis-web-light-2_24_war14/, file:///D:/source/2.24/dhis-2/dh
is-web/dhis-web-portal/target/tmp/dhis-web-mobile-2_24_war15/, file:///D:/source
/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-reporting-2_24_war16/,
file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-apps
-2_24_war17/],null}{file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src/m
ain/webapp/}
java.lang.IllegalStateException: Duplicate fragment name: spring_web for jar:fil
e:///C:/Users/SDRC_DEV25/.m2/repository/org/springframework/spring-web/4.2.5.REL
EASE/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml and jar:file:///D:/
source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-ohie-2_24_war2/W
EB-INF/lib/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml
        at org.eclipse.jetty.webapp.MetaData.addFragment(MetaData.java:279)
        at org.eclipse.jetty.webapp.FragmentConfiguration.findWebFragments(Fragm
entConfiguration.java:75)
        at org.eclipse.jetty.webapp.FragmentConfiguration.preConfigure(FragmentC
onfiguration.java:42)
        at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.jav
a:480)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:516
)
        at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebApp
Context.java:398)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLi
feCycle.java:132)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Container
LifeCycle.java:114)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
ler.java:61)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(Con
textHandlerCollection.java:161)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLi
feCycle.java:132)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Container
LifeCycle.java:114)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
ler.java:61)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLi
feCycle.java:132)
        at org.eclipse.jetty.server.Server.start(Server.java:405)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Container
LifeCycle.java:106)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
ler.java:61)
        at org.eclipse.jetty.server.Server.doStart(Server.java:372)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:68)
        at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJ
ettyMojo.java:460)
        at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJett
yMojo.java:328)
        at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java
:170)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:207)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
356)
[INFO] Started ServerConnector@315ab013{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @542039ms
[INFO] Started Jetty Server

** Affects: dhis2
     Importance: Undecided
         Status: New

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1623966

Title:
  Build-Error

Status in DHIS:
  New

Bug description:
  When i am trying to run the dhis2.24 war file using jetty plugin, it
  comes with following info trace but in every subsequent try, it
  appears as the same error info trace as given below. Can anybody help
  me whats going wrong in this trace...?

  $ mvn clean -Dmaven.test.skip=true install jetty:run
  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; su
  pport was removed in 8.0
  [INFO] Scanning for projects...
  [INFO]
  [INFO] ------------------------------------------------------------------------
  [INFO] Building DHIS Web Portal 2.24
  [INFO] ------------------------------------------------------------------------
  [INFO]
  [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dhis-web-portal ---
  [INFO] Deleting D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ dhis-web-p
  ortal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 2 resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ dhis-web-port
  al ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ dh
  is-web-portal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-web\dhis-w
  eb-portal\src\test\resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ dhis-
  web-portal ---
  [INFO] Not compiling test sources
  [INFO]
  [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ dhis-web-portal --
  -
  [INFO] Tests are skipped.
  [INFO]
  [INFO] --- maven-war-plugin:2.4:war (default-war) @ dhis-web-portal ---
  [INFO] Packaging webapp
  [INFO] Assembling webapp [dhis-web-portal] in [D:\source\2.24\dhis-2\dhis-web\dh
  is-web-portal\target\dhis]
  [INFO] Processing war project
  [INFO] Copying webapp resources [D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\
  src\main\webapp]
  [INFO] Building jar: D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\dhis\
  WEB-INF\lib\dhis-web-portal-2.24.jar
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-commons-resources]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-ohie]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-uaa]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-sms]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-dataset]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-user]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-dataadmin]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-program]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-mobile]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-importexport]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-validationrule]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dataentry]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dashboard-integration]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-light]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-mobile]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-reporting]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-apps]
  [INFO] Webapp assembled in [275224 msecs]
  [INFO] Building war: D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\dhis.
  war
  [INFO]
  [INFO] --- maven-install-plugin:2.4:install (default-install) @ dhis-web-portal
  ---
  [INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\dhis.war
   to C:\Users\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-web-portal\2.24\dhis-w
  eb-portal-2.24.war
  [INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\pom.xml to C:\U
  sers\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-web-portal\2.24\dhis-web-porta
  l-2.24.pom
  [INFO]
  [INFO] >>> jetty-maven-plugin:9.3.8.v20160314:run (default-cli) > test-compile @
   dhis-web-portal >>>
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ dhis-web-p
  ortal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 2 resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ dhis-web-port
  al ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ dh
  is-web-portal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-web\dhis-w
  eb-portal\src\test\resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ dhis-
  web-portal ---
  [INFO] Not compiling test sources
  [INFO]
  [INFO] <<< jetty-maven-plugin:9.3.8.v20160314:run (default-cli) < test-compile @
   dhis-web-portal <<<
  [INFO]
  [INFO] --- jetty-maven-plugin:9.3.8.v20160314:run (default-cli) @ dhis-web-porta
  l ---
  [INFO] Logging initialized @317284ms
  [INFO] Configuring Jetty for project: DHIS Web Portal
  [INFO] webAppSourceDirectory not set. Trying src\main\webapp
  [INFO] Reload Mechanic: automatic
  [INFO] Classes = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\classes
  [INFO] Context path = /
  [INFO] Tmp directory = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\tmp

  [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
  [INFO] Web overrides = none
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-commons-resources:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-ohie:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-uaa:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-sms:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-dataset:war:2.2
  4
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-user:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-dataadmin:war:2
  .24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-program:war:2.2
  4
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-mobile:war:2.24

  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-importexport:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-validationrule:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-dataentry:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-dashboard-integration:war:2
  .24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-light:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-mobile:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-reporting:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-apps:war:2.24
  [INFO] web.xml file = file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src
  /main/webapp/WEB-INF/web.xml
  [INFO] Webapp directory = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\src\mai
  n\webapp
  [INFO] jetty-9.3.8.v20160314
  [WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@5c3d4f05{/,[fil
  e:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src/main/webapp/, file:///D:
  /source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-commons-resourc
  es-2_24_war1/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp
  /dhis-web-ohie-2_24_war2/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-porta
  l/target/tmp/dhis-web-uaa-2_24_war3/, file:///D:/source/2.24/dhis-2/dhis-web/dhi
  s-web-portal/target/tmp/dhis-web-sms-2_24_war4/, file:///D:/source/2.24/dhis-2/d
  his-web/dhis-web-portal/target/tmp/dhis-web-maintenance-dataset-2_24_war5/, file
  :///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-maintenan
  ce-user-2_24_war6/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/targe
  t/tmp/dhis-web-maintenance-dataadmin-2_24_war7/, file:///D:/source/2.24/dhis-2/d
  his-web/dhis-web-portal/target/tmp/dhis-web-maintenance-program-2_24_war8/, file
  :///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-maintenan
  ce-mobile-2_24_war9/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/tar
  get/tmp/dhis-web-importexport-2_24_war10/, file:///D:/source/2.24/dhis-2/dhis-we
  b/dhis-web-portal/target/tmp/dhis-web-validationrule-2_24_war11/, file:///D:/sou
  rce/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-dataentry-2_24_war1
  2/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-d
  ashboard-integration-2_24_war13/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-we
  b-portal/target/tmp/dhis-web-light-2_24_war14/, file:///D:/source/2.24/dhis-2/dh
  is-web/dhis-web-portal/target/tmp/dhis-web-mobile-2_24_war15/, file:///D:/source
  /2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-reporting-2_24_war16/,
   file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-apps
  -2_24_war17/],null}{file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src/m
  ain/webapp/}
  java.lang.IllegalStateException: Duplicate fragment name: spring_web for jar:fil
  e:///C:/Users/SDRC_DEV25/.m2/repository/org/springframework/spring-web/4.2.5.REL
  EASE/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml and jar:file:///D:/
  source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-ohie-2_24_war2/W
  EB-INF/lib/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml
          at org.eclipse.jetty.webapp.MetaData.addFragment(MetaData.java:279)
          at org.eclipse.jetty.webapp.FragmentConfiguration.findWebFragments(Fragm
  entConfiguration.java:75)
          at org.eclipse.jetty.webapp.FragmentConfiguration.preConfigure(FragmentC
  onfiguration.java:42)
          at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.jav
  a:480)
          at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:516
  )
          at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebApp
  Context.java:398)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLi
  feCycle.java:132)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Container
  LifeCycle.java:114)
          at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
  ler.java:61)
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(Con
  textHandlerCollection.java:161)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLi
  feCycle.java:132)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Container
  LifeCycle.java:114)
          at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
  ler.java:61)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLi
  feCycle.java:132)
          at org.eclipse.jetty.server.Server.start(Server.java:405)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Container
  LifeCycle.java:106)
          at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
  ler.java:61)
          at org.eclipse.jetty.server.Server.doStart(Server.java:372)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJ
  ettyMojo.java:460)
          at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJett
  yMojo.java:328)
          at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java
  :170)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
  BuildPluginManager.java:134)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
  .java:207)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
  .java:153)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
  .java:145)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
  ct(LifecycleModuleBuilder.java:116)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
  ct(LifecycleModuleBuilder.java:80)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
  adedBuilder.build(SingleThreadedBuilder.java:51)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
  eStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  sorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
  cher.java:289)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
  a:229)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
  uncher.java:415)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
  356)
  [INFO] Started ServerConnector@315ab013{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
  [INFO] Started @542039ms
  [INFO] Started Jetty Server

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1623966/+subscriptions

Do jetty:run-war when you run the dhis-web-portal project.

Not a bug. Closed.

···

On Thu, Sep 15, 2016 at 4:22 PM, Brajesh Murari <1623966@bugs.launchpad.net> wrote:

Public bug reported:

When i am trying to run the dhis2.24 war file using jetty plugin, it
comes with following info trace but in every subsequent try, it appears
as the same error info trace as given below. Can anybody help me whats
going wrong in this trace...?

$ mvn clean -Dmaven.test.skip=true install jetty:run
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=1024m; su
pport was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------
------------
[INFO] Building DHIS Web Portal 2.24
[INFO] ------------------------------------------------------------
------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dhis-web-portal
---
[INFO] Deleting D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
dhis-web-p
ortal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
dhis-web-port
al ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources
(default-testResources) @ dh
is-web-portal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-
web\dhis-w
eb-portal\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
@ dhis-
web-portal ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @
dhis-web-portal --
-
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-war-plugin:2.4:war (default-war) @ dhis-web-portal ---
[INFO] Packaging webapp
[INFO] Assembling webapp [dhis-web-portal] in [D:\source\2.24\dhis-2\dhis-
web\dh
is-web-portal\target\dhis]
[INFO] Processing war project
[INFO] Copying webapp resources [D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\
src\main\webapp]
[INFO] Building jar: D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\target\dhis\
WEB-INF\lib\dhis-web-portal-2.24.jar
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-commons-resources]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-ohie]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-uaa]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-sms]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-dataset]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-user]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-
maintenance-dataadmin]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-program]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-mobile]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-importexport]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-validationrule]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dataentry]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-
dashboard-integration]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-light]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-mobile]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-reporting]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-apps]
[INFO] Webapp assembled in [275224 msecs]
[INFO] Building war: D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\target\dhis.
war
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @
dhis-web-portal
---
[INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\
dhis.war
to C:\Users\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-
web-portal\2.24\dhis-w
eb-portal-2.24.war
[INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\pom.xml
to C:\U
sers\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-
web-portal\2.24\dhis-web-porta
l-2.24.pom
[INFO]
[INFO] >>> jetty-maven-plugin:9.3.8.v20160314:run (default-cli) >
test-compile @
dhis-web-portal >>>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
dhis-web-p
ortal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
dhis-web-port
al ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources
(default-testResources) @ dh
is-web-portal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-
web\dhis-w
eb-portal\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
@ dhis-
web-portal ---
[INFO] Not compiling test sources
[INFO]
[INFO] <<< jetty-maven-plugin:9.3.8.v20160314:run (default-cli) <
test-compile @
dhis-web-portal <<<
[INFO]
[INFO] --- jetty-maven-plugin:9.3.8.v20160314:run (default-cli) @
dhis-web-porta
l ---
[INFO] Logging initialized @317284ms
[INFO] Configuring Jetty for project: DHIS Web Portal
[INFO] webAppSourceDirectory not set. Trying src\main\webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\
classes
[INFO] Context path = /
[INFO] Tmp directory = D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\target\tmp

[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-
commons-resources:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-ohie:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-uaa:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-sms:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-dataset:war:2.2
4
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-user:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-dataadmin:war:2
.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-program:war:2.2
4
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-mobile:war:2.24

[INFO] Dependent war artifact org.hisp.dhis:dhis-web-importexport:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-
validationrule:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-dataentry:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-
dashboard-integration:war:2
.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-light:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-mobile:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-reporting:war:2.24
[INFO] Dependent war artifact org.hisp.dhis:dhis-web-apps:war:2.24
[INFO] web.xml file = file:///D:/source/2.24/dhis-2/
dhis-web/dhis-web-portal/src
/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\src\mai
n\webapp
[INFO] jetty-9.3.8.v20160314
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@
5c3d4f05{/,[fil
e:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src/main/webapp/,
file:///D:
/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/
dhis-web-commons-resourc
es-2_24_war1/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp
/dhis-web-ohie-2_24_war2/, file:///D:/source/2.24/dhis-2/
dhis-web/dhis-web-porta
l/target/tmp/dhis-web-uaa-2_24_war3/, file:///D:/source/2.24/dhis-2/
dhis-web/dhi
s-web-portal/target/tmp/dhis-web-sms-2_24_war4/,
file:///D:/source/2.24/dhis-2/d
his-web/dhis-web-portal/target/tmp/dhis-web-maintenance-dataset-2_24_war5/,
file
:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp/dhis-web-maintenan
ce-user-2_24_war6/, file:///D:/source/2.24/dhis-2/
dhis-web/dhis-web-portal/targe
t/tmp/dhis-web-maintenance-dataadmin-2_24_war7/,
file:///D:/source/2.24/dhis-2/d
his-web/dhis-web-portal/target/tmp/dhis-web-maintenance-program-2_24_war8/,
file
:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp/dhis-web-maintenan
ce-mobile-2_24_war9/, file:///D:/source/2.24/dhis-2/
dhis-web/dhis-web-portal/tar
get/tmp/dhis-web-importexport-2_24_war10/, file:///D:/source/2.24/dhis-2/
dhis-we
b/dhis-web-portal/target/tmp/dhis-web-validationrule-2_24_war11/,
file:///D:/sou
rce/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-
web-dataentry-2_24_war1
2/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp/dhis-web-d
ashboard-integration-2_24_war13/, file:///D:/source/2.24/dhis-2/
dhis-web/dhis-we
b-portal/target/tmp/dhis-web-light-2_24_war14/,
file:///D:/source/2.24/dhis-2/dh
is-web/dhis-web-portal/target/tmp/dhis-web-mobile-2_24_war15/,
file:///D:/source
/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-
web-reporting-2_24_war16/,
file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp/dhis-web-apps
-2_24_war17/],null}{file:///D:/source/2.24/dhis-2/dhis-web/
dhis-web-portal/src/m
ain/webapp/}
java.lang.IllegalStateException: Duplicate fragment name: spring_web for
jar:fil
e:///C:/Users/SDRC_DEV25/.m2/repository/org/springframework/spring-web/4.
2.5.REL
EASE/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml and
jar:file:///D:/
source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/
dhis-web-ohie-2_24_war2/W
EB-INF/lib/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml
        at org.eclipse.jetty.webapp.MetaData.addFragment(MetaData.
java:279)
        at org.eclipse.jetty.webapp.FragmentConfiguration.
findWebFragments(Fragm
entConfiguration.java:75)
        at org.eclipse.jetty.webapp.FragmentConfiguration.
preConfigure(FragmentC
onfiguration.java:42)
        at org.eclipse.jetty.webapp.WebAppContext.preConfigure(
WebAppContext.jav
a:480)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(
WebAppContext.java:516
)
        at org.eclipse.jetty.maven.plugin.JettyWebAppContext.
doStart(JettyWebApp
Context.java:398)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.
start(AbstractLife
Cycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.
start(ContainerLi
feCycle.java:132)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.
doStart(Container
LifeCycle.java:114)
        at org.eclipse.jetty.server.handler.AbstractHandler.
doStart(AbstractHand
ler.java:61)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.
doStart(Con
textHandlerCollection.java:161)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.
start(AbstractLife
Cycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.
start(ContainerLi
feCycle.java:132)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.
doStart(Container
LifeCycle.java:114)
        at org.eclipse.jetty.server.handler.AbstractHandler.
doStart(AbstractHand
ler.java:61)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.
start(AbstractLife
Cycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.
start(ContainerLi
feCycle.java:132)
        at org.eclipse.jetty.server.Server.start(Server.java:405)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.
doStart(Container
LifeCycle.java:106)
        at org.eclipse.jetty.server.handler.AbstractHandler.
doStart(AbstractHand
ler.java:61)
        at org.eclipse.jetty.server.Server.doStart(Server.java:372)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.
start(AbstractLife
Cycle.java:68)
        at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.
startJetty(AbstractJ
ettyMojo.java:460)
        at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.
execute(AbstractJett
yMojo.java:328)
        at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(
JettyRunMojo.java
:170)
        at org.apache.maven.plugin.DefaultBuildPluginManager.
executeMojo(Default
BuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
MojoExecutor
.java:207)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
MojoExecutor
.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
MojoExecutor
.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
buildProje
ct(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
buildProje
ct(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.
singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.
execute(Lifecycl
eStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.
java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.
invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.plexus.classworlds.launcher.Launcher.
launchEnhanced(Laun
cher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.
launch(Launcher.jav
a:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.
mainWithExitCode(La
uncher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.
main(Launcher.java:
356)
[INFO] Started ServerConnector@315ab013{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @542039ms
[INFO] Started Jetty Server

** Affects: dhis2
     Importance: Undecided
         Status: New

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1623966

Title:
  Build-Error

Status in DHIS:
  New

Bug description:
  When i am trying to run the dhis2.24 war file using jetty plugin, it
  comes with following info trace but in every subsequent try, it
  appears as the same error info trace as given below. Can anybody help
  me whats going wrong in this trace...?

  $ mvn clean -Dmaven.test.skip=true install jetty:run
  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=1024m; su
  pport was removed in 8.0
  [INFO] Scanning for projects...
  [INFO]
  [INFO] ------------------------------------------------------------
------------
  [INFO] Building DHIS Web Portal 2.24
  [INFO] ------------------------------------------------------------
------------
  [INFO]
  [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
dhis-web-portal ---
  [INFO] Deleting D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
dhis-web-p
  ortal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 2 resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
dhis-web-port
  al ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:testResources
(default-testResources) @ dh
  is-web-portal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-
web\dhis-w
  eb-portal\src\test\resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) @ dhis-
  web-portal ---
  [INFO] Not compiling test sources
  [INFO]
  [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @
dhis-web-portal --
  -
  [INFO] Tests are skipped.
  [INFO]
  [INFO] --- maven-war-plugin:2.4:war (default-war) @ dhis-web-portal ---
  [INFO] Packaging webapp
  [INFO] Assembling webapp [dhis-web-portal] in
[D:\source\2.24\dhis-2\dhis-web\dh
  is-web-portal\target\dhis]
  [INFO] Processing war project
  [INFO] Copying webapp resources [D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\
  src\main\webapp]
  [INFO] Building jar: D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\target\dhis\
  WEB-INF\lib\dhis-web-portal-2.24.jar
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-commons-resources]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-ohie]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-uaa]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-sms]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-
maintenance-dataset]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-user]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-
maintenance-dataadmin]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-
maintenance-program]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-
maintenance-mobile]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-importexport]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-validationrule]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dataentry]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-
dashboard-integration]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-light]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-mobile]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-reporting]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-apps]
  [INFO] Webapp assembled in [275224 msecs]
  [INFO] Building war: D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\target\dhis.
  war
  [INFO]
  [INFO] --- maven-install-plugin:2.4:install (default-install) @
dhis-web-portal
  ---
  [INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\
dhis.war
   to C:\Users\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-
web-portal\2.24\dhis-w
  eb-portal-2.24.war
  [INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\pom.xml
to C:\U
  sers\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-
web-portal\2.24\dhis-web-porta
  l-2.24.pom
  [INFO]
  [INFO] >>> jetty-maven-plugin:9.3.8.v20160314:run (default-cli) >
test-compile @
   dhis-web-portal >>>
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
dhis-web-p
  ortal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 2 resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
dhis-web-port
  al ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:testResources
(default-testResources) @ dh
  is-web-portal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-
web\dhis-w
  eb-portal\src\test\resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) @ dhis-
  web-portal ---
  [INFO] Not compiling test sources
  [INFO]
  [INFO] <<< jetty-maven-plugin:9.3.8.v20160314:run (default-cli) <
test-compile @
   dhis-web-portal <<<
  [INFO]
  [INFO] --- jetty-maven-plugin:9.3.8.v20160314:run (default-cli) @
dhis-web-porta
  l ---
  [INFO] Logging initialized @317284ms
  [INFO] Configuring Jetty for project: DHIS Web Portal
  [INFO] webAppSourceDirectory not set. Trying src\main\webapp
  [INFO] Reload Mechanic: automatic
  [INFO] Classes = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\
classes
  [INFO] Context path = /
  [INFO] Tmp directory = D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\target\tmp

  [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
  [INFO] Web overrides = none
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-
commons-resources:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-ohie:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-uaa:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-sms:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-dataset:war:2.2
  4
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-user:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-dataadmin:war:2
  .24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-program:war:2.2
  4
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-
maintenance-mobile:war:2.24

  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-
importexport:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-
validationrule:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-dataentry:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-
dashboard-integration:war:2
  .24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-light:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-mobile:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-reporting:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-apps:war:2.24
  [INFO] web.xml file = file:///D:/source/2.24/dhis-2/
dhis-web/dhis-web-portal/src
  /main/webapp/WEB-INF/web.xml
  [INFO] Webapp directory = D:\source\2.24\dhis-2\dhis-
web\dhis-web-portal\src\mai
  n\webapp
  [INFO] jetty-9.3.8.v20160314
  [WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@
5c3d4f05{/,[fil
  e:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src/main/webapp/,
file:///D:
  /source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/
dhis-web-commons-resourc
  es-2_24_war1/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp
  /dhis-web-ohie-2_24_war2/, file:///D:/source/2.24/dhis-2/
dhis-web/dhis-web-porta
  l/target/tmp/dhis-web-uaa-2_24_war3/, file:///D:/source/2.24/dhis-2/
dhis-web/dhi
  s-web-portal/target/tmp/dhis-web-sms-2_24_war4/,
file:///D:/source/2.24/dhis-2/d
  his-web/dhis-web-portal/target/tmp/dhis-web-
maintenance-dataset-2_24_war5/, file
  :///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp/dhis-web-maintenan
  ce-user-2_24_war6/, file:///D:/source/2.24/dhis-2/
dhis-web/dhis-web-portal/targe
  t/tmp/dhis-web-maintenance-dataadmin-2_24_war7/,
file:///D:/source/2.24/dhis-2/d
  his-web/dhis-web-portal/target/tmp/dhis-web-
maintenance-program-2_24_war8/, file
  :///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp/dhis-web-maintenan
  ce-mobile-2_24_war9/, file:///D:/source/2.24/dhis-2/
dhis-web/dhis-web-portal/tar
  get/tmp/dhis-web-importexport-2_24_war10/,
file:///D:/source/2.24/dhis-2/dhis-we
  b/dhis-web-portal/target/tmp/dhis-web-validationrule-2_24_war11/,
file:///D:/sou
  rce/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-
web-dataentry-2_24_war1
  2/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp/dhis-web-d
  ashboard-integration-2_24_war13/, file:///D:/source/2.24/dhis-2/
dhis-web/dhis-we
  b-portal/target/tmp/dhis-web-light-2_24_war14/,
file:///D:/source/2.24/dhis-2/dh
  is-web/dhis-web-portal/target/tmp/dhis-web-mobile-2_24_war15/,
file:///D:/source
  /2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-
web-reporting-2_24_war16/,
   file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/
target/tmp/dhis-web-apps
  -2_24_war17/],null}{file:///D:/source/2.24/dhis-2/dhis-web/
dhis-web-portal/src/m
  ain/webapp/}
  java.lang.IllegalStateException: Duplicate fragment name: spring_web
for jar:fil
  e:///C:/Users/SDRC_DEV25/.m2/repository/org/
springframework/spring-web/4.2.5.REL
  EASE/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml and
jar:file:///D:/
  source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/
dhis-web-ohie-2_24_war2/W
  EB-INF/lib/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml
          at org.eclipse.jetty.webapp.MetaData.addFragment(MetaData.
java:279)
          at org.eclipse.jetty.webapp.FragmentConfiguration.
findWebFragments(Fragm
  entConfiguration.java:75)
          at org.eclipse.jetty.webapp.FragmentConfiguration.
preConfigure(FragmentC
  onfiguration.java:42)
          at org.eclipse.jetty.webapp.WebAppContext.preConfigure(
WebAppContext.jav
  a:480)
          at org.eclipse.jetty.webapp.WebAppContext.doStart(
WebAppContext.java:516
  )
          at org.eclipse.jetty.maven.plugin.JettyWebAppContext.
doStart(JettyWebApp
  Context.java:398)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.
start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.
start(ContainerLi
  feCycle.java:132)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.
doStart(Container
  LifeCycle.java:114)
          at org.eclipse.jetty.server.handler.AbstractHandler.
doStart(AbstractHand
  ler.java:61)
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.
doStart(Con
  textHandlerCollection.java:161)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.
start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.
start(ContainerLi
  feCycle.java:132)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.
doStart(Container
  LifeCycle.java:114)
          at org.eclipse.jetty.server.handler.AbstractHandler.
doStart(AbstractHand
  ler.java:61)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.
start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.
start(ContainerLi
  feCycle.java:132)
          at org.eclipse.jetty.server.Server.start(Server.java:405)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.
doStart(Container
  LifeCycle.java:106)
          at org.eclipse.jetty.server.handler.AbstractHandler.
doStart(AbstractHand
  ler.java:61)
          at org.eclipse.jetty.server.Server.doStart(Server.java:372)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.
start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.
startJetty(AbstractJ
  ettyMojo.java:460)
          at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.
execute(AbstractJett
  yMojo.java:328)
          at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(
JettyRunMojo.java
  :170)
          at org.apache.maven.plugin.DefaultBuildPluginManager.
executeMojo(Default
  BuildPluginManager.java:134)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
MojoExecutor
  .java:207)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
MojoExecutor
  .java:153)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
MojoExecutor
  .java:145)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
buildProje
  ct(LifecycleModuleBuilder.java:116)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
buildProje
  ct(LifecycleModuleBuilder.java:80)
          at org.apache.maven.lifecycle.internal.builder.
singlethreaded.SingleThre
  adedBuilder.build(SingleThreadedBuilder.java:51)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.
execute(Lifecycl
  eStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
307)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
193)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.
  java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.
invoke(DelegatingMethodAcces
  sorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.codehaus.plexus.classworlds.launcher.Launcher.
launchEnhanced(Laun
  cher.java:289)
          at org.codehaus.plexus.classworlds.launcher.Launcher.
launch(Launcher.jav
  a:229)
          at org.codehaus.plexus.classworlds.launcher.Launcher.
mainWithExitCode(La
  uncher.java:415)
          at org.codehaus.plexus.classworlds.launcher.Launcher.
main(Launcher.java:
  356)
  [INFO] Started ServerConnector@315ab013{HTTP/1.1,[http/1.1]}{
0.0.0.0:8080}
  [INFO] Started @542039ms
  [INFO] Started Jetty Server

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1623966/+subscriptions

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
Halvdan Hoem Grelland
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/&gt;

** Changed in: dhis2
       Status: New => Invalid

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1623966

Title:
  Build-Error

Status in DHIS:
  Invalid

Bug description:
  When i am trying to run the dhis2.24 war file using jetty plugin, it
  comes with following info trace but in every subsequent try, it
  appears as the same error info trace as given below. Can anybody help
  me whats going wrong in this trace...?

  $ mvn clean -Dmaven.test.skip=true install jetty:run
  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; su
  pport was removed in 8.0
  [INFO] Scanning for projects...
  [INFO]
  [INFO] ------------------------------------------------------------------------
  [INFO] Building DHIS Web Portal 2.24
  [INFO] ------------------------------------------------------------------------
  [INFO]
  [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dhis-web-portal ---
  [INFO] Deleting D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ dhis-web-p
  ortal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 2 resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ dhis-web-port
  al ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ dh
  is-web-portal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-web\dhis-w
  eb-portal\src\test\resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ dhis-
  web-portal ---
  [INFO] Not compiling test sources
  [INFO]
  [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ dhis-web-portal --
  -
  [INFO] Tests are skipped.
  [INFO]
  [INFO] --- maven-war-plugin:2.4:war (default-war) @ dhis-web-portal ---
  [INFO] Packaging webapp
  [INFO] Assembling webapp [dhis-web-portal] in [D:\source\2.24\dhis-2\dhis-web\dh
  is-web-portal\target\dhis]
  [INFO] Processing war project
  [INFO] Copying webapp resources [D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\
  src\main\webapp]
  [INFO] Building jar: D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\dhis\
  WEB-INF\lib\dhis-web-portal-2.24.jar
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-commons-resources]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-ohie]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-uaa]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-sms]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-dataset]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-user]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-dataadmin]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-program]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-mobile]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-importexport]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-validationrule]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dataentry]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dashboard-integration]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-light]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-mobile]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-reporting]
  [INFO] Processing overlay [ id org.hisp.dhis:dhis-web-apps]
  [INFO] Webapp assembled in [275224 msecs]
  [INFO] Building war: D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\dhis.
  war
  [INFO]
  [INFO] --- maven-install-plugin:2.4:install (default-install) @ dhis-web-portal
  ---
  [INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\dhis.war
   to C:\Users\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-web-portal\2.24\dhis-w
  eb-portal-2.24.war
  [INFO] Installing D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\pom.xml to C:\U
  sers\SDRC_DEV25\.m2\repository\org\hisp\dhis\dhis-web-portal\2.24\dhis-web-porta
  l-2.24.pom
  [INFO]
  [INFO] >>> jetty-maven-plugin:9.3.8.v20160314:run (default-cli) > test-compile @
   dhis-web-portal >>>
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ dhis-web-p
  ortal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] Copying 2 resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ dhis-web-port
  al ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO]
  [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ dh
  is-web-portal ---
  [debug] execute contextualize
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory D:\source\2.24\dhis-2\dhis-web\dhis-w
  eb-portal\src\test\resources
  [INFO]
  [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ dhis-
  web-portal ---
  [INFO] Not compiling test sources
  [INFO]
  [INFO] <<< jetty-maven-plugin:9.3.8.v20160314:run (default-cli) < test-compile @
   dhis-web-portal <<<
  [INFO]
  [INFO] --- jetty-maven-plugin:9.3.8.v20160314:run (default-cli) @ dhis-web-porta
  l ---
  [INFO] Logging initialized @317284ms
  [INFO] Configuring Jetty for project: DHIS Web Portal
  [INFO] webAppSourceDirectory not set. Trying src\main\webapp
  [INFO] Reload Mechanic: automatic
  [INFO] Classes = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\classes
  [INFO] Context path = /
  [INFO] Tmp directory = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\target\tmp

  [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
  [INFO] Web overrides = none
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-commons-resources:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-ohie:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-uaa:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-sms:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-dataset:war:2.2
  4
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-user:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-dataadmin:war:2
  .24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-program:war:2.2
  4
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-maintenance-mobile:war:2.24

  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-importexport:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-validationrule:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-dataentry:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-dashboard-integration:war:2
  .24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-light:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-mobile:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-reporting:war:2.24
  [INFO] Dependent war artifact org.hisp.dhis:dhis-web-apps:war:2.24
  [INFO] web.xml file = file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src
  /main/webapp/WEB-INF/web.xml
  [INFO] Webapp directory = D:\source\2.24\dhis-2\dhis-web\dhis-web-portal\src\mai
  n\webapp
  [INFO] jetty-9.3.8.v20160314
  [WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@5c3d4f05{/,[fil
  e:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src/main/webapp/, file:///D:
  /source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-commons-resourc
  es-2_24_war1/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp
  /dhis-web-ohie-2_24_war2/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-porta
  l/target/tmp/dhis-web-uaa-2_24_war3/, file:///D:/source/2.24/dhis-2/dhis-web/dhi
  s-web-portal/target/tmp/dhis-web-sms-2_24_war4/, file:///D:/source/2.24/dhis-2/d
  his-web/dhis-web-portal/target/tmp/dhis-web-maintenance-dataset-2_24_war5/, file
  :///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-maintenan
  ce-user-2_24_war6/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/targe
  t/tmp/dhis-web-maintenance-dataadmin-2_24_war7/, file:///D:/source/2.24/dhis-2/d
  his-web/dhis-web-portal/target/tmp/dhis-web-maintenance-program-2_24_war8/, file
  :///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-maintenan
  ce-mobile-2_24_war9/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/tar
  get/tmp/dhis-web-importexport-2_24_war10/, file:///D:/source/2.24/dhis-2/dhis-we
  b/dhis-web-portal/target/tmp/dhis-web-validationrule-2_24_war11/, file:///D:/sou
  rce/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-dataentry-2_24_war1
  2/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-d
  ashboard-integration-2_24_war13/, file:///D:/source/2.24/dhis-2/dhis-web/dhis-we
  b-portal/target/tmp/dhis-web-light-2_24_war14/, file:///D:/source/2.24/dhis-2/dh
  is-web/dhis-web-portal/target/tmp/dhis-web-mobile-2_24_war15/, file:///D:/source
  /2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-reporting-2_24_war16/,
   file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-apps
  -2_24_war17/],null}{file:///D:/source/2.24/dhis-2/dhis-web/dhis-web-portal/src/m
  ain/webapp/}
  java.lang.IllegalStateException: Duplicate fragment name: spring_web for jar:fil
  e:///C:/Users/SDRC_DEV25/.m2/repository/org/springframework/spring-web/4.2.5.REL
  EASE/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml and jar:file:///D:/
  source/2.24/dhis-2/dhis-web/dhis-web-portal/target/tmp/dhis-web-ohie-2_24_war2/W
  EB-INF/lib/spring-web-4.2.5.RELEASE.jar!/META-INF/web-fragment.xml
          at org.eclipse.jetty.webapp.MetaData.addFragment(MetaData.java:279)
          at org.eclipse.jetty.webapp.FragmentConfiguration.findWebFragments(Fragm
  entConfiguration.java:75)
          at org.eclipse.jetty.webapp.FragmentConfiguration.preConfigure(FragmentC
  onfiguration.java:42)
          at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.jav
  a:480)
          at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:516
  )
          at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebApp
  Context.java:398)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLi
  feCycle.java:132)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Container
  LifeCycle.java:114)
          at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
  ler.java:61)
          at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(Con
  textHandlerCollection.java:161)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLi
  feCycle.java:132)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Container
  LifeCycle.java:114)
          at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
  ler.java:61)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLi
  feCycle.java:132)
          at org.eclipse.jetty.server.Server.start(Server.java:405)
          at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(Container
  LifeCycle.java:106)
          at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHand
  ler.java:61)
          at org.eclipse.jetty.server.Server.doStart(Server.java:372)
          at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
  Cycle.java:68)
          at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJ
  ettyMojo.java:460)
          at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJett
  yMojo.java:328)
          at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java
  :170)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
  BuildPluginManager.java:134)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
  .java:207)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
  .java:153)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
  .java:145)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
  ct(LifecycleModuleBuilder.java:116)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
  ct(LifecycleModuleBuilder.java:80)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
  adedBuilder.build(SingleThreadedBuilder.java:51)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
  eStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  sorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
  cher.java:289)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
  a:229)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
  uncher.java:415)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
  356)
  [INFO] Started ServerConnector@315ab013{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
  [INFO] Started @542039ms
  [INFO] Started Jetty Server

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1623966/+subscriptions