zoukankan      html  css  js  c++  java
  • eclipse+tomcat+maven debug的时候总是出现source not found /Edit lookup path...的问题解决方案

    eclipse+tomcat+maven debug的时候总是出现source not found /Edit  lookup path...的问题解决方案

    这个问题纠结好久好久....

    问题出现的环境

      IED:eclipse

      包管理:maven

      容器:tomcat

      项目debug struts中的源码

    问题描述

      编写好代码之后,想着跟踪一下源码看看,可是总是出现

    enter image description here

    按照以往经验,直接点击[edit.....]关联上本工程之后就可以debug.在完成关联之后,会出现下面的情况

      突然出现断点指向的源码,然后又消失,继续出现上面的情况.

    百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....百度..... google ....(一路很辛苦,就把他当做分割线吧)

    解决方案

    一个叫sourcelookup的eclipse插件,已经添加到了maven development tools里,在eclipse里install new software,安装即可。 
    地址为 
    http://ifedorenko.github.com/m2e-extras/

    但是有一个问题,安装maven development tools之前必需安装m2e,而且是需要1.6+(在我安装时,可能会变),从下面网址得到m2e的各种版本的地址 
    http://www.eclipse.org/m2e/m2e-downloads.html

    全安装完之后重启eclipse,我在maven install的时候出现了SunCertPathBuilderException错误

    查看:
    http://www.69900.com.cn/a_small_mouse/article/details/50291045

    到此为止已经完美解决这个问题了^_^.只能说太TM累了,但是很轻松~~

  • 相关阅读:
    JSP脚本的9个内置对象
    JSP基础
    修改 MySQL Workbench editor的字体
    pb datawindow语法
    SqlServer 查询死锁,杀死死锁进程
    pb设计笔记
    sql server网络备份
    数据库设计
    各种默认回车提交表单
    jQuery选择器 (详解)
  • 原文地址:https://www.cnblogs.com/plxx/p/5336663.html
Copyright © 2011-2022 走看看