maven项目运行的时候有时会报此种错误;

 

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].Standard

最近遇到的几次都是由于没有配置maven库导致的,需要在属性里面配置一下,

右键项目--属性

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].Standard

查看 DeploymentAssign是有有maven的库

没有点击“Add..”

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].Standard

选择Java Build Path Entries ,点击Next>

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].Standard

选择 Maven Dependencies 点击 Finish,这样就添加上了,

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].Standard

点击 Apply and Close保存退出,重新刷新一下项目,或者clean一下,重新启动即可。

 

相关文章:

  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-03-02
  • 2022-12-23
  • 2021-05-29
  • 2021-09-14
猜你喜欢
  • 2021-10-01
  • 2021-09-27
相关资源
相似解决方案