To solve this problem in (Netbeans 8.2) , simply add the Apache Tomcat server directory (where you unzipped the Tomcat server)

The catalog that you see in Catalina Home in the picture where I unpacked Tomcat.
Set is also located in the system environment:

Do not add a semicolon to the end
source
share