Failed to start component [StandardEngine[Catalina].StandardHost[localhost]

后端 未结 2 1079
暗喜
暗喜 2021-01-14 09:30

When trying to start tomcat I get this error. What could be the cause of this?

I\'ve go through a bunch of similar posts and I can\'t find anything.

I am usi

2条回答
  •  梦谈多话
    2021-01-14 09:55

    Your jars are completely messed up:

    1. Always preserve versions consistency (eg. not core 2.1.8.1 and plugins 2.2.3)
    2. Always pick up the latest version (eg. 2.3.x or, if you can break retrocompatibility, 2.5.x)
    3. Always include only the Struts2 plugins you know and use, only the needed ones. Remove all the others.
    4. Always avoid including two versions of the same libraries, eg. poi 3.7 and poi 3.8. Is this a joke ?
    5. The first versions of Tomcat 8.0 had known problems with Struts2, you should upgrade to the latest (eg. 8.0.39) or, even better, to 8.5.

提交回复
热议问题