PAS6.5 build1733 应用部署在独立实例里报错:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory]: Factory method 'webServerFactory' threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/catalina/WebResourceRoot
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651)
... 95 common frames omitted
Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/WebResourceRoot
at com.allin.AllinApplication.webServerFactory(AllinApplication.java:165)
at com.allin.AllinApplication$$EnhancerBySpringCGLIB$$59d6e6fd.CGLIB$webServerFactory$1()
业务应用里缺少了catalina和tomcat-embed-core的jar包导致部署出现上述错误,添加了对应的jar后,部署没有再报上述错误了。