“The selected directory is not a valid TomEE home”

Time:2021-6-9

Problem description

“The selected directory is not a valid TomEE home”

In idea, create a web project with spring and add services with Tomcat. After startup, the console makes an error. Check the configuration and Tomcat configuration (as shown in the figure above)

“The selected directory is not a valid tomee home”

problem analysis

When creating a Tomcat service, you should select Tomcat instead of tomcatee

Problem solving

seeUsing idea to create Tomcat service configurationYou need to reconfigure the Tomcat service

reference resources: