the JAR file spring-beans-4.0.0.RELEASE.jar has no source attachment

查看FactoryBean源码

Ctrl+Shift+t出现图1

选中FactoryBean,open后出现图2

点Attach Source,出现图3:

点External File找spring-beans-4.0.0.RELEASE-sources.jar添加进Path,OK。

注意,若是要看别的源码,首先要知道它在哪个jar包,把相应jar包添加进去就行了。

猜你喜欢

转载自www.cnblogs.com/Ceciliamumu/p/10951691.html