Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4842

Struts 2 Fails to Initialize with JRebel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Bug
    • 2.5.12
    • 2.5.13
    • Dispatch Filter
    • None

    Description

      • JRebel 7.0.13
      • Tomcat 8.5.15
      • Java 1.8.0_131
        ERROR Dispatcher Dispatcher initialization failed
         com.opensymphony.xwork2.inject.DependencyException: Dependency mapping for [type=java.lang.String, name='struts.devMode'] already exists.
        	at com.opensymphony.xwork2.inject.ContainerBuilder.checkKey(ContainerBuilder.java:108)
        	at com.opensymphony.xwork2.inject.ContainerBuilder.factory(ContainerBuilder.java:83)
        	at com.opensymphony.xwork2.inject.ContainerBuilder.constant(ContainerBuilder.java:517)
        	at com.opensymphony.xwork2.inject.ContainerBuilder.constant(ContainerBuilder.java:398)
        	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:284)
        	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:159)
        	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:63)
        	at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:960)
        	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:466)
        	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:499)
        	at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:75)
        	at org.apache.struts2.dispatcher.listener.StrutsListener.contextInitialized(StrutsListener.java:46)
        	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
        	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
        	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
        	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
        	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        	at java.lang.Thread.run(Thread.java:748)
        

      Attachments

        Activity

          People

            Unassigned Unassigned
            swiftelan Aaron Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: