当前位置: 代码迷 >> Java Web开发 >> 在Eclipse中,如何查看某个类的源代码
  详细解决方案

在Eclipse中,如何查看某个类的源代码

热度:132   发布时间:2016-04-17 10:41:42.0
在Eclipse中,怎么查看某个类的源代码啊
import org.apache.struts.actions.DispatchAction;
也知道它所在包的绝对路径,但它是个JAR文件啊,没办法看源码的:Source not found
The source attachment does not contain the source for the file DispatchAction.class.You can change the source attachment by clicing Change Attached Source bellow:

怎么才可以看到它的源码啊?


------解决方案--------------------
你需要下载struts的源码,然后去找
------解决方案--------------------
我记着是 按住Ctrl 用鼠标点就可以了
------解决方案--------------------
反编译啊
------解决方案--------------------
F3
  相关解决方案