上一页 1 2 3 4 5 6 7 8 ··· 82 下一页
摘要: JDBC访问MySql异常 Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.sql.SQLException: 阅读全文
posted @ 2019-03-20 16:53 netcorner 阅读(639) 评论(0) 推荐(0) 编辑
摘要: 1. 创建配置类 在项目中创建一个参数映射类如下 2. 编写提示信息 在项目中按此路径创建一个json文件 resources/META-INF/spring-configuration-metadata.json 记得重新编译项目,编译后才生效 3. 编写配置信息 在application.pro 阅读全文
posted @ 2019-03-20 12:42 netcorner 阅读(4414) 评论(0) 推荐(0) 编辑
摘要: 1、添加pom依赖 build下添加 2、在src/main 下创建webapp目录,与src和resources同一级目录 3、application.properties添加配置 默认在webapp下 4、在webapp目录下创建index.jsp 5、controller编写代码 6、测试 h 阅读全文
posted @ 2019-03-08 11:55 netcorner 阅读(5061) 评论(1) 推荐(2) 编辑
摘要: 背景: 在开发中,当我们修改代码之后,每次都要重新启动,很是浪费时间,在springboot中就有一种热部署方式,可以实现想要修改不需要每次都重新启动,保存即可生效 用法: 一、maven 添加 二、添加编译时候的配置 如下的配置在idea的springBoot项目中可以不需要添加,因为spring 阅读全文
posted @ 2019-03-08 10:18 netcorner 阅读(3949) 评论(0) 推荐(1) 编辑
摘要: telnet安装 安装homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 使用 homebrew 安装telnet: brew inst 阅读全文
posted @ 2019-03-07 10:34 netcorner 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 对于不会git命令的自己,要上传项目或libary,看了本文,傻瓜式操作,绝壁简单! 新建一个空白工程 File-->New-->New module-->Android Library (记住一定要选这个),如图 然后随便写个工具类,留待测试。下面是我写的Toast工具类,这样你的library就 阅读全文
posted @ 2019-03-05 09:02 netcorner 阅读(799) 评论(0) 推荐(0) 编辑
摘要: pom.xml文件编写 打JAR包时 打WAR包时 然后IDEA中找到install并双击运行 编译成功后 阅读全文
posted @ 2019-03-03 10:07 netcorner 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 在使用mybatis框架时,大多时候自动生成的mapper.xml文件能满足我们所需的数据库操作,但一些情况下还是需要我们自己写sql;为了加深印象,总结了下参数传递的方式以及各个关键字的含义如下: 语句中接收参数的方式有两种:1、 #{}预编译 (可防止sql注入)2、${}非预编译(直接的sql 阅读全文
posted @ 2019-03-02 15:55 netcorner 阅读(2233) 评论(0) 推荐(0) 编辑
摘要: 错误代码:installation failed with message failed to finalize session:INSTALL_FAILED_INVALID_APK 解决方法如下: 阅读全文
posted @ 2018-09-18 15:13 netcorner 阅读(19390) 评论(0) 推荐(0) 编辑
摘要: 目前场景: 笔记本一般有一个有线网络和WIFI,现在需求使用有线网络可以上外网,WIFI可以上外网(场景反之其实也可以,现在我的需求是无线上内网,有线上外网),一般情况windows系统只能上一个网络,如需要两个网络同时一起上的话就需要配置相关路由表了。 需求描述: 需要笔记本可以上互联网同时需要访 阅读全文
posted @ 2018-07-14 09:56 netcorner 阅读(341) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 82 下一页