Why update in class servlet by IDEA after deploy not apply in Tomcat project?

Answered

Hello,

I used Intellij IDEA 2017.1, app server Tomcat 9.0.0.M19 and browser Google Chrome 57.0.2987.133 (64-bit)

I added new line in class servlet and tryeid to deploy new change in Tomcat project.

Procedure finished deploy whithout error.

I see update in folder

but after checked change by browser, I had seen - change not appled.

Why update in class servlet by IDEA after deploy not apply in Tomcat project?

How to solve this problem?

p.s.

deploy settings

settings artifacts



 

 

0
2 comments

See https://www.jetbrains.com/idea/help/updating-applications-on-application-servers.html.

Make sure you start in Debug mode. Your Tomcat version also has a bug which prevents proper deployment, it's recommended to use the previous version, see http://stackoverflow.com/a/43378181/104891 for details.

1
Avatar
Permanently deleted user

Serge, thank You for your reply.

I understood about bug.

BUT I found other resolve for this problem: in apache tomcat app sever in server.xml added context

 <Context path="/um" docBase="C:\Server\Tomcat\webapps\um\" reloadable="true">
</Context>

I activated parameter reloadable.

0

Please sign in to leave a comment.