ICode9

精准搜索请尝试: 精确搜索
  • maven安装2021-08-15 22:03:40

    官网下载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>

  • Nexus3.x批量导入本地库(Windows版)2021-08-14 17:32:12

    “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

  • 在linux里安装/卸载mysql2021-08-07 20:01:39

    安装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

  • Java高级程序员必备技能,【Spring Cloud 1(1)2021-08-07 09:07:10

    在日常开发中,我们通常会将一个大型的软件系统拆分成若干个子系统。这种划分有可能是基于架构方面的考虑,也有可能是基于基础设施的。在DDD中,我们对系统的划分是基于领域(基于业务)的。比如上文提到支付平台是一个领域,而账户、会记、收款、付款等则为子领域。一个领域由众多子

  • git相关2021-08-05 16:03:52

    git如何删除创建的仓库:一、点击进入你要删除的repository,点击右侧的Settings;二、在该Repo的Settings页面最下方有Delete this repository 按钮,输入仓库名称点击确认删除(仓库名称前后不要有空格);git如何设置仓库为私有不可见:一、点击进入你要修改的repository,点击右侧的Settings;二、

  • Maven 使用2021-08-05 15:33:31

    instell 之后就装载到maven 中的repository      

  • Mybatis-plus项目中抛Invalid bound statement (not found)异常2021-08-03 17:01:52

    一、出现该问题有两种情况: 1、调用Iservice中的方法 2、调用BaseMapper中的方法 二、出现原因(这只是其中一种,本人项目中遇到的): @MapperScan(“com.XXX.repository”)包名的原因 三、解决方法: 将注解中的包名写到使用@Mapper注解的类的具体包名 如:有这么个类,继承了BaseMapper,

  • Docker的执行命令2021-08-03 09:34:48

    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

  • Communications link failure这个怎么调不懂2021-07-31 12:02:36

    "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\

  • 本地已存在jar包,maven打包还是去下载2021-07-29 17:03:44

    解决方法 在pom文件里面添加以下: file后修改为本地仓库的位置 oss file:C:\Users\admin\.m2\repository <pluginRepositories> <pluginRepository> <id>oss</id> <url>file:C:\Users\admin\.m2\repository</url>

  • sql按时间查询,在某个时间段中2021-07-29 16:03:55

    SQL语句: 在java持久层中: 1、Repository 2、Mapper

  • Spring Boot中mapper注解的注意事项2021-07-29 13:30:41

    背景介绍 首先需要知道MyBatis并不是Spring Boot的,它是其它的框架,只不过Spring Boot支持MyBatis的融合。@Mapper注解是MyBatis下的注解,而@Repository是Spring下的注解。Spring的初心是为了简化而生,但随着Spring的发展,需要编写大量的配置文件,有点违背初心。因此,Spring推出Spring

  • Git学习2021-07-28 17:59:34

    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 repository2021-07-28 10:35:11

    在k8s上部署gitlab正常访问,但是创建项目提示Failed to create repository gitlab-ctl tail gitlab-rails查看日志有err信息 redis ERR unknown command 'UNLINK'  原因:redis3.x版本太低导致,redis升级到5.x版本问题解决   总结:通过日志可以解决大部分问题

  • jpa文档笔记2021-07-27 20:01:31

    未完待续 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

  • docker 常用命令2021-07-26 13:29:46

    1 常用帮助命令: docker info : 显示 Docker 系统信息,包括镜像和容器数。。 docker version :显示 Docker 版本信息。 docker help 2 镜像命令: docker images 来列出本地主机上的镜像。 便笺 各个选项说明: REPOSITORY:表示镜像的仓库源 TAG:镜像的标签 IMAGE ID:镜像ID

  • android_安装问题_AndroidStudio SSL peer shut down incorrectly2021-07-24 15:03:46

    AndroidStudio SSL peer shut down incorrectly 问题 AndroidStudio 编译时出现如下问题 SSL peer shut down incorrectly 或者某些jar包下载不下来,一般是因为墙的原因导致的。这时候我们就需要配置镜像来解决这个问题。(为了提高jar包的下载速度也可以配置)配置的方法就是在根

  • 解决No bean named ‘accountService‘ available错误2021-07-20 19:02:46

    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

  • @Resource、@Autowired等几个注解的区别2021-07-20 19:02:05

    Spring几种注解 1、@Autowired和@Resource注解的区别2、@Component, @Repository, @Service,@Repository, 1、@Autowired和@Resource注解的区别 共同点:两者都可以写在字段和setter方法上。两者如果都写在字段上,那么就不需要再写setter方法。 @Autowired 来源:spring提供—

  • AndroidStudio 构建报错 Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler2021-07-19 10:32:16

    Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler@TOC studio 第一次安装或者升级到4.2+的版本后,构建项目报错,原因很简单,因为项目配置的java路径不对 因为更新版本后项目默认的jdk 路径会变成studio自带的jdk路径,此时需要在“环境变量”

  • yum报错:One of the configured repositories failed (CentOS-7 - Addons - sohu.com), and yum doesn'2021-07-14 14:33:15

    报错总结: 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

  • Maven安装2021-07-12 11:34:54

       win10环境下安装Maven(其他Windows系统差不多) 一、maven下载   下载地址:https://maven.apache.org/download.cgi   下载如下红色部分     二、环境变量不配置   1、MAVEN_HOME   C:\Program Files\apache-maven-3.8.1   2、设置path     我自己是用户变量中的path

  • Android项目报错收录2021-07-09 22:58:42

    导入项目报错 your project file contains non-ASCII characters 检查路径中是否有中文,并更改之 导入项目后,build报错 没有引入buildscript; build.gradle 下载超级慢解决 buildgradle使用的是谷歌服务器,一些国外的依赖下载极慢,所以引入阿里镜像。 buildscript { repo

  • 定位Unity安卓包不易现的Bug方案——在Android Studio里面调试Unity的安卓包2021-07-09 18:33:56

    第一步在unity导出项目文件 第二步把项目导入Android Studio 第三步打开 build.gradle 文件 ps:如果没有找到在右上方进行搜索 然后把内部代码全部替换掉 // Top-level build file where you can add configuration options common to all sub-projects/modules. builds

  • maven~nexus开启游客下载2021-07-08 10:35:44

    对于nexus这个私服务来说,匿名默认是不能下载包的,需要在nexus服务端进行配置 配置 添加nexus私服 <!-- nexus下载包配置 --> <repositories> <repository> <id>maven-public</id> <url>http://192.168.0.203:8081/repository/maven-public/</url>

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有