12 2020 档案

摘要:一、jdk安装 1、下载jdk安装文件 2、在"系统变量”下”新建“选项"JAVA_HOME"值为:"jdk"文件夹路径 3、在"系统变量"中找到"Path"增加%Java_Home%\bin;%Java_Home%\jre\bin; 4、在"系统变量"栏,"新建","变量名"为"CLASSPATH 阅读全文
posted @ 2020-12-24 17:13 dcrenl 阅读(231) 评论(0) 推荐(0) 编辑
摘要:1、查询当前使用的数据库 select database(); 2、获取当前数据库表 select * from information_schema.TABLES where TABLE_SCHEMA=(select database()) 第二种方法,不能使用union all 等方式。 sho 阅读全文
posted @ 2020-12-17 18:31 dcrenl 阅读(836) 评论(0) 推荐(0) 编辑
摘要:1、找个安装镜像文件 2、必须以管理员身份运行cmd 3、在CMD里输入“G:\vs_professional.exe /uninstall /force" 4、企业版就把professional改为enterprise 阅读全文
posted @ 2020-12-17 17:03 dcrenl 阅读(405) 评论(0) 推荐(0) 编辑
摘要:1:修改pom.xml 将“jar”改为“war” <packaging>war</packaging> 将: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</ 阅读全文
posted @ 2020-12-08 17:35 dcrenl 阅读(192) 评论(0) 推荐(0) 编辑
摘要:一:使用@CrossOrigin注解 @CrossOrigin @RequestMapping(value = "/get") public HashMap<String, Object> get(@RequestParam String name) { HashMap<String, Object 阅读全文
posted @ 2020-12-08 17:22 dcrenl 阅读(139) 评论(0) 推荐(0) 编辑
摘要:import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springfra 阅读全文
posted @ 2020-12-08 17:06 dcrenl 阅读(153) 评论(0) 推荐(0) 编辑
摘要:spring boot 创建项目引用mybatis后,直接运行会提示: Cannot determine embedded database driver class for database type NONE 因为springboot启动时会自动注入数据源 使用@SpringBootApplic 阅读全文
posted @ 2020-12-08 16:55 dcrenl 阅读(69) 评论(0) 推荐(0) 编辑
摘要:var GPS = { PI : 3.14159265358979324, x_pi : 3.14159265358979324 * 3000.0 / 180.0, delta : function (lat, lon) { // Krasovsky 1940 // // a = 6378245.0 阅读全文
posted @ 2020-12-05 09:37 dcrenl 阅读(3477) 评论(0) 推荐(0) 编辑

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