- 博客(9)
- 资源 (1)
- 收藏
- 关注
spingboot Profile配置实战
springboot的profile配置可用于针对不同的环境提供不同的配置,比较简单,但也很实用。 1、 如下图,全局的profile为application.properties,可以根据不同的环境配置多个,命名规范为: application-{环境}.properties,可以自定义N个,如下,自定义了2个,分别为dev,prod 2、 在全局的application.prope...
2016-06-07 23:34:00 134
Spring boot + mybatis 开发
近期项目使用springboot框架开发,学习实践的过程中,把总结的一些内容分享出来,和正在使用的童鞋一起学习。 Spring Boot 集成MyBatis有两种方式,一种简单的方式就是使用MyBatis官方提供的: mybatis-spring-boot-starter 另外一种方式就是使用: mybatis-spring 第一种方式暂时没实践,第二种方式需要自己写一些代码,但...
2016-06-07 23:15:00 105
MYSQL-1366错误解决办法
安装mysql后,my.ini中 [mysql] default-character-set默认为latin1,不支持中文,当表存储中文字符时,就会报1366-incorrect string value……错误,需修改两个地方: 1) [mysql] default-character-set=GBK [mysqld] default-character-set=GBK 2) ...
2011-11-27 12:26:00 226
转载 VC6.0 不能 添加 和 打开文件 问题
VC6与VISIO2007的冲突,导至VC6.0中的打开文件和添加文件到工程会导致异常或点了没反应 2010-03-08 14:46 如果机子上装了Visio2007,在VC6.0中的“FileView”右键点“add files to folder”或
2011-09-28 14:47:01 404
转载 The project was not built since its build path is incomplete(错误处理方法)
错误提示:The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then
2011-09-20 16:15:36 781
转载 如何在VC6.0下用pthread.h这个头文件
1.下载PTHREAD的WINDOWS开发包 pthreads-w32-2-4-0-release.exe(任何一个版本均可) http://sourceware.org/pthreads-win32/,解压到一个目录。 2.找到include和lib文件夹,下面分
2011-09-01 19:27:38 312
用VC写DLL中"error LNK2005: _DllMain@12 already defined"的应对
用Visual C++编写DLL,如果在new project时选了MFC DLL,而后又想写成Regular DLL,即拥有自己的DllMain()入口函数,则在build时会遇到类似如下的link错误: error LNK2005: _DllMain@12 already defined in xxx.OBJ 几种解决方案: 1, 你只需要在工程设置里面,把 WIN32,NDEBUG,...
2011-06-18 15:38:00 88
error LNK2005: __cinit already defined in libcmt.lib(crt0dat.obj)
用静态库去编译,若出现下面错误:LIBC.lib(crt0dat.obj) : error LNK2005: __cinit already defined in libcmt.lib(crt0dat.obj)LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in libcmt.lib(crt0dat.obj)LIBC.lib...
2011-06-11 15:27:00 845
安装mysql报错:cannot create windows service for mysql.error:0
安装安装mysql-5.1.46时报错,cannot create windows service for mysql.error:0。 错误原因: 多数是由于重新安装mysql或者对mysql升级,使用MySQL Configuration Wizard而产生。 解决方法1: 在选择服务名时,用mysql以外的服务名,比如mysql5,安装OK。 解决方法2: 执行 C:>sc...
2011-05-24 00:26:00 93
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人