`
lan13217
  • 浏览: 482466 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

mvn tomcat7:run debug sourcelookup faile

 
阅读更多
Source not found might be legitimate for dynamically loaded code (e.g. Maven).

There are three workarounds known to me (after months of search):

Connect to a running JVM with the debugger and you will see the code.

Use Dynamic Source Lookup plugin for Eclipse from here:

https://github.com/ifedorenko/com.ifedorenko.m2e.sourcelookup

Use run-jetty-run Maven plugin

http://code.google.com/p/run-jetty-run/

I prefer and recommend 3. It works and starts webapp much faster than jetty:run.

Unfortunately 2. didn't helped me as it has issues with Windows paths with spaces.

I have filled an enhancement request on Eclipse Bugzilla and if you agree this issue "Source not found" should vanish forever, please vote for it here:



from http://stackoverflow.com/questions/9474981/java-debugging-source-not-found/11452410#1145241
分享到:
评论

相关推荐

    oauth-spring框架

    $ mvn tomcat7:run and visit the app in your browser at http://localhost:8080/tonr2/ to check that it works. (This is for the OAuth 2.0 sample, for the OAuth 1.0a sample just remove the "2" from the ...

    thymeleafexamples-springmail-3.0-master.zip

    You can deploy the application any Java servlet container or executing the application on an embedded Tomcat 7 with mvn tomcat7:run (the application will be at http://localhost:8080/springmail/).

    使用Maven tomcat:run命令启动web项目时修改默认端口的方法

    今天小编就为大家分享一篇使用Maven tomcat:run命令启动web项目时修改默认端口的方法,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧

    cxf webservice demo

    soap和rest实现常用接口, 此项目为maven项目,集成tomcat7, 运行 mvn tomcat7:run

    CVDS实验室5

    mvn tomcat7:run 解决服务器错误“在当前项目和存储库中可用的插件组[org.apache.maven.plugins,org.codehaus.mojo]中找不到前缀'tocmat7'的插件” siguiente comando: mvn clean install tomcat7:run Debemos ...

    cui-java-app

    CUI Java Web应用程序包装CUI下载的基本Web应用程序。 Maven项目具有Tomcat码头和Tomcat的servlet依赖关系和maven... mvn clean installmvn jetty:run将mvn tomcat7:run替换为mvn jetty:run以在tomcat下运行。 浏览至:

    thymeleafexamples-thvsjsp:Thymeleaf与JSP-“ Spring MVC视图层”的配套应用程序

    您可以在以下位置获得它: http://maven.apache.org干净的编译产品: mvn clean编译: mvn compile在tomcat服务器中运行: mvn tomcat7:run启动后,该应用程序应该位于以下位置: http://localhost:8080/thvsjsp

    thymeleafexamples-extrathyme:ExtraThyme-“扩展Thymeleaf”教程的伴侣应用程序,可从Thymeleaf网站上下载

    您可以在以下位置获得它: http://maven.apache.org干净的编译产品: mvn clean编译: mvn compile在tomcat服务器中运行: mvn tomcat7:run启动后,该应用程序应该位于以下位置: http://localhost:8080/extrathyme

    gtvg:ThymeLeaf虚拟杂货店

    百里香的例子:百里香的虚拟杂货 这是一个示例项目,其中包含“使用Thymeleaf”教程中使用的代码。 了解更多: ... mvn tomcat7:run 启动后,该应用程序应该位于以下位置: http://localhost:8080/gtvg

    thymeleafexamples-gtvg:Good Thymes虚拟杂货店-可在Thymeleaf网站上下载的“ Using Thymeleaf”教程配套应用程序

    百里香的例子:百里香的虚拟杂货 这是一个示例项目,其中包含“使用Thymeleaf”教程中使用的代码。 了解更多: ... mvn tomcat7:run 启动后,该应用程序应该位于以下位置: http://localhost:8080/gtvg

    thymeleafexamples-stsm:Spring Thyme Seedstarter Manager-“ Thymeleaf + Spring 3”教程的配套应用程序,可从Thymeleaf网站下载

    Thymeleaf示例:Spring Thyme Seedstarter Manager 这是一个示例项目,其中包含“ Thymeleaf + Spring”教程中使用的代码。... mvn tomcat7:run 启动后,该应用程序应该位于以下位置: http://localhost:8080/stsm

    thymeleaf-spring-rest-apache-httpclient

    Thymeleaf示例:Spring Thyme Seedstarter Manager 这是一个示例项目,其中包含“ Thymeleaf + Spring”教程中使用的代码。... mvn tomcat7:run 启动后,该应用程序应该位于以下位置: http://localhost:8080/stsm

    spring-boot-aws-showcase

    mvn tomcat7:run-war 在 aws 上运行 为了在 AWS 上运行应用程序,您需要一个帐户并调整 pom.xml 中的属性值。 您必须在 settings.xml 中设置“访问密钥 ID”和“秘密访问密钥”。 请参考的设置文档。 该演示显示...

    JAX-WS发布webservice例子

    JAX-WS发布webservice例子,基于http://blog.csdn.net/yy_love_my/article/details/44938329所说的做的一个简单且能运行的列子,基于maven工程,如果使用servlet发布方式,执行命令:mvn tomcat7:run

    inf-sso:sso服务器和shiro客户端集成

    设置hosts文件,添加两个本地映射127.0.0.1 ssoclient127.0.0.1 ssoserver进入client输入mvn tomcat7:run启动shiro cas客户端进入server输入mvn jetty:run启动cas服务端(因为tomcat不支持war包的overlay)打开...

    spring-webapp-no-xml:一个简单的 Spring webapp 项目,它使用纯 Java 配置 (no-xml) 演示 Spring 配置

    建立战争mvn package - 构建一个 war 文件,例如target/spring-webapp-no-xml.war运行示例mvn tomcat7:run - 在嵌入式 Tomcat7 中运行应用程序,如pom.xml所指定,或将target\spring-webapp-no-xml.war到正在运行的 ...

    基于SSM+Druid+Shrio+Ehcache构建CMS系统

    运行系统 ...进入Autumn-Framework目录cd Autumn-Framework ...在执行mvn tomcat7:run 最后在浏览器中访问localhost:8081,就可以看到登录界面 Tips:以上所有操作基于您的电脑已经安装了jdk8、maven3和git环

    Usermanagement2:SpringMVC

    用户管理2 SpringMVC Spring MVC 展示 通过小而简单的用户管理示例演示 Spring ... $ mvn tomcat7:run [-Dmaven.tomcat.port=] (以防8080忙] 或者 在您首选的 IDE 中,例如 SpringSource Tool Suite (STS) 或 IDEA:

    java-projekt:PA165 设计

    发射 您可以在CreatureHunting目录... mvn tomcat7:run 并在以下网址启动 Web 应用程序: 使用以下命令在CreatureHunting \ biohunting-restClient 目录中启动其余 Web 客户端: mvn tomcat7:run 在 url 启动网络:

    atmosphere-samples:大气样本

    您可以通过单击其名称来下载样本,或克隆工作区,构建它,然后执行 mvn jetty:run 或者 mvn tomcat7:run 推荐的入门示例是聊天,它演示了使用AtmosphereHandler或jquery-pubsub进行的所有传输的用法,它们演示

Global site tag (gtag.js) - Google Analytics