摘要: 1.先开启防火墙服务(如果防火墙运行中直接跳过) systemctl start firewalld 2.这里以ftp服务服务为例。 暂时开放ftp服务 firewall-cmd --add-service=ftp 3.永久开放 ftp 服務# firewall-cmd --add-service= 阅读全文
posted @ 2019-02-27 08:37 mollie_x 阅读(1229) 评论(0) 推荐(0) 编辑
摘要: 1、Redis的安装 redis是C语言开发,建议在linux上运行,本教程使用Centos6.7作为安装环境。 安装redis需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gcc环境,则需要手动安装。 1.1、检测是否安装gcc gcc -v rpm -qa|grep gcc 1.2 阅读全文
posted @ 2019-02-27 08:20 mollie_x 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 严重: StandardWrapper.Throwableorg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'loginManager': Unsatisfi 阅读全文
posted @ 2019-02-26 17:18 mollie_x 阅读(2412) 评论(0) 推荐(0) 编辑
摘要: eclipse–>Window–>show View–>Markers,出现一个面板,然后在这个面板里就能查看到底是什么在出错啦。 本次遇到的问题:eclipse里maven项目An error occurred while filtering resources解决办法 在使用eclipse构建m 阅读全文
posted @ 2019-02-26 16:17 mollie_x 阅读(2982) 评论(0) 推荐(0) 编辑
摘要: 首先下载jar包 下载地址:http://code.google.com/p/kaptcha/downloads/list 然后添加到本地Maven库中: 在下载的文件目录下打开命令行,执行命令 mvn install:install-file-DgroupId=com.google.code-Da 阅读全文
posted @ 2019-02-26 16:11 mollie_x 阅读(2998) 评论(0) 推荐(0) 编辑
摘要: 1、 访问服务后返回值中有中文乱码 在RequestMapping中添加produces属性。 @RequestMapping(value = "/user/register", method = RequestMethod.POST, produces = MediaType.TEXT_PLAIN 阅读全文
posted @ 2019-01-27 12:56 mollie_x 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 原理分析: 传统方案,有重复代码 优选方案,是将服务层提出,单独提供服务,其他各方访问从服务层访问。 在大中型系统开发当中,我们一般都是采用了分层的方式来架构系统,但是为什么我们需要分层进行架构呢? 采用分层架构有利于系统的维护,系统的扩展。这其实就是系统的可维护性和可扩展性。分层就是按照功能把系统 阅读全文
posted @ 2019-01-25 13:09 mollie_x 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 注意:!!!!!!! 在将之前所有操作完成之前一定要将parent和common先安装进中央仓库(clean install), 之后将业务项目依次安装到中央仓库(clean install), 之后进行web测试( clean tomcat7:run),测试分布式框架是否成功!。 阅读全文
posted @ 2019-01-22 23:12 mollie_x 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 解决方案: 1.添加M2_HOME的环境变量 2.Preference->Java->Installed JREs->Edit 选择一个jdk, 添加 -Dmaven.multiModuleProjectDirectory=$M2_HOME 阅读全文
posted @ 2019-01-22 22:44 mollie_x 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Failure to transfer org.codehaus.plexus:plexus-utils:pom:1.5.6 from http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repos 阅读全文
posted @ 2019-01-22 22:13 mollie_x 阅读(2195) 评论(0) 推荐(0) 编辑