我使用Wildfly 10和Eclipse開發的應用程序,並且需要通過這個調試到一個類TransactionScopedEntityManager「堅持」的方法:如何找到Wildfly Eclipse中調試源代碼
entityManager.persist(member);
然而,當我按下F5進入Eclipse時,我收到了
Source not found
Edit source lookup path
TransactionScopedEntityManager類的來源位於何處?在我的〜/ .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/
它擁有所有這些目錄。在哪裏可以找到類的源代碼?
我搜索了「TransactionScopedEntityManager」,但沒有找到該文件。我沒有wildfly-master目錄。 – user697911
wildfly-master目錄是wildfly的官方源代碼。轉到github並搜索wildfly。你可以從github上下載它。這裏是鏈接https://github.com/wildfly/wildfly – Catenation
我可以從那裏下載,但我的應用程序不會在我的項目中使用它。我如何在Eclipse調試中使用這個源代碼? – user697911