com.opensymphony.xwork2.config.ConfigurationException

Unable to load configuration.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

Stack trace

  • com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration. at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)[xwork-core-2.3.24.jar:2.3.24] at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:967)[struts2-core-2.3.24.jar:2.3.24] at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:435)[struts2-core-2.3.24.jar:2.3.24] at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:479)[struts2-core-2.3.24.jar:2.3.24] at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)[struts2-core-2.3.24.jar:2.3.24] at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)[struts2-core-2.3.24.jar:2.3.24] at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)[catalina.jar:6.0.39] at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:424)[catalina.jar:6.0.39] at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)[catalina.jar:6.0.39] at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4076)[catalina.jar:6.0.39] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4730)[catalina.jar:6.0.39] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)[catalina.jar:6.0.39] at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)[catalina.jar:6.0.39] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)[catalina.jar:6.0.39] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)[catalina.jar:6.0.39] at org.apache.catalina.core.StandardService.start(StandardService.java:525)[catalina.jar:6.0.39] at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)[catalina.jar:6.0.39] at org.apache.catalina.startup.Catalina.start(Catalina.java:595)[catalina.jar:6.0.39] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.6.0_10-rc2] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[?:1.6.0_10-rc2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[?:1.6.0_10-rc2] at java.lang.reflect.Method.invoke(Method.java:597)[?:1.6.0_10-rc2] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)[bootstrap.jar:6.0.39] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)[bootstrap.jar:6.0.39] Caused by: com.opensymphony.xwork2.config.ConfigurationException: Parent package is not defined: struts-deafault at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildPackageContext(XmlConfigurationProvider.java:674)[xwork-core-2.3.24.jar:2.3.24] at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:523)[xwork-core-2.3.24.jar:2.3.24] at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:295)[xwork-core-2.3.24.jar:2.3.24] at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)[struts2-core-2.3.24.jar:2.3.24] at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:264)[xwork-core-2.3.24.jar:2.3.24] at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)[xwork-core-2.3.24.jar:2.3.24] ... 23 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,