title: IntelliJ Idea tomcat Hot swap failed: schema change not implemented Operation not supported by VM
body: <p>I got this error when I try to reload class (hot swap) with changed method bodies in my project. Before everything works fine, but suddenly it stop and I don't remember nothing what could be a cause. What is strange I have another project with the same setting and hot swap for method bodies works fine.</p>
  
  <p>Here is configuration for <strong>NOT-working</strong> project:</p>
  
  <p><img src="https://i.stack.imgur.com/eXscD.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/9Cn2Q.png" alt="enter image description here"></p>
  
  <p>And my VM settings:</p>
  
  <pre><code>-XX:PermSize=512m
  -XX:MaxPermSize=1024m
  -Xms1024m
  -Xmx2048m
  -Dcatalina.home="C:\Programy\apache-tomcat-7.0.57"
  -Djava.endorsed.dirs="C:\Programy\apache-tomcat-7.0.57\endorsed"
  -javaagent:C:\Programy\apache-tomcat-7.0.57/lib/spring-instrument-3.1.2.RELEASE.jar
  -Dspring.profiles.active=closeMonthTest
  -Dnpk.jobs.enabled=true
  </code></pre>
  
  <p>and here is configuration for my <strong>working</strong> project:</p>
  
  <p><img src="https://i.stack.imgur.com/tYqCa.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/Fw9rJ.png" alt="enter image description here"></p>
  
  <p>VM options:</p>
  
  <pre><code>-XX:PermSize=512m
  -XX:MaxPermSize=1024m
  -Xms1024m
  -Xmx2048m
  -Dcatalina.home="C:\Programy\apache-tomcat-7.0.57"
  -Djava.endorsed.dirs="C:\Programy\apache-tomcat-7.0.57\endorsed"
  -javaagent:C:\Programy\apache-tomcat-7.0.57/lib/spring-instrument-3.1.2.RELEASE.jar
  -Dspring.profiles.active=test
  </code></pre>