问题如下方式可以成功扫描到@Controller注解的Bean,不会扫描@Service/@Repository的Bean。正确Java代码但是如下方式,不仅仅扫描@Controller,还扫描@Service/@Repository的Bean,可能造成一些问题Java代码这个尤其在springmv...
分类:
其他好文 时间:
2014-11-14 17:08:57
阅读次数:
172
# 配置 - 远端有一个Remote Repository,因为在东京,所以需要在上海有一个Mirror,假设在东京的Repo叫tokyo-repo,在上海的叫sh-repo - 众所周知,maven在本地有一个缓存,一般在.m2文件夹,暂时称之为local-rep...
分类:
其他好文 时间:
2014-11-14 12:43:44
阅读次数:
204
一.配置Maven环境
1.下载apache-maven文件,选择自己需要的版本,地址:http://mirrors.cnnic.cn/apache/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.zip
2.解压1所下载文件,本人解压到:D:\Software_IDE\apache-maven-3.0.4
3.配置Maven环境变量
a. MAVEN_HOME:D:\Software_IDE\apache-maven-3.0.4
b.PATH:%...
分类:
系统相关 时间:
2014-11-13 16:49:08
阅读次数:
260
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again,解决办法是编辑/etc/yum.repos.d/epel.repo,把基础的恢复,镜像的地址注释掉 #baseurl ...
分类:
Web程序 时间:
2014-11-13 12:26:45
阅读次数:
178
Step 1: 增加源到 source.listsudo add-apt-repository "deb http://extras.ubuntu.com/ubuntu saucy main"sudo add-apt-repository "deb http://de.archive.ubuntu....
分类:
系统相关 时间:
2014-11-13 00:30:20
阅读次数:
243
[Android配置]SDK无法更新问题解决方法问题提示:Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-8.xml, reason: HttpHostConnect Connection to ...
分类:
移动开发 时间:
2014-11-12 19:32:11
阅读次数:
238
iOS7.0以后安装企业分发App需要HTTPS证书,如果网站没有CA受信用的HTTPS证书,可以利用github来实现。
首先在Github上面新建一个Repository,然后把已经制作好的Plist文件上传上去,点开plist找到Raw
看到别人用七牛(http://www.qiniu.com/)也可以实现企业分发,不过这个网站需要上传身份证正反照片,手上...
分类:
移动开发 时间:
2014-11-12 16:29:24
阅读次数:
218
1.执行 git pull 的时候,出现 如下 错误: If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is runnin...
分类:
其他好文 时间:
2014-11-12 12:05:18
阅读次数:
164
以下内容都是全英文的,对githu的使用作了详细的介绍。都是比较简单地词汇,阅读后相信你会对github的工作方式,基本操作很了解了。当然,有可能看完后你会跟我一样觉得,还不如git --help命令来得直接。
Git is a distributed version control system
To initialize a Git repository in current dire...
分类:
其他好文 时间:
2014-11-11 22:53:34
阅读次数:
253
起步现在已经非常擅长使用Repository方式开发关系数据库的程序了,但是在使用Nosql如Mongo的时候,更多的是使用Mongo Driver,无意中看到了MongoRepository,允许了以Repository的方式去开发使用Mongo了。1.新建项目通过NuGet 引入MongoRep...
分类:
其他好文 时间:
2014-11-11 22:18:37
阅读次数:
312