随笔分类 -  照沟渠的Java

web
摘要:vi/vim 使用实例 使用 vi 来建立名为 test.txt 的文件 vi test.txt1按下 ESC 按钮回到一般模式 在一般模式中按下 :wq 储存后离开 vi 基本上 vi/vim 共分为三种模式,分别是: 命令模式(Command mode)插入模式(Insert mode)底线命令 阅读全文
posted @ 2018-10-25 22:18 googlegis 阅读(980) 评论(0) 推荐(0) 编辑
摘要:链接MySQL数据库报错: 数据库连接url中添加对应属性的支持。allowPublicKeyRetrieval=true&useSSL=false url: jdbc:mysql://localhost:3306/demo?useUnicode=true&characterEncoding=utf 阅读全文
posted @ 2018-10-21 01:20 googlegis 阅读(3690) 评论(0) 推荐(0) 编辑
摘要:在对应的 Entity 中添加注解 @JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})同时必须添加引用:import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 阅读全文
posted @ 2018-10-16 12:31 googlegis 阅读(737) 评论(0) 推荐(0) 编辑
摘要:1. 首先删除 @EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class}) 2. 在配置文件里添加完整的datasource属性 spring.datasource.url=jdbc:mysql://localhos 阅读全文
posted @ 2018-10-16 08:59 googlegis 阅读(8848) 评论(0) 推荐(0) 编辑
摘要:Unable to create initial connections of pool. 在链接url里添加 将useSSL=true改为useSSL=false 只能说明服务器没有打开SSL功能 阅读全文
posted @ 2018-10-16 08:54 googlegis 阅读(1886) 评论(0) 推荐(0) 编辑
摘要:定义Id 时,引用的是 实际应该引入: 阅读全文
posted @ 2018-10-16 08:50 googlegis 阅读(151) 评论(0) 推荐(0) 编辑
摘要:SpringBoot 连接 MySQL 数据库,但是却获得以下错误信息提示:Warning: Wed Dec 09 22:46:52 CET 2015 WARN: Establishing SSL connection without server's identity verification i 阅读全文
posted @ 2018-10-15 23:11 googlegis 阅读(202) 评论(0) 推荐(0) 编辑
摘要:在eclipse4.8.2中运行tomcat8.5项目时,提示出错: Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try 阅读全文
posted @ 2018-10-12 22:35 googlegis 阅读(145) 评论(0) 推荐(0) 编辑
摘要:The Servlet 4.0 specification is out and Tomcat 9.0.x does support it. Time to dive into Tomcat 9. [updated on Sep.2.2018] Prerequisite: Java Since OS 阅读全文
posted @ 2018-10-12 09:28 googlegis 阅读(801) 评论(0) 推荐(0) 编辑
摘要:If you are planing to develop Java Apps on your Mac, you may have to set $JAVA_HOME environment variable. Go to How to install JDK on Mac OS X to inst 阅读全文
posted @ 2018-10-12 09:24 googlegis 阅读(2296) 评论(1) 推荐(1) 编辑
摘要:那是因为没有update project。 项目右键,maven-update project。 阅读全文
posted @ 2018-10-12 09:19 googlegis 阅读(137) 评论(0) 推荐(0) 编辑
摘要:使用Eclipse 导入新的项目后,添加项目引用,但是不知道哪个包引用的问题,总是报这个错误。 网上搜索到一个方案,解决了问题,在 .m2 文件夹下,将所有引用的包删除, repository, 在项目上,右键 maven -update project。 此方法解决了我的问题。 tks! 阅读全文
posted @ 2018-10-12 09:13 googlegis 阅读(528) 评论(0) 推荐(0) 编辑
摘要:打包程序 mvn package cd target 指定参数运行 java -jar spring-boot-demo-0.0.1-SNAPSHOT.jar --spring.profile.active=pro 阅读全文
posted @ 2018-10-12 00:59 googlegis 阅读(5865) 评论(0) 推荐(1) 编辑
摘要:错误提示:objc[49447]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java (0x10b3604c0 阅读全文
posted @ 2018-10-06 07:38 googlegis 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-08-09 12:16 googlegis 阅读(1363) 评论(0) 推荐(0) 编辑

坐标合肥,非典型GIS开发人员 GitHub

点击右上角即可分享
微信分享提示