getting this error while running code java.lang.IllegalStateException:Unable to create the directory [/usr/local/tomcat] to use as the base directory

Viewed 14

Caused by: java.lang.IllegalStateException: Unable to create the directory [/usr/local/tomcat] to use as the base directory at org.apache.catalina.startup.Tomcat.initBaseDir(Tomcat.java:873) at org.apache.catalina.startup.Tomcat.getServer(Tomcat.java:657) at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:198) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:182) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:160) ... 8 common frames omitted

Getting above error in console after running code in Spring tool suit

0 Answers
Related