I am using Wildfly 10 and Eclipse develop an application, and need to debug into a class TransactionScopedEntityManager through this "persist" method:
entityManager.persist(member);
However, in Eclipse when I pressed F5 to step into, I received
Source not found
Edit source lookup path
Where is the source of the class TransactionScopedEntityManager located? In my ~/.m2/repository/org/jboss/:
aesh/ integration-platform/ jboss-parent/ jdf/ marshalling/ remotingjmx/ shrinkwrap/ staxmapper/ weld/
arquillian/ jboss-dmr/ jboss-vfs/ logging/ remoting/ sasl/ spec/ threads/ xnio/
It has all those directories. Where to find the source code of the class?
Download the "Application Server Source Code" zip from http://wildfly.org/downloads/ , expand it somewhere and configure the Source Lookup of Eclipse to also look into that folder.
Download the source code, matching your runtime, from the wildfly project page. Extract to a location. Open the 'server view'. Select your server runtime and hit f3 (or rightclick and click 'open'). Click 'open launch configuration'. Go to tab 'Source'. Click 'Add'. Select 'File System Directory' and hit 'Ok'. Choose the location that you extracted the source to and check 'Search subfolders'. Confirm with 'OK'-
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With