I can't run Tomcat server on VS code.
The error message says below
[apache-tomcat-9.0.37]: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
However my tomcat folder is put on D drive, same folder as source code. I don't know why it's trying to search "C:\Program" folder. I really appreciate it if you could help. Thank you
jdk1.8 Windows10 VS code1.47.2 Tomcat9.0.37
enter image description here
I guess this is broken in latest build of Plug In . I faced similar issue .Now I am reverting back to a plug in version which is 2 months old . This seems to work. I was surprised that VS.Code automatically upgrades the plug in.
On my side, I found that this extension looks your "java.home" path specified in your settings.json before it start, so commenting out the path and the error shall be solved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With