原因尚且未知,网上找到的几种解决方法如下:
1.Debug 视图下
-》在调试的线程上 右键单击
-》选择Edit Source Lookup Path
-》选择Add
-》选择Java Project
选择相应的Project 进行OK确定即可
——添加完相应的项目之后,还是出现这个错误 ?
2.
Window --> Preferences --> Tomcat --> Source Path,在Source Path 标签下有行文字:Add java projects to source path(Eclipse debugger will search for source files in these projects),将要调试的project选中,
3.
tomcat server.xml debug=0 如果设置的是1 就会显示source not found——server.xml里面没有看到debug=0或1 ?
但自己试了上面几个方法之后,都不行。后来乱点一通解决了。方法:
Window --> Preferences --> Java --> Compiler
把Compiler compliance level的值,设为1.6 就行了。
原因是原来我的jdk版本是1.7,上面编译的level就是1.7。后来我改装回1.6的jdk,eclipse没有自动改回来,所以出现这个问题。
相关推荐
Eclipse Debug的Flash教程
eclipse-sourceBuild-srcIncluded-3.6.2
eclipse debug (调试) 学习心得
eclipse仿sourceinsight主题模板,习惯于sourceinsight风格,转到eclipse试用,Mac下使用是ok的
在Eclipse中使用debug(Eclipse调试常用技巧)
eclipse中debug技巧,实用技巧。
使用eclipse查看java源码报错source not found-附件资源
Eclipse_debug技
Eclipse Debug不为人知的秘密
Eclipse调试Debug的常用技巧,所有的调试方式.
在Eclipse中使用debug(Eclipse调试常用技巧)
eclipse debug (调试) 技巧
Eclipse Debug 调试技巧入门
java的调试技巧,应该很实用的,主要是针对Eclipse的操作讲述,讲述了多种调试技巧
Eclipse 的 Debug 介绍与技巧
eclipse debug 调试技巧入门 基本够用
requires 'org.eclipse.emf 2.6.0' but it could not be found),解决方法:将“离线解决方案”文件夹中的org.eclipse.emf 2.6.0的jar,拷贝到自己的eclipse的plugin文件夹下面,重启eclipse再次安装activiti插件就...
精品专题课件(2021-2022年收藏)
NULL 博文链接:https://gdmao.iteye.com/blog/1159580
Android 开发之Eclipse Debug调试详解