官网下载maven maven3.5.2 创建文件夹存放依赖 maven\repository 配置环境变量 MAVEN_HOME=F:\maven\apache-maven-3.5.2 path=%MAVEN_HOME%\bin\ 修改setting文件 <localRepository>D:/maven/repository</localRepository>
“mavenimport.sh” 脚本内容: #!/bin/bash # copy and run this script to the root of the repository directory containing files # this script attempts to exclude uploading itself explicitly so the script name is important # Get command line params while getopts &q
安装mysql5.7 下载yum Repository wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 安装yum Repository yum -y install mysql57-community-release-el7-10.noarch.rpm 安装mysql5.7 yum -y install mysql-community-server 开机自启动 sy
在日常开发中,我们通常会将一个大型的软件系统拆分成若干个子系统。这种划分有可能是基于架构方面的考虑,也有可能是基于基础设施的。在DDD中,我们对系统的划分是基于领域(基于业务)的。比如上文提到支付平台是一个领域,而账户、会记、收款、付款等则为子领域。一个领域由众多子
git如何删除创建的仓库:一、点击进入你要删除的repository,点击右侧的Settings;二、在该Repo的Settings页面最下方有Delete this repository 按钮,输入仓库名称点击确认删除(仓库名称前后不要有空格);git如何设置仓库为私有不可见:一、点击进入你要修改的repository,点击右侧的Settings;二、
instell 之后就装载到maven 中的repository
一、出现该问题有两种情况: 1、调用Iservice中的方法 2、调用BaseMapper中的方法 二、出现原因(这只是其中一种,本人项目中遇到的): @MapperScan(“com.XXX.repository”)包名的原因 三、解决方法: 将注解中的包名写到使用@Mapper注解的类的具体包名 如:有这么个类,继承了BaseMapper,
docker images 列出所有的镜像 lenovo@LAPTOP-VF59N6TV MINGW64 /d/Docker/Docker Toolbox $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE`` `lenovo@LAPTOP-VF59N6TV MINGW64 /d/Docker/Docker Toolbox $ docker image
"E:\Program Files\Java\jdk1.8\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:64215,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -javaagent:C:\Users\sunshine\AppData\Local\
解决方法 在pom文件里面添加以下: file后修改为本地仓库的位置 oss file:C:\Users\admin\.m2\repository <pluginRepositories> <pluginRepository> <id>oss</id> <url>file:C:\Users\admin\.m2\repository</url>
SQL语句: 在java持久层中: 1、Repository 2、Mapper
背景介绍 首先需要知道MyBatis并不是Spring Boot的,它是其它的框架,只不过Spring Boot支持MyBatis的融合。@Mapper注解是MyBatis下的注解,而@Repository是Spring下的注解。Spring的初心是为了简化而生,但随着Spring的发展,需要编写大量的配置文件,有点违背初心。因此,Spring推出Spring
Git基础操作 1.安装Git1.1 查看本机是否安装Git1.2 安装Git 2. Git初始操作2.1 创建版本库2.2 把文件添加到版本库 3. 文件管理3.1 文件版本的回退3.2 工作区,暂存区,分支master3.3 撤销修改3.4 删除文件 4. 分支控制4.1 创建分支4.2 合并分支4.3 删除分支4.4 Bug分支 1.
在k8s上部署gitlab正常访问,但是创建项目提示Failed to create repository gitlab-ctl tail gitlab-rails查看日志有err信息 redis ERR unknown command 'UNLINK' 原因:redis3.x版本太低导致,redis升级到5.x版本问题解决 总结:通过日志可以解决大部分问题
未完待续 spring jpa 1. 参考链接 https://www.jianshu.com/p/c23c82a8fcfc https://docs.spring.io/spring-data/jpa/docs/2.4.11/reference/html/#preface 2. 核心类 Repository, CrudRepository, PagingAndSortingRepository 3. 使用方式 3.1. 声明接口 interface Perso
1 常用帮助命令: docker info : 显示 Docker 系统信息,包括镜像和容器数。。 docker version :显示 Docker 版本信息。 docker help 2 镜像命令: docker images 来列出本地主机上的镜像。 便笺 各个选项说明: REPOSITORY:表示镜像的仓库源 TAG:镜像的标签 IMAGE ID:镜像ID
AndroidStudio SSL peer shut down incorrectly 问题 AndroidStudio 编译时出现如下问题 SSL peer shut down incorrectly 或者某些jar包下载不下来,一般是因为墙的原因导致的。这时候我们就需要配置镜像来解决这个问题。(为了提高jar包的下载速度也可以配置)配置的方法就是在根
No bean named 'accountService' available 错误信息解决方案 错误信息 "D:\Intellij\IntelliJ IDEA 2019.2.3\jbr\bin\java.exe" "-javaagent:D:\Intellij\IntelliJ IDEA 2019.2.3\lib\idea_rt.jar=54888:D:\Intellij\IntelliJ IDEA 2019.2.3\bi
Spring几种注解 1、@Autowired和@Resource注解的区别2、@Component, @Repository, @Service,@Repository, 1、@Autowired和@Resource注解的区别 共同点:两者都可以写在字段和setter方法上。两者如果都写在字段上,那么就不需要再写setter方法。 @Autowired 来源:spring提供—
Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler@TOC studio 第一次安装或者升级到4.2+的版本后,构建项目报错,原因很简单,因为项目配置的java路径不对 因为更新版本后项目默认的jdk 路径会变成studio自带的jdk路径,此时需要在“环境变量”
报错总结: 1.场景:内网环境,开通上网条件,可以ping通www.baidu.com,但是有yum进行install会报错 2.报错如下: One of the configured repositories failed (CentOS-7 - Addons - sohu.com), and yum doesn't have enough cached data to continue. At this point the only safe thing yu
win10环境下安装Maven(其他Windows系统差不多) 一、maven下载 下载地址:https://maven.apache.org/download.cgi 下载如下红色部分 二、环境变量不配置 1、MAVEN_HOME C:\Program Files\apache-maven-3.8.1 2、设置path 我自己是用户变量中的path
导入项目报错 your project file contains non-ASCII characters 检查路径中是否有中文,并更改之 导入项目后,build报错 没有引入buildscript; build.gradle 下载超级慢解决 buildgradle使用的是谷歌服务器,一些国外的依赖下载极慢,所以引入阿里镜像。 buildscript { repo
第一步在unity导出项目文件 第二步把项目导入Android Studio 第三步打开 build.gradle 文件 ps:如果没有找到在右上方进行搜索 然后把内部代码全部替换掉 // Top-level build file where you can add configuration options common to all sub-projects/modules. builds
对于nexus这个私服务来说,匿名默认是不能下载包的,需要在nexus服务端进行配置 配置 添加nexus私服 <!-- nexus下载包配置 --> <repositories> <repository> <id>maven-public</id> <url>http://192.168.0.203:8081/repository/maven-public/</url>