com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory). - Class: com.opensymphony.xwork2.inject.ContainerImpl File: ContainerImpl.java Method: addInjectorsForMembers Line: 144 - com/opensymphony/xwork2/inject/ContainerImpl.java:144:-1

Stack Overflow | Bilal Mirza | 4 years ago
  1. 0

    Struts2 Configuration file name in web.xml

    Stack Overflow | 4 years ago | Bilal Mirza
    com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory). - Class: com.opensymphony.xwork2.inject.ContainerImpl File: ContainerImpl.java Method: addInjectorsForMembers Line: 144 - com/opensymphony/xwork2/inject/ContainerImpl.java:144:-1
  2. 0

    Giving Different Errors when running Struts2 Application From Eclipse

    Stack Overflow | 2 years ago | Prasad.Developer
    com.opensymphony.xwork2.inject.DependencyException: Security manager in use, could not access constructor: org.apache.struts2.util.fs.JBossFileManager(org.apache.struts2.util.fs.JBossFileManager) at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.<init>(ContainerImpl.java:334)
  3. 0

    com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException

    Stack Overflow | 2 years ago | Priyaranjan Singh
    com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory). - Class: com.opensymphony.xwork2.inject.ContainerImpl File: ContainerImpl.java Method: addInjectorsForMembers Line: 144 - com/opensymphony/xwork2/inject/ContainerImpl.java:144:-1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Could not find a suitable constructor in com.opensymphony.xwork2.conversion

    Coderanch | 6 years ago | Deepabali Bhattacharya
    com.opensymphony.xwork2.inject.DependencyException: Could not find a suitable constructor in com.opensymphony.xwork2.conversion.impl.DefaultObjectTypeDeterminer.
  6. 0

    XWorks throws Missing Dependency Exception for HelloWorld? HELP!

    Coderanch | 8 years ago | Philippe Desrosiers
    com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No ma pping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.con fig.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory).

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException

      No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory).

      at com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector()
    2. XWork
      ReferenceCache$CallableCreate.call
      1. com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:235)
      2. com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:225)
      3. com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.<init>(ContainerImpl.java:287)
      4. com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:117)
      5. com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:114)
      6. com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:141)
      7. com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:113)
      8. com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:90)
      9. com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:86)
      10. com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:71)
      11. com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:67)
      12. com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:150)
      12 frames
    3. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      2 frames
    4. XWork
      ConfigurationManager.getConfiguration
      1. com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:76)
      2. com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:116)
      3. com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:483)
      4. com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:523)
      5. com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:521)
      6. com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574)
      7. com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:521)
      8. com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:203)
      9. com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
      9 frames
    5. Struts2
      StrutsPrepareAndExecuteFilter.init
      1. org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
      2. org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436)
      3. org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
      4. org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
      4 frames
    6. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
      2. org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
      3. org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
      4. org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)
      5. org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)
      6. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
      7. org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      8. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
      9. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      10. org.apache.catalina.core.StandardService.start(StandardService.java:525)
      11. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      12. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      12 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:618)
      4 frames
    8. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      2 frames