人本善良

导航

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 33 下一页

2019年1月6日 #

springboot maven 部署

摘要: 1.在pom.xml文件中配置tomcat插件 1. 在target中找到jar包 在jar包所在的文件夹 打开命令窗口 输入 java -jar "jar包的名字即可运行这个web程序" 阅读全文

posted @ 2019-01-06 22:06 简简单单2018 阅读(207) 评论(0) 推荐(0) 编辑

2019年1月4日 #

nexus的安装和简介(3)

摘要: 从私服下载jar包 没有配置nexus之前,如果本地仓库没有,去中央仓库下载,通常在企业中会在局域网内部署一台私服服务器,有了私服本地项目首先去本地仓库找jar,如果没有找到则连接私服从私服下载jar包,如果私服没有jar包私服同时作为代理服务器从中央仓库下载jar包,这样做的好处是一方面由私服对公 阅读全文

posted @ 2019-01-04 09:59 简简单单2018 阅读(257) 评论(0) 推荐(0) 编辑

nexus的安装和简介(2)

摘要: 上传jar包到私服 1. 配置settings.xml 需要在客户端即部署dao工程的电脑上配置 maven环境,并修改 settings.xml 文件,配置连接私服的用户和密码 。 此用户名和密码用于私服校验,因为私服需要知道上传的账号和密码 是否和私服中的账号和密码一致。 方框中的代码: <se 阅读全文

posted @ 2019-01-04 09:58 简简单单2018 阅读(124) 评论(0) 推荐(0) 编辑

nexus的安装和简介

摘要: 下载nexus Nexus 是Maven仓库管理器,通过nexus可以搭建maven仓库,同时nexus还提供强大的仓库管理功能,构件搜索功能等。 下载Nexus, 下载地址:http://www.sonatype.org/nexus/archived/ 下载:nexus-2.12.0-01-bun 阅读全文

posted @ 2019-01-04 09:54 简简单单2018 阅读(1753) 评论(0) 推荐(0) 编辑

2019年1月3日 #

maven profile切换正式环境和测试环境

摘要: maven profile切换正式环境和测试环境 讨论QQ群:313032825 有时候,我们在开发和部署的时候,有很多配置文件数据是不一样的,比如连接mysql,连接redis,一些properties文件等等 每次部署或者开发都要改配置文件太麻烦了,这个时候,就需要用到maven的profile 阅读全文

posted @ 2019-01-03 21:13 简简单单2018 阅读(541) 评论(0) 推荐(0) 编辑

2019年1月2日 #

A bean with that name has already been defined in DataSourceConfiguration$Hikari.class

摘要: A bean with that name has already been defined in DataSourceConfiguration$Hikari.class 构建springcloud的时候一定要注意起微服务的版本 不然会报上面的错误 原因:SpringBoot和SpringClou 阅读全文

posted @ 2019-01-02 15:08 简简单单2018 阅读(2307) 评论(0) 推荐(0) 编辑

2018年12月27日 #

com.mysql.jdbc.Connection.isValid(I)Z

摘要: spring boot项目 运行提示这个错误的时候 只需要配置 阅读全文

posted @ 2018-12-27 22:36 简简单单2018 阅读(1153) 评论(0) 推荐(0) 编辑

unable to auto-detect email address

摘要: git错误:unable to auto-detect email address 2017年11月14日 08:51:08 陈君豪 阅读数:7914 git错误:unable to auto-detect email address 2017年11月14日 08:51:08 陈君豪 阅读数:791 阅读全文

posted @ 2018-12-27 22:29 简简单单2018 阅读(1034) 评论(0) 推荐(0) 编辑

2018年12月12日 #

Spring系列之Spring常用注解总结 转载

摘要: Spring系列之Spring常用注解总结 传统的Spring做法是使用.xml文件来对bean进行注入或者是配置aop、事物,这么做有两个缺点:1、如果所有的内容都配置在.xml文件中,那么.xml文件将会十分庞大;如果按需求分开.xml文件,那么.xml文件又会非常多。总之这将导致配置文件的可读 阅读全文

posted @ 2018-12-12 10:06 简简单单2018 阅读(187) 评论(0) 推荐(0) 编辑

2018年12月6日 #

maven pom.xml 项目报错

摘要: Failed to read artifact descriptor for org.springframework.boot:spring-boot-starter-web:jar:2.1.0.RELEASE 只需要 clean maven 然后剪切掉pom.xml文件的 节点 更新下maven 阅读全文

posted @ 2018-12-06 13:10 简简单单2018 阅读(138) 评论(0) 推荐(0) 编辑

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 33 下一页