zoukankan      html  css  js  c++  java
  • ENV-dev-eclipse debug关联代码脚本

    1)

    debug配置里必选  Resolve Workspace artifacts

    2)

    maven 配置 Download Artifact Sources

    3)

    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

    重启eclips
  • 相关阅读:
    课堂作业1
    懒人创造了方法
    四则运算
    动手动脑与原码反码补码
    java测试感受
    暑假进度报告四
    暑假进度报告三
    暑假进度报告二
    暑假进度报告一
    《大道至简》读后感
  • 原文地址:https://www.cnblogs.com/heling/p/11733046.html
Copyright © 2011-2022 走看看