我使用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