Eclipse集成Maven插件tomcat部署 Debug jar包的源码联结
生活随笔
收集整理的这篇文章主要介绍了
Eclipse集成Maven插件tomcat部署 Debug jar包的源码联结
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
在的项目Pom.xml中最后加入:
<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-eclipse-plugin</artifactId><version>2.9</version><configuration><additionalProjectnatures><projectnature>org.eclipse.jdt.core.javanature</projectnature><projectnature>org.eclipse.m2e.core.maven2Nature</projectnature><projectnature>org.springframework.ide.eclipse.core.springnature</projectnature></additionalProjectnatures><additionalBuildcommands><buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand><buildcommand>org.eclipse.m2e.core.maven2Builder</buildcommand><buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand></additionalBuildcommands></configuration></plugin></plugins> </build>然后再项目目录下执行:
mvn dependency:sources 然后执行:
mvn eclipse:eclipse
再刷新一下eclipse的项目空间.
=================================
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/
总结
以上是生活随笔为你收集整理的Eclipse集成Maven插件tomcat部署 Debug jar包的源码联结的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 谨慎升级 等了2个月的AMD新驱动疑似翻
- 下一篇: jqGrid getGridParam办