0
votes

Only ultimate has web application support so that's out of the way.

I am trying to start ope up my web app via tomcat something wich i do succesfully on the same machine on netbeans with next to no configuration.

What is the step by step gide to getting this to work here are several of my attempts : both tomcat and tomcat EE added both are added for good measureall possible combinations

all possible combinations with EE and non EE remote and local.

none of which work.

I've done this : Cannot run/debug jsp page from within IntelliJ using Tomcat server

checked this : Intellij IDEA Tomcat Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099

done this : IntelliJ, can't start simple web application: Unable to ping server at localhost:1099

but nothing gives way.

Running tomcat local (first thing I tried and what I would have bet on. Chrome actually opens but the page cannot be found.)

chrome

Which is more promissing because tomcat if acually found if I manually navigate to index.jsp :

tomcatworking

but no other url works. not the project path not its path plus index.jsp :

enter image description here

Running tomcat remote :

runnin tomcat remote

same for TomEE local runs but fails to find webpage. remote fails to run with same error message. though unless the terminology is seriously *** up (I've seen app makers go this far before) what I want is local.

Please help

2

2 Answers

1
votes

Have you selected an artifact in the Deployment tab? If not add an artifact. After that, you should be able to request your site.

So you need to do: Open the configuration -> go to the Deployment tab -> add the artifact you want to deploy on the tomcat.

Restart tomcat and done you should be able to request your side :)

0
votes

THe only possible way to have a functioning Tomcat and webapp project under intellij is to first create a new project via the wizard and select web app.

the guide here is to be followed exactly : https://www.jetbrains.com/help/idea/2017.1/enabling-web-application-support.html

any deveation and trying to convert an existing project into a web app is not supported.

(I'm sorry for anyone who feels differently but just try you'll see)