Cannot see sources will debugging on local JBoss server Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of Cannot see sources will debugging on local JBoss server without wasting too much if your time.

The question is published on by Tutorial Guruji team.

I have a project producing a .war file, I created a local JBoss 7.1 server in eclipse referencing my local JBoss installation. Then I start the local server in debug mode, copy my war file to {JBOSS_HOME}standalonedeployments, and it deploys it correctly.

But when I add a breakpoint in eclipse, the code stops like it should, but showing me a “Source not found” white page.

How can I link or synchronize the source code to my local server?
Thank you.

Answer

Okay so I solved my problem and it seems pretty obvious now that I found it :

My project is generating a projectname.war, and a projectname-sources.jar, I just had to deploy also the projectname-sources.jar

We are here to answer your question about Cannot see sources will debugging on local JBoss server - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji