server name is empty and cannot be entered when Linux adds Tomcat server
Environment Configuration Tomcat 8.0
/USR/LOCAL/TOMCAT/TOMCAT8 Eclipse Mars
/home/falleyes/eclipse
Problem Configuration window-> Preferences-> Server-> Runtime Environment, normal when adding a new Tomcat runtime environment. When the project runs, select a server that already exists, and the server name is empty and is not entered when you create a new server below to select Tomcat8.0. The project cannot be run on eclipse.
reason
The currently logged-on user does not have permission to access the TOMCAT8 directory.
Use the LL command to view the Tomcat directory and see the owner of the Tomcat8 directory as root. Because the user who unzipped and deployed Tomcat is the root user, not the current user. workaround The method of adding the current user to the root group is not feasible the terminal window uses the SU command to switch to root, and recursively modifies the TOMCAT8 directory file with the Chown command. Owner
Chmod-r Falleyes Tomcat8