NetBeans doesn't deploy to *webapps*. For a Tomcat root:
  C:\Programs\Apache Software Foundation\apache-tomcat-11\
it will create an XML file in:
  C:\Programs\Apache Software Foundation\apache-tomcat-11\conf\Catalina\localhost\

The XML file contains something like:
  Context ... docBase="C:\project\project-webapp\target\project"

This allows hot reloading of your code (e.g. applying changes to method bodies in your classes). AFAIK the war file is not used.

Cheers,
Maciej Nux

ArbolOne Enterprise (2026-01-23 17:25):

*Hello.

*

*Product Version:* Apache NetBeans IDE 28

*Java:* 25.0.1; OpenJDK 64-Bit Server VM 25.0.1+8-LTS

*Runtime:* OpenJDK Runtime Environment 25.0.1+8-LTS

*System:* Windows 11 version 10.0 running on amd64; UTF-8; en_CA (nb)

*User directory:* C:\Users\arbol\AppData\Roaming\NetBeans\28

*Cache directory:* C:\Users\arbol\AppData\Local\NetBeans\Cache\28

The IDE does not deploy the WAR or any App's  files to '[DRIVE]:\Tomcat-11.0\webapps\ROOT'; I think it has to do with the installation from the Installer. Is there a way to make the IDE deploy to \Tomcat-11.0\webapps\ROOT, or should I uninstall and then reinstall a less featured installation of Apache NetBeans IDE 28?

Thanks in advance


Reply via email to