SSH常见异常笔记(6)

简介: SSH常见异常笔记(6)
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[/MavenSSH]]  at java.util.concurrent.FutureTask.report(FutureTask.java:122)  at java.util.concurrent.FutureTask.get(FutureTask.java:192)  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)  at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)  at java.util.concurrent.FutureTask.run(FutureTask.java:266)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)  at java.lang.Thread.run(Thread.java:748)Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[/MavenSSH]]  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)  ... 6 more
Caused by: java.lang.NoClassDefFoundError: org/springframework/core/env/EnvironmentCapable
  at java.lang.ClassLoader.defineClass1(Native Method)  at java.lang.ClassLoader.defineClass(ClassLoader.java:763)  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)  at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)  at java.net.URLClassLoader.access$100(URLClassLoader.java:73)  at java.net.URLClassLoader$1.run(URLClassLoader.java:368)  at java.net.URLClassLoader$1.run(URLClassLoader.java:362)  at java.security.AccessController.doPrivileged(Native Method)  at java.net.URLClassLoader.findClass(URLClassLoader.java:361)  at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1191)  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1669)  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)  at java.lang.ClassLoader.defineClass1(Native Method)  at java.lang.ClassLoader.defineClass(ClassLoader.java:763)  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)  at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)  at java.net.URLClassLoader.access$100(URLClassLoader.java:73)  at java.net.URLClassLoader$1.run(URLClassLoader.java:368)  at java.net.URLClassLoader$1.run(URLClassLoader.java:362)  at java.security.AccessController.doPrivileged(Native Method)  at java.net.URLClassLoader.findClass(URLClassLoader.java:361)  at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1191)  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1669)  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)  at java.lang.Class.getDeclaredFields0(Native Method)  at java.lang.Class.privateGetDeclaredFields(Class.java:2583)  at java.lang.Class.getDeclaredFields(Class.java:1916)  at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)  at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:263)  at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:92)  at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)  at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:405)  at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)  at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)  at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)  ... 6 more
Caused by: java.lang.ClassNotFoundException: org.springframework.core.env.EnvironmentCapable  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)  ... 44 more
十二月 21,20179:25:20 下午 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]  at java.util.concurrent.FutureTask.report(FutureTask.java:122)  at java.util.concurrent.FutureTask.get(FutureTask.java:192)  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)  at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)  at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)  at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)  at org.apache.catalina.startup.Tomcat.start(Tomcat.java:341)  at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer(AbstractRunMojo.java:1238)  at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(AbstractRunMojo.java:592)  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)  at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)  at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:498)  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)  at java.util.concurrent.FutureTask.run(FutureTask.java:266)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)  at java.lang.Thread.run(Thread.java:748)Caused by: org.apache.catalina.LifecycleException: A child container failed during start
  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)  at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)  ... 6 more

解决方案:缺少jar,检查一下spring-core.jar

目录
相关文章
在使用SSH+Spring开发webservice ,报的一些异常及处理方法
在使用SSH+Spring开发webservice ,报的一些异常及处理方法
262 0
在使用SSH+Spring开发webservice ,报的一些异常及处理方法
|
1月前
|
监控 Ubuntu Linux
使用VSCode通过SSH远程登录阿里云Linux服务器异常崩溃
通过 VSCode 的 Remote - SSH 插件远程连接阿里云 Ubuntu 22 服务器时,会因高 CPU 使用率导致连接断开。经排查发现,VSCode 连接根目录 ".." 时会频繁调用"rg"(ripgrep)进行文件搜索,导致 CPU 负载过高。解决方法是将连接目录改为"root"(或其他具体的路径),避免不必要的文件检索,从而恢复正常连接。
|
2月前
|
大数据 网络安全 数据安全/隐私保护
大数据-03-Hadoop集群 免密登录 超详细 3节点云 分发脚本 踩坑笔记 SSH免密 集群搭建(二)
大数据-03-Hadoop集群 免密登录 超详细 3节点云 分发脚本 踩坑笔记 SSH免密 集群搭建(二)
145 5
|
2月前
|
XML 大数据 网络安全
大数据-03-Hadoop集群 免密登录 超详细 3节点云 分发脚本 踩坑笔记 SSH免密 集群搭建(一)
大数据-03-Hadoop集群 免密登录 超详细 3节点云 分发脚本 踩坑笔记 SSH免密 集群搭建(一)
74 4
|
网络安全
SNETCracker.exe 2022/1/26 31:13:29----检查12.26.20.1:SSH登录发生异常!未能加载文件或程序集“ChilkatDotNet4.dll”或它的某一个依赖项
SNETCracker.exe 2022/1/26 31:13:29----检查12.26.20.1:SSH登录发生异常!未能加载文件或程序集“ChilkatDotNet4.dll”或它的某一个依赖项
372 0
|
网络安全 数据安全/隐私保护 Windows
[笔记]Windows Cyswin ssh配置及远程控制
[笔记]Windows Cyswin ssh配置及远程控制
129 0
|
Linux 网络安全 开发工具
[笔记]github SSH 配置
[笔记]github SSH 配置
|
Linux C语言 C++
[笔记]Win10+VSCode+CentOs7+SSH+gcc 远程开发C++(二)
[笔记]Win10+VSCode+CentOs7+SSH+gcc 远程开发C++(二)
162 0
[笔记]Win10+VSCode+CentOs7+SSH+gcc 远程开发C++(二)
|
Linux Python
[笔记]Win10+VSCode+CentOS7+SSH+远程开发Python
[笔记]Win10+VSCode+CentOS7+SSH+远程开发Python
158 0
|
Linux 网络安全 开发工具
[笔记]Win10+VSCode+CentOs7+SSH+gcc 远程开发C++(一)
[笔记]Win10+VSCode+CentOs7+SSH+gcc 远程开发C++
168 0