add -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8074 to JRE options, suspend=y for suspend, 8074 is debug port.
kill -3 pid (linux) or send ctrl-break from keyboard to console (windows)
from Eclipse 3.7, check windows > preferences > general > workspace > Refresh using native hooks or polling
try jrebel (install using eclipse marketplace)
right click file > open with, select proper editor.
windows > preferences > Java > Compiler > Deprecated and restricted API, set Forbidden reference to Warning.
Preferences > Java > Editor > Typing, check "Escape text when pasting into a string literal"
in pom file, add:
<repositories>
<repository>
<id>project.local</id>
<name>project</name>
<url>file:${project.basedir}/repo</url>
</repository>
</repositories>
in pom file, add:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<DependencyConvergence />
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
add -Djava.security.egd=file:/dev/./urandom to JRE options