• mven web 注意事项


    maven web 注意事项

    1. maven 项目默认不会把 Libraries 排出到 web/WEB-INF/lib

    1. 点击 file -> Project Structure... 打开项目结构

    2. 点击 Artifacts

    3. 点击 Put into Output Root

      mwON

      2 . mvaen 默认不会排出 xml 文件,在 pom 文件中添加

      <!--  强制排出   -->
          <build>
              <resources>
                  <resource>
                      <directory>src/main/java</directory>
                      <includes>
                          <include>**/*.properties</include>
                          <include>**/*.xml</include>
                      </includes>
                      <filtering>false</filtering>
                  </resource>
                  <resource>
                      <directory>src/main/resources</directory>
                      <includes>
                          <include>**/*.properties</include>
                          <include>**/*.xml</include>
                      </includes>
                      <filtering>false</filtering>
                  </resource>
              </resources>
          </build>
      
  • 相关阅读:
    Tuesday / Wednesday = Increased Response
    脚本语言
    py2exe
    脚本语言
    访问者模式
    C调用lua脚本的效率测试
    Python编码规范
    py2exe
    Python编码规范
    访问者模式
  • 原文地址:https://www.cnblogs.com/javayanglei/p/13547136.html
Copyright © 2020-2023  润新知