ICode9

精准搜索请尝试: 精确搜索
  • 使用【Sonatype Nexus Repository Manager】搭建内部NPM源2021-07-07 17:00:30

    打算使用verdaccio搭npm私服的,公司不给服务器资源,只能使用现有的 Sonatype Nexus Repository Manager 使用有管理权限的账户登录 点齿轮图标设置 左侧菜单:repository/repositories/ 点 【create repository】 在类型列表中选【npm (proxy)】进行创建 代理npm源地址填入 npmjs 源

  • docker中registry和repository区别与联系2021-07-07 10:58:03

      文章目录 前言 registry repository   前言 docker 当前最火热的 devops 技术之一,docker hub 提供了各种丰富的环境供我们使用,这里我主要讲一下 docker 中registry和repository区别与联系 registry registry 解释 registry 英文原意是登记处,在 docker 中就是指像 docker hub

  • 源码解析为什么spring 被@Repository注解标识注入后是代理类2021-07-06 15:52:01

    背景 今天发现一个奇怪的问题,有一个类是用的@Repository注解标识注入的,并且这个类并没有配置任何带代理和aop配置。但是得到的这个类不是一个原生类,而是一个代理类,如果换成了Component注解这时候得到的类就是原生类 。下面分别演示下这两种情况。 先用@Repository注入得到的class

  • SpringBoot扫描不到jpa的repository2021-07-06 14:57:49

    @SpringBootApplication @ComponentScan(basePackages = {"com.bfr.mdpm"}) @EntityScan("com.bfr.mdpm.shared.domain.entity") //不在一个项目中需要配置 @EnableJpaRepositories(basePackages = { "com.bfr.mdpm.shared.persistence" }) //这个是repositor

  • 克隆git代码到本地时报“fatal: Could not read from remote repository. Please make sure you have the correct acc2021-07-06 01:01:28

    克隆代码时报错:git@gitee.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists. 怎么解决: 先查看当前的账号和邮箱, git config user.name git config user.email 如

  • docker私有仓库harbor配置helm chart仓库(安装helm chart插件)2021-07-05 17:58:49

    harbor配置helm chart仓库 1、harbor 安装的时候 默认没有helm charts的仓库,如果已经安装过重新执行安装即可,不需要prepare docker-compose stop ./install.sh --with-chartmuseum安装完成之后登录页面上就会有了 helm charts 了,页面上也可以直接上传charts 2、helm 需要安装插件

  • Github版本管理:笔记2021-07-05 17:01:25

    如何将写好的python项目文件上传到Github库? (以下前提都是安装了Git。) 其他方法 有很多种方法: Pycharm创建项目时设置:https://blog.csdn.net/Elaine_Lin86/article/details/111213129 Pycharm中Setting设置:https://www.cnblogs.com/ohlala/p/10896476.html 在文件夹右键菜单栏中,Gi

  • linux deepin sudo: add-apt-repository:找不到命令 解决办法2021-07-04 18:55:18

    解决办法 sudo apt-get install software-properties-common

  • Received status code 403 from server: ForbiddenDisable Gradle ‘offline mode‘ and sync project2021-07-01 19:32:51

    Could not HEAD 'https://dl.bintray.com/umsdk/release/cn/rongcloud/sdk/im_lib/4.0.3.15/im_lib-4.0.3.15.pom'. Received status code 403 from server: Forbidden Disable Gradle 'offline mode' and sync project   问题产生的原因是 第三方库的meven仓库变了 解决方案替

  • Spring @Controller,@Service,@repository,@Component注解2021-06-29 18:01:26

    引入 在过去我们通过在xml中加入标签的形式去将类交给Spring Bean容器管理,但是当我们的组件过多的时候,我们这种标签的形式显得麻烦而又复杂。 因此我们引入了@Controller,@Service,@repository,@Component注解。 这些注解作用于类上,他的作用等价于标签。 例如: @Controller pu

  • maven下载jar通过nexus3.2,并且下载到私有仓库2021-06-26 16:02:03

    在setting中加 <profile>         <!--profile 的 id-->         <id>dev</id>         <repositories>             <repository>                 <!--仓库 id,repositories 可以配置多个仓库,保证 id 不重复-->     

  • GIT上传下载报错:[You do not have permission to pull from the repository]的解决方案!2021-06-22 09:33:20

    git报错:You do not have permission to pull from the repository解决方案:修改windos凭据 第一步:打开我的电脑 第二步:选择此电脑,右击弹出框点击属性进入控制面板 第三步:进入控制面板 第四步:搜索管理凭据 第五步:编点击右侧按钮,进行编辑用户名和密码的操作添加凭据 git:https://gite

  • spring注解整一篇2021-06-21 16:53:10

    spring 基于注解开发,让我跟方便 这里说几个常用的 Spring注解@Component、@Repository、@Service、@Controller区别 所以,如果 Web 应用程序采用了经典的三层分层结构的话,最好在持久层、业务层和控制层分别采用 @Repository、@Service 和 @Controller 对分层中的类进行注释,而用 @Co

  • Github2021-06-21 14:06:54

    使用Github 目的 借助github托管项目代码 基本概念 仓库(Repository):仓库的意思,即是你的项目,你想在GitHub上开源一个项目,那就必须要新建一个Repository,如果你开源的项目多,你就拥有了多个Repository:仓库用来存放项目代码的,每个项目对应一个仓库。多个开源项目则有多个仓库 收藏

  • SVN简介及使用方法2021-06-18 18:52:09

    SVN是什么? 版本控制系统 管理着随时间改变的数据 repository(源代码库):源代码统一存放的地方Checkout(提取):当你手上没有源代码的时候,你需要从repository checkout一份Commit(提交):当你已经修改了代码,你就需要Commit到repositoryUpdate (更新):当你已经Checkout了一份源代码, Update

  • svn配置2021-06-18 18:51:48

    * 验证svn安装是否成功:svnadmin --version * 创建svn的数据仓库:svnadmin create D:\repository\svn\lyz * 启动svn服务:svnserve -d -r D:\repository\svn\lyz   [单仓库] * 启动svn服务:svnserve -d -r D:\repository\svn  [多仓库] * 验证svn启动是否成功:netstat -an 查看

  • unable to remove repository reference  (must force) - container is using its referenced image2021-06-17 14:57:37

    root@webssh-2876710:~# docker rmi busybox:latest Error response from daemon: conflict: unable to remove repository reference "busybox:latest" (must force) - container 6135960b1ea6 is using its referenced image 6858809bf669   1. 删除镜像之前,必须先删除容器

  • kettle 9.1,ELT Connect按钮消失2021-06-16 14:34:48

    kettle 9.0 里面,创建仓库repository的方式是右边的connect按钮去创建,但是突然按钮消失不见了 。没法自己repository了  解决方法就是找到 C:\Users\wjw\.kettle 这个路径下。 wjw是我自己机器的用户名,换成自己的用户名就可以了。 删除:repositories.xml   具体参考: https://comm

  • 仓储模式2021-06-15 13:34:10

    仓储(Repository)模式自2004年首次作为领域驱动模型DDD设计的一部分引入,仓储本质上是提供提供数据的抽象,以便应用程序可以使用具有接口的相似的简单抽象集合。从此集合中CURD是通过一些列直接的方法完成,无需处理连接、命令等问题,使用此种模式可帮助实现松耦合,并保持领域对象的持久

  • springboot集成mybatis2021-06-11 23:34:23

    第一步:导入依赖 第二步:编写application.properyies文件,配置数据库连接等 第三步:编写mapper接口 注意: @Repository和@Controller、@Service、@Component的作用差不多,都是把对象交给spring管理。@Repository用在持久层的接口上,这个注解是将接口的一个实现类交给spring管理。

  • Git Please make sure you have the correct access rights and the repository exists.2021-06-11 12:58:23

    Git clone时出现Please make sure you have the correct access rights and the repository exists. 重复了好几次生成公钥私钥,但是最后都没有作用 最后在这篇文章里发现了一个之前没有做过的操作 删除.ssh文件夹(直接搜索该文件夹)下的known_hosts(手动删除即可,不需要git)

  • linux下安装openjdk1.82021-06-09 15:37:34

    使用yum查找jdk: yum search java|grep jdk [root@localhost network-scripts]# yum search java|grep jdk One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do

  • Intern Day112 - .NET开发中对IRepository接口的理解2021-06-09 11:35:03

    为什么要用Repository 总结出Repository的作用就是:在项目中把一些 常用&代码量较多的代码 封装 到 Repository 中,然后再用去访问,避免代码冗余、不优雅。 借用https://www.cnblogs.com/jake1/archive/2013/04/23/3039101.html中的一段文字,总结的很好: 仓储(Respository)是存在于工

  • Gradle 仓库地址配置信息2021-06-08 16:03:08

    记录一下Gradle仓库地址: repositories { maven { isAllowInsecureProtocol = true url = uri("https://maven.aliyun.com/repository/public/") } maven { isAllowInsecureProtocol = true u

  • Springboot启动日志分析2021-06-07 22:35:59

    //1、java启动参数 "D:\Program Files\Java\jdk1.8.0_144\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.4\lib\idea_rt.jar=58094:C:\Program F

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

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

ICode9版权所有