JasperException: java.lang.IllegalStateException: 无输出目录
环境
- Linux/Ubuntu20.04LTS
- IntelliJ IDEA Community Editon 2021.1
- apache-tomcat-8.5.68
org.apache.jasper.JasperException: java.lang.IllegalStateException: 无输出目录
touch: 无法创建 '/usr/local/apache-tomcat-8.5.68/logs/catalina.out': 权限不够
./catalina.sh: 504: cannot create /usr/local/apache-tomcat-8.5.68/logs/catalina.out: Permission denied
原因
Tomcat所在的文件夹读写权限未开启
方案
- 开启文件夹的读写权限,进入到安装目录
lauiji@lauiji-IdeaPad-15sIML-2020:/usr/local$ sudo chmod -R 755apache-tomcat-8.5.68/
文章图片
【JasperException: java.lang.IllegalStateException: 无输出目录】【遇上雨季,吃定彩虹】 --Layuji
推荐阅读
- 当使用ViewPager滑动发生java.lang.IllegalStateException: The specified child already has a parent.异常时的解决方案
- okhttp异常( java.lang.IllegalStateException: closed)
- 解决使用okhttp3报java.lang.IllegalStateException: closed
- java.lang.IllegalStateException:|java.lang.IllegalStateException: Fragment already added