Home > Back-end >  Struts 2 a configuration web. XML has Failed to start component [StandardServer [8005]]
Struts 2 a configuration web. XML has Failed to start component [StandardServer [8005]]

Time:10-26

this is
Severe: The required Server component failed to start so Tomcat is unable to start.
Org. Apache. Catalina. LifecycleException: Failed to start component [StandardServer [8005]]
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 167)
The at org. Apache. Catalina. Startup. Catalina. Start (catalina. Java: 681)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (Unknown Source)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (Unknown Source)
The at Java. Lang. Reflect. Method. Invoke (Unknown Source)
At org. Apache. Catalina. Startup. The Bootstrap. Start (353) the Bootstrap. Java:
At org. Apache. Catalina. Startup. The Bootstrap. Main (493) the Bootstrap. Java:
Under Caused by: org. Apache. Catalina. LifecycleException: Failed to start component [StandardService [catalina]]
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 167)
The at org. Apache. Catalina. Core. StandardServer. StartInternal (StandardServer. Java: 793)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 150)
. 7 more
Under Caused by: org. Apache. Catalina. LifecycleException: Failed to start component [StandardEngine [catalina]]
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 167)
The at org. Apache. Catalina. Core. StandardService. StartInternal (StandardService. Java: 422)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 150)
. Nine more
Under Caused by: org. Apache. Catalina. LifecycleException: A child container failed during start
The at org. Apache. Catalina. Core. ContainerBase. StartInternal (ContainerBase. Java: 949)
The at org. Apache. Catalina. Core. StandardEngine. StartInternal (StandardEngine. Java: 262)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 150)
. 11 more

To delete web.
in the SML
Struts 2 & lt;/filter - name>
Org, apache struts 2. Dispatcher. Filter. StrutsPrepareAndExecuteFilter




Struts 2 & lt;/filter - name>
/* & lt;/url - pattern>


Struts 2 & lt;/filter - name>
*. Action

Wouldn't we have a problem how to solve ah

CodePudding user response:


CharacterEncodingFilter

Org. Springframework. Web. Filter. CharacterEncodingFilter

Encoding
Utf-8 & lt;/param - value>



CharacterEncodingFilter
/* & lt;/url - pattern>


All your filter may not be configured, try me, I also met the same problem with you, finally found that is not all,
  • Related