问题描述:

the source attachment does not contain the source for the file xxx.class无法关联到某个类-LMLPHP

按下列操作添加相应路径(这里是错误操作)

the source attachment does not contain the source for the file xxx.class无法关联到某个类-LMLPHP

该问题仍旧无法解决:

注意:这里spring-webmvc-4.1.7.RELEASE.JAR中确实包含AnntationMethodHandlerAdapter.class文件

the source attachment does not contain the source for the file xxx.class无法关联到某个类-LMLPHP

正确操作:

the source attachment does not contain the source for the file xxx.class无法关联到某个类-LMLPHP

将这两个文件进行解压:

spring-webmvc-4.1.7.RELEASE-sources.jar

spring-webmvc-4.1.7.RELEASE.jar

可以发现:

spring-webmvc-4.1.7.RELEASE-sources.jar  存放的是.Java文件

spring-webmvc-4.1.7.RELEASE.jar  存放的是对应的.class文件

05-06 05:55