Intellij IDEA - Debug Liferay 7.1  

Fix for debugging Liferay 7.1 from Intellij IDEA

Problem:

Running Liferay 7.1 from IDEA in Debug mode throws the following error by default:

java.lang.NoClassDefFoundError: com/intellij/rt/debugger/agent/CaptureStorage

However, Run mode works without any issues.

 

Fix:

Disable Instrumenting agent in "Settings | Build, Execution, Deployment | Debugger | Async Stacktraces":

Hope, this will help :)

Vitaliy

More Blog Entries

Blogs

Hey Vitaliy,

Thanks for sharing!  IDE team had a commit to disable this option from code base in the latest plugin (it would be included in release 1.2.1)