![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
互联网
随心而动黎
随心而动,予人玫瑰,手有余香
展开
-
使用JDBC中PreparedStatement时,sql语句中中文出现问号
问题:自己在使用JDBC时连接数据库时,当sql语句中出现中文时,中文就变成问号,以至于不能查询。解决:在Connection中加上:?useUnicode=true&characterEncoding=UTF-8,指明为UTF-8编码格式 Connection connection = DriverManager.getConnection("jdbc:原创 2016-03-22 10:59:07 · 4463 阅读 · 0 评论 -
MyEclipse 10中安装Maven3.3.3
MyEclipse 10中安装Maven3.3.3步骤遇到的问题: 1. org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0 2. -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable a转载 2016-03-25 17:57:57 · 623 阅读 · 0 评论 -
java.lang.TypeNotPresentException: Type org.eclipse.jetty.maven.plugin.JettyRunMojo not present
MyEclipse中运行Maven项目,命令:jetty:run 时出错 java.lang.TypeNotPresentException: Type org.eclipse.jetty.maven.plugin.JettyRunMojo not present原创 2016-03-28 17:10:38 · 13456 阅读 · 0 评论 -
idea中调试时F8,F7失效等快捷键失效
相关软件的快捷键占用了F8,F7,如我的有道词典占用F8了这个快捷键,导致idea调试时不能使用F8,改变有道词典的快捷键即可。原创 2017-10-24 19:23:55 · 28046 阅读 · 31 评论