Unable to deploy WAR to Tomcat with 2018.1 Ultimate

Answered

Hello,

I upgraded to 2018.1, and my project is no longer able to deploy a WAR to Tomcat. This was working previously. Also, if I deploy my application to Tomcat manually, it works as expected.

At first, the Jasper Validation would fail due to the JSPs not being compiled with Java 8, which was odd because all the settings pointed to Java 8 being the default SDK, and the Tomcat configuration set the JSP compiler to Java 8. And like I said, this *was* working.

Then I re-imported the module, configured everything again, using the same Tomcat instance. Now it no longer complains about the JSPs, and appears to start up, but it does not deploy my application. Any HTTP requests to the Tomcat server return 404. No errors show in Catalina or Localhost logs.

Nothing seems relevant in the Intellij log file.

I'm on macOS 10.13.4

What can I do to fix this?

0
2 comments
Avatar
Permanently deleted user

Update: I downgraded to 2017.3.5, and loaded the project. I had to re-import it again. The same error occurred. After banging my head on my desk, I decided that I would restart my computer (again) and see if that changed anything. Well, it works now. I have no idea what happened. If anybody has any clues, I am curious.

0

>Now it no longer complains about the JSPs, and appears to start up, but it does not deploy my application. Any HTTP requests to the Tomcat server return 404. No errors show in Catalina or Localhost logs.

May be the tcp port was occupied by another process (e.g. another Tomcat instance has been already running).

If issue occurs again, please post complete textual output from Run(Debug) tool window when you deploy the application. Thanks.

0

Please sign in to leave a comment.