IntelliJ needs to copy tomcat/conf directory to project directory December 19, 2023 by Tarik Try chmod -R 777 /var/lib/tomcat7/conf/, it works to me.