Setup AEM in Eclipse and create a project

亡梦爱人 提交于 2019-12-06 11:31:28

I got the same issue, but if you double click the server instance in eclipse. It opens up the details, on the right at the end there is a option for Debug. Expand it and uncheck the Resolve sources when connecting.

Restart the server in debug mode w/o error.

Updates --

Also make sure that your AEM is running in the debug mode, you need to pass debug params to the JVM at start up -

-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n

Above 8000 is the debug port.

You can find more details here

Btw you can simply use a "-debug" flag with port number, instead of the lengthy -agentlib....

e.g

java -jar cq-quickstart-6.3.0.jar -r author -p 4502 -debug 30303
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!