Springboot The temporary upload location is not valid

Myth丶恋晨 2022-12-27 07:59 271阅读 0赞

文章最前: 我是Octopus,这个名字来源于我的中文名—章鱼;我热爱编程、热爱算法、热爱开源。所有源码在我的个人github ;这博客是记录我学习的点点滴滴,如果您对 Python、Java、AI、算法有兴趣,可以关注我的动态,一起学习,共同进步。

相关文章:

  1. DuplicateKeyException异常处理:java向数据库插入数据异
  2. springboot的UnsatisfiedDependencyException异常问题
  3. org.springframework.dao.DataIntegrityViolationException
  4. com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column ‘current_state’
  5. java中出现这种错误: “error”: “Internal Server Error”,
  6. The Tomcat connector configured to listen on port 8888 failed to start
  7. java.nio.charset.MalformedInputException错误解决
  8. org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.geekplus.dao
  9. Springboot The temporary upload location is not valid

文章目录:

1.问题描述

  1. 问题原因

  2. 解决问题


1.问题描述

部署好的springboot项目,上传文件,一直都是好的,今天突然上传不上去,报的错误:

  1. java.io.IOException: The temporary upload location [/tmp/tomcat.283696695598481655.8888/
  2. work/Tomcat/localhost/playback] is not valid

2. 问题原因

tomcat里面的临时文件被删除了

3.解决问题

1) 重启服务

2)配置临时文件目录

  1. server.tomcat.basedir=/tmp/tomcat

发表评论

表情:
评论列表 (有 0 条评论,271人围观)

还没有评论,来说两句吧...

相关阅读