struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henggao Cai (Jira)" <j...@apache.org>
Subject [jira] [Created] (WW-5040) java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector
Date Thu, 26 Sep 2019 21:34:00 GMT
Henggao Cai created WW-5040:
-------------------------------

             Summary: java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector
                 Key: WW-5040
                 URL: https://issues.apache.org/jira/browse/WW-5040
             Project: Struts 2
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.5.20
            Reporter: Henggao Cai
             Fix For: 2.5.x


After I deploy, I am getting an issue on the ContainerImpl.java class. 

<Sep 26, 2019 5:26:19,289 PM EDT> <Error> <HTTP> <BEA-101165> <Could
not load user defined filter in web.xml: org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.<Sep
26, 2019 5:26:19,289 PM EDT> <Error> <HTTP> <BEA-101165> <Could not
load user defined filter in web.xml: org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.java.lang.reflect.InvocationTargetException
- Class: com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjectorFile: ContainerImpl.javaMethod:
constructLine: 422 - com/opensymphony/xwork2/inject/ContainerImpl.java:422:-1 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:485)
at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73) at
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:400) at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326) Truncated.
see log file for complete stacktraceCaused By: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:422)
at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) at
com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) at com.opensymphony.xwork2.inject.ContainerBuilder$3.create(ContainerBuilder.java:118)
at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:616) Truncated.
see log file for complete stacktraceCaused By: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:405)
Truncated. see log file for complete stacktraceCaused By: java.lang.NoSuchMethodError: org.apache.commons.lang3.text.StrSubstitutor.setValueDelimiter(Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrSubstitutor;
at com.opensymphony.xwork2.config.providers.EnvsValueSubstitutor.<init>(EnvsValueSubstitutor.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) Truncated. see log file
for complete stacktrace



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message