Intellij IDEA - Debug Liferay 7.1  

Fix for debugging Liferay 7.1 from Intellij IDEA

Vitaliy Koshelenko
Vitaliy Koshelenko
Less Than a Minute Read

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

Page Comments

Thanks for sharing!  I was running into this issue and was unsure how to fix it.

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)

The Technicalities of Static Sites

David Oliveira Montenegro
View Blog >

Customization is Dead! Long Live Customization!

David H Nebinger
View Blog >
customization banner image.png

Public Bug Bounty Program

David H Nebinger
View Blog >
bugbounty.png
Showing 1 to 3 of 3 entries.