vscode-tomcat
vscode-tomcat copied to clipboard
Not able to add a war to the server
- VSCode Version: 1.40.1
- OS Version: Windows 10.0 x64
- Tomcat Extension Version: 0.11
Steps to Reproduce:
- Install the plugin
- Add an Apache tomcat server and run start is
- Select a war from the
target\
directory left clickDebug on Tomcat
Simply nothings it happens. I cannot find any log message in the tomcat output console.
I am having the same issue. This works without issue with container-based development (https://github.com/microsoft/vscode-dev-containers/tree/master/containers/java-8-tomcat-8.5) but when I try this locally, I get absolutely nothing with Tomcat 8.5.49. This is my system info, let me know if you need more specifics:
Version: 1.41.0 (user setup) Commit: 9579eda04fdb3a9bba2750f15193e5fafe16b959 Date: 2019-12-11T18:37:42.077Z Electron: 6.1.5 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Windows_NT x64 10.0.18363
@Panciz @ShiftyMcCool I found a solution, as this issue has apparently been opened twice before. Documentation would be good, I will see if I can get this added to the README.
The solution to your issue was actually solved in this thread: https://github.com/adashen/vscode-tomcat/issues/33 Basically, you have to add a reference to the jdk/bin folder to your system path. If you are on Windows, make an entry in the environmental variables under the User section. That solved the problem for me.
@eschulma Thanks, that worked for me!
Thank you @eschulma that did the trick for me! Was aggravating to say the least.
I just hope my pull request gets reviewed by a committer.
VSCode Version: 1.52.1 OS Version: Ubuntu 20.04 64 Tomcat Extension Version: v0.11.3
Same problem here. How do i fix?
VSCode Version: 1.52.1 OS Version: Ubuntu 20.04 64 Tomcat Extension Version: v0.11.3
Same problem here. How do i fix?
Hey, I'm having the same problem on Ubuntu. Did you fix it?
@erickmendesBR and @santanasara see the comments above or my pull request, #275
@erickmendesBR and @santanasara see the comments above or my pull request, #275
Hi, thanks for replying. The solutions above are for Windows, I'm on Ubuntu 20.04. I have JAVA_HOME and the path to the jdk bin set on etc/profile but I keep running into the same problem.
I fixed the problem on Ubuntu 20.04 by installing default-jdk
with sudo apt install default-jdk
. I'm not sure why it wasn't working before since I already had the jdk 11 installed but this fixed it.