I am trying practice Java servlet where I need Tomcat server. I choose IntelliJ as my IDE which is throwing me popup message:
And this is what's inside Tomcat's server.xml file, where u can see the port number also matches with the one within IntelliJ. But the port numbers of JMX, HTTPS & AJP is not mentioned in this server file by default.
Now the main question is why IntelliJ is responding like this when everything 'looks' fine? Help me if u delt with this issue.
Inside your Tomcat installation folder, go to
"
server.xml
" (probably under/usr/share/tomcat{x}/conf/
) file and change:to
As mentioned by of in this Jetbrains issue tacker page.
Another important thing is: In the Deployment section, make sure to add Artifact like this:
And again if u miss something, follow this page. And if u are in deeper other problem then follow this link where I discussed to solve Tomcat9 & IntelliJ 2019.1.3 integration in Ubuntu 19.04. It took me 5 days to resolve this issue.