'Tomcat 9 Server not starting in Eclipse 4
After adding Tomcat Server 9.0 to Eclipse 4.23 on Windows 11 the server will not start. The following warning is written to the console:
'WARNING: Problem with directory [C:\Users\david\Documents\ApplicationServers\apache-tomcat-9.0.60lib], exists: [false], isDirectory: [false], canRead: [false]'
Note that the directory path is: 'C:\Users\david\Documents\ApplicationServers\apache-tomcat-9.0.60'. It appears that 'lib' is appended to the path.
I have looked at every configuration that I can think of and searched the internet and have not found a similar problem or solution. Have any of you experienced this or have a solution?
Solution 1:[1]
I found the problem. While I am not sure why the working directory default is set to the value it is (see screenshot) or why the warning does not list the default path as the error, I changed the path to the Tomcat [root] and all is well now.
Thank you to everyone that offered suggestions and/or gave this thought.
Solution 2:[2]
Did you configure tomcat with following steps?
For configuring the tomcat server in eclipse IDE;
click on servers tab at the bottom side of the IDE
right click on blank area
New
Servers
choose tomcat then its version
next
click on Browse button
select the apache tomcat root folder previous to bin
next
add projects required
Finish
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | sdalley |
Solution 2 | Madhav |