zoukankan      html  css  js  c++  java
  • 渚漪Day11——JavaWeb 02【Maven】

    Maven

    1、下载Maven

    2、配置环境

    3、阿里云镜像

    <mirror>
        <id>nexus-aliyun</id>
        <mirrorOf>*,!jeecg,!jeecg-snapshots</mirrorOf>
        <name>Nexus aliyun</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </mirror>
    

    4、本地仓库及配置

    5、IDEA中使用Maven

    6、Tomcat在IDEA中配置

    得到的结论是Tomcat10是无法在IDEA中配置的,报错为 Application server libraries not found

    解决方法:下载Tomcat9版本,再更改环境变量为 Tomcat9 地址,解决

    HelloMaven

    Mean仓库

    https://mvnrepository.com/

    配置

        <build>
            <resources>
                <resource>
                    <directory>src/main/resources</directory>
                    <includes>
                        <include>**/*.properties</include>
                        <include>**/*.xml</include>
                    </includes>
                    <filtering>true</filtering>
                </resource>
                <resource>
                    <directory>src/main/java</directory>
                    <includes>
                        <include>**/*.properties</include>
                        <include>**/*.xml</include>
                    </includes>
                    <filtering>true</filtering>
                </resource>
            </resources>
        </build>
    
  • 相关阅读:
    jQuery标签操作
    Bootstrap和Font Awesome
    jQuery拾遗
    Bootstrap笔记
    软件测试
    Day01 第一个Python程序
    cd指令
    ls命令
    type命令
    每天一个Linux指令
  • 原文地址:https://www.cnblogs.com/ijuysama/p/12755775.html
Copyright © 2011-2022 走看看