博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
The main resource set specified [/tmp/tomcat-docbase.5063501203886177649.7000] is not valid
阅读量:5242 次
发布时间:2019-06-14

本文共 7921 字,大约阅读时间需要 26 分钟。

启动某个springboot项目的时候,后台报错 The main resource set specified [/tmp/tomcat-docbase.5063501203886177649.7000] is not valid

具体错误信息如下:

1 4:13:45.022 logback [main] ERROR o.s.boot.SpringApplication - Application startup failed 2 org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat 3     at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137) 4     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537) 5     at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) 6     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) 7     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) 8     at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) 9     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)10     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)11     at com.xxl.job.executor.XxlJobExecutorApplication.main(XxlJobExecutorApplication.java:19)12     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)13     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)14     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)15     at java.lang.reflect.Method.invoke(Method.java:498)16     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)17     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)18     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)19     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)20 Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat21     at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:138)22     at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.
(TomcatEmbeddedServletContainer.java:87)23 at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getTomcatEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:554)24 at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:179)25 at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164)26 at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134)27 ... 16 common frames omitted28 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[-1]]29 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)30 at org.apache.catalina.startup.Tomcat.start(Tomcat.java:366)31 at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:114)32 ... 21 common frames omitted33 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Tomcat]]34 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)35 at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)36 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)37 ... 23 common frames omitted38 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat]]39 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)40 at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)41 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)42 ... 25 common frames omitted43 Caused by: org.apache.catalina.LifecycleException: A child container failed during start44 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:950)45 at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)46 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)47 ... 27 common frames omitted48 Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]49 at java.util.concurrent.FutureTask.report(FutureTask.java:122)50 at java.util.concurrent.FutureTask.get(FutureTask.java:192)51 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)52 ... 29 common frames omitted53 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]54 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)55 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1420)56 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)57 at java.util.concurrent.FutureTask.run(FutureTask.java:266)58 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)59 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)60 at java.lang.Thread.run(Thread.java:748)61 Caused by: org.apache.catalina.LifecycleException: A child container failed during start62 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:950)63 at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)64 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)65 ... 6 common frames omitted66 Caused by: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]67 at java.util.concurrent.FutureTask.report(FutureTask.java:122)68 at java.util.concurrent.FutureTask.get(FutureTask.java:192)69 at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:942)70 ... 8 common frames omitted71 Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]72 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)73 ... 6 common frames omitted74 Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@63518bbd]75 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)76 at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4907)77 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5042)78 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)79 ... 6 common frames omitted80 Caused by: java.lang.IllegalArgumentException: The main resource set specified [/tmp/tomcat-docbase.5063501203886177649.7000] is not valid81 at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:748)82 at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:706)83 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

本次问题的解决方法如下,作为个人记录

 由于在线上服务器经常遇到磁盘满的问题,所以这次也特第看了一下

命令: df -h

果然是磁盘满了,但是没有截图,是清理完成之后才截的图, /dev/mapper/vg_centos6-lv_root 这个目录达到了100%

清理工作:

参考 :

 

转载于:https://www.cnblogs.com/hdllhd/p/11389094.html

你可能感兴趣的文章
ExtJs学习笔记之ComboBox组件
查看>>
关于收费软件
查看>>
getopt_long
查看>>
TensorFlow MNIST CNN 代码
查看>>
javascript之Style物
查看>>
JSON跨域解决方案收集
查看>>
SSH框架整合总结
查看>>
图的深度优先遍历
查看>>
C# 之 提高WebService性能大数据量网络传输处理
查看>>
md5sum命令详解
查看>>
[bzoj1004] [HNOI2008] Cards
查看>>
原生HttpClient详细使用示例
查看>>
几道面试题
查看>>
Factory Design Pattern
查看>>
python中贪婪与非贪婪
查看>>
guava API整理
查看>>
无锁编程笔记
查看>>
jquery mobile
查看>>
如何在vue单页应用中使用百度地图
查看>>
Springboot使用步骤
查看>>