FAQ
(1)spring (2)springMVC (3)mybatis
常见疑难杂症和药方。
后台技术汇
强大自己是解决问题的唯一办法。
展开
-
FAQ(87):Ubuntu系统的idea配置Tools - Terminal 的 git 打开路径?
2019年6月16日今天给Ubuntu系统配置idea的工具时,忽然想到没有配置Windows的git安装路径,突发奇想,给terminal配置git的bin路径。。(因为日常是在Windows进行开发,习惯性的联想到环境变量等)1)/etc/profile首先我检查了配置文件,已经安装部署了git了。(可以参考:《安装部署git-FAQ》)2)idea的Tools配置项...原创 2019-06-16 17:49:14 · 511 阅读 · 0 评论 -
FAQ(86):Ubuntu 下 idea 配置git 报错:Failed to start Git process error=13, Permission denied.
2019年06月15日今天在Ubuntu系统上部署开发环境,碰到idea的git安装配置问题,百度一下,居然只搜出一篇文章(网上大多数都是Windos系统的git配置),很尴尬,于是自己想办法,也顺手把解决方法分享一下。1)git下载与安装git 官网:https://www.git-scm.com/download/linux命令行下载安装(方便):ssh -T git@...原创 2019-06-15 23:03:19 · 1870 阅读 · 0 评论 -
FAQ(79):java.lang.NumberFormatException: For input string: "Thu Apr 12 17:57:00 CST 2018"
2018年8月31日1、日志:java.lang.NumberFormatException: For input string: "Thu Apr 12 17:57:00 CST 2018" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Lo...原创 2018-09-02 12:19:01 · 1990 阅读 · 0 评论 -
FAQ(80):java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification
2018年8月31日1、日志:2018-04-13 20:00:55.757:WARN:oejs.ServletHandler:/g01-web/admin/activityManager/sendActivity.jspjava.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComod...原创 2018-09-02 12:19:35 · 2549 阅读 · 0 评论 -
FAQ(81): java.lang.NoClassDefFoundError: Decoder/BASE64Decoder
2018年8月31日1、日志:java.lang.NoClassDefFoundError: Decoder/BASE64Decoder at com.xs.fun.base.client.ImageClient.uploadImageByBase64Data(ImageClient.java:35) at com.xs.fun.hall.service.AccountService...原创 2018-09-02 12:19:51 · 3282 阅读 · 0 评论 -
FAQ(82):Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x98'
2018年8月31日1、日志:Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x98' for column 'roleName' at row 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at c...原创 2018-09-02 12:20:50 · 620 阅读 · 0 评论 -
FAQ(83):### Cause: java.sql.SQLException: The table 't_account_change_6' is full
2018年8月31日1、日志:### Cause: java.sql.SQLException: The table 't_account_change_6' is full; uncategorized SQLException for SQL []; SQL state [HY000]; error code [1114]; The table 't_account_change_...原创 2018-09-02 12:21:21 · 1631 阅读 · 0 评论 -
FAQ(84):net.sf.json.JSONException: java.lang.ClassCastException: JSON keys must be strings.
2018年8月31日1、日志: Exception in thread "roomSynRoomThreadPool-0--thread-2" net.sf.json.JSONException: java.lang.ClassCastException: JSON keys must be strings. at net.sf.json.JSONObject._fromMap(J...原创 2018-09-02 12:21:43 · 913 阅读 · 0 评论 -
FAQ(85):java.sql.BatchUpdateException: Data truncation: Data too long for column
1、日志:java.sql.BatchUpdateException: Data truncation: Data too long for column 'scriptInfoMap' at row 1 at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2024)...原创 2018-09-02 12:23:10 · 1413 阅读 · 0 评论 -
FAQ(70):java.lang.NoClassDefFoundError: net/sf/ezmorph/Morpher异常
在写一个JSONObject的小Demo时,发生了报错: 其中发现java.lang.ClassNotFoundException: net.sf.ezmorph.Morpher,很明显是没有找到相应的class。原来是除了要导入json-lib-2.1-jdk15.jar包外,还要导入其它几个依赖包:commons-beanutils.jar,commons-httpclient.jar,c...转载 2018-05-18 20:29:43 · 319 阅读 · 0 评论 -
FAQ(71): 关于SVN 操作 提示文件已过时,请先update
提示文件已过时,请先update 错误产生原因:修改文件前没有先update,从SVN获取该文件的最新版本。 解决方法: 备份你修改后的文件,通过Revert恢复到服务器版本后,再比较之前备份的文件,进行修改,提交即可。...转载 2018-05-24 21:41:59 · 685 阅读 · 0 评论 -
FAQ(69):Missing artifact com.alipay:alipay-sdk:jar:1.0
2018年8月31日15:39:12解决:导入maven的pom.xml正确后解决。先去maven的指定路径(公认的jar包路径)寻找并下载jar包: <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector...原创 2018-08-31 15:39:38 · 3773 阅读 · 1 评论 -
FAQ(70):Multiple annotations found at this line:
2018年8月31日15:40:071、全部日志:Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path - The superclass "javax.servlet.http....原创 2018-08-31 15:40:43 · 216 阅读 · 0 评论 -
FAQ(71): Error in Javac compilation for JSP||PWC6197: An error occurred at line: 20 in the jsp file:
1、日志:2018-03-12 15:23:58.450:WARN:oejs.ServletHandler:org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6197: An error occurred at line: 20 in the jsp file: /admin...原创 2018-08-31 15:42:40 · 1246 阅读 · 0 评论 -
FAQ(72):### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
2018年8月31日15:44:471、日志### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'roleId' in 'field list'; bad SQL grammar []; nested exception is com.mysql.jdbc.except...原创 2018-08-31 15:46:22 · 3177 阅读 · 3 评论 -
FAQ(73):org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6197
2018年8月31日15:46:351、日志: compiling file: C:\Users\ASUS\AppData\Local\Temp\jetty-0.0.0.0-8080-webapp-_g01-web-any-\jsp\org\apache\jsp\admin\proclamationtManager\sendProclamation_jsp.java2018-03-30...原创 2018-08-31 15:49:13 · 1913 阅读 · 0 评论 -
FAQ(74):Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire ***
2018年8月31日1、日志:Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.xs.fun.base.service.GlobalNotifyService com.xs.fun.hall.service.FriendSer...原创 2018-08-31 15:52:17 · 284 阅读 · 0 评论 -
FAQ(75):org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6197: An
2018年8月31日1、日志:2018-04-03 16:02:35.747:WARN:oejs.ServletHandler:/g01-web/admin/proclamationtManager/sendProclamation.jsporg.apache.jasper.JasperException: PWC6033: Error in Javac compilation for...原创 2018-08-31 15:55:27 · 1312 阅读 · 0 评论 -
FAQ(76):java.lang.NullPointerException at com.xs.fun.base.proto.service.WorldChannelProtoBuffer
2018年8月31日1、日志:java.lang.NullPointerException at com.xs.fun.base.proto.service.WorldChannelProtoBuffer$ProclamationInfoProto$Builder.setContent(WorldChannelProtoBuffer.java:2859) at com.xs.fun....原创 2018-08-31 16:14:09 · 385 阅读 · 0 评论 -
FAQ(77):XML:[Fatal Error] :375:6: The string "--" is not permitted within comments.
2018年8月31日1、日志:[Fatal Error] :375:6: The string "--" is not permitted within comments.org.xml.sax.SAXParseException; lineNumber: 375; columnNumber: 6; The string "--" is not permitted within com...原创 2018-08-31 16:16:05 · 485 阅读 · 0 评论 -
FAQ(78):org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6197:
2018年8月31日1、日志:org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6197: An error occurred at line: 28 in the jsp file: /admin/proclamationtManager/sendProclamation...原创 2018-08-31 16:19:48 · 1006 阅读 · 0 评论 -
断点失效:Eclipse Unable to install breakpoint in XXX 解决办法
Eclipse debug 断点不能调试 ,Eclipse Unable to install breakpoint in 解决办法解决:【1】项目工程名 ,右键 --》 properties --》 java compiler --》class file Generation 位置 Add line number attributes to generated class files 打钩...原创 2018-03-07 18:10:26 · 25955 阅读 · 2 评论 -
FAQ(68):useradd.html:14 Uncaught ReferenceError: $ is not defined at org (useradd.html:14)
FAQ(68):useradd.html:14 Uncaught ReferenceError: $ is not defined at org (useradd.html:14)原创 2018-02-11 23:24:38 · 894 阅读 · 0 评论 -
FAQ(69):java.lang.IllegalStateException: Cannot convert value of type ‘java.lang.String‘ to required
FAQ(69):java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'com.alibaba.fastjson.serializer.SerializerFeature' for property 'features[0]': no matching editors or conversion strategy found原创 2018-02-14 15:41:07 · 10583 阅读 · 3 评论 -
FAQ(67):java.sql.SQLException: You have an error in your SQL syntax; check the manual that correspon
FAQ(67):java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where id=2' at line 1原创 2018-02-08 01:15:29 · 4253 阅读 · 0 评论 -
FAQ(65):java.io.FileNotFoundException: D:\java_ee_eclipse\mmb_workplace\.metadata\.plugins\org.eclip
FAQ(65):java.io.FileNotFoundException: D:\java_ee_eclipse\mmb_workplace\.metadata\.plugins\org.eclipse.wst.server.core\tmp4\wtpwebapps\springmvc5\image\a.jpg (系统找不到指定的路径。)原创 2018-02-01 22:57:09 · 2217 阅读 · 0 评论 -
FAQ(66):java.sql.SQLException: Can not issue data manipulation statements with executeQuery().
FAQ(66):java.sql.SQLException: Can not issue data manipulation statements with executeQuery().原创 2018-02-04 16:51:23 · 276 阅读 · 0 评论 -
FAQ(64):java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date
FAQ(64):java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date原创 2018-01-30 00:17:15 · 216 阅读 · 0 评论 -
FAQ(57):java.sql.SQLException: Can not issue data manipulation statements with executeQuery().
FAQ(57):java.sql.SQLException: Can not issue data manipulation statements with executeQuery().原创 2018-01-29 00:51:42 · 232 阅读 · 0 评论 -
FAQ(58):com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data truncated for column 'createDate'
FAQ(58):com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data truncated for column 'createDate'原创 2018-01-29 00:54:04 · 304 阅读 · 0 评论 -
FAQ(59):java.text.ParseException: Unparseable date: “Wed Jan 24 16:28:14 CST 2018“
FAQ(59):java.text.ParseException: Unparseable date: "Wed Jan 24 16:28:14 CST 2018"原创 2018-01-29 00:56:41 · 5943 阅读 · 0 评论 -
FAQ(60):java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date
FAQ(60):java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date原创 2018-01-29 00:58:23 · 202 阅读 · 0 评论 -
FAQ(61):java.lang.ClassNotFoundException: javax.validation.ParameterNameProvider
FAQ(61):java.lang.ClassNotFoundException: javax.validation.ParameterNameProvider原创 2018-01-29 00:59:46 · 4003 阅读 · 2 评论 -
FAQ(62):HV000030: No validator could be found for type: java.lang.Integer.
FAQ(62):HV000030: No validator could be found for type: java.lang.Integer.原创 2018-01-29 01:01:44 · 397 阅读 · 0 评论 -
FAQ(63):java.text.ParseException: Unparseable date: "Sun Jan 28 13:30:13 CST 2018"
FAQ(63):java.text.ParseException: Unparseable date: "Sun Jan 28 13:30:13 CST 2018"原创 2018-01-29 01:05:13 · 2376 阅读 · 0 评论 -
FAQ(53):JSP 页面报错:Unknown tag (c:forEach).
FAQ(53):JSP 页面报错:Unknown tag (c:forEach).原创 2018-01-18 16:17:08 · 546 阅读 · 0 评论 -
SpringMVC(15):使用springmvc优化订单管理系统的示例(Bug解决 -- 用户查询显示的内存对象赋值)
SpringMVC(15):使用springmvc优化订单管理系统的示例(Bug解决 -- 用户查询显示的内存对象赋值)原创 2018-01-18 18:48:45 · 382 阅读 · 0 评论 -
FAQ(54):No qualifying bean of type 'com.Role.Service.RoleService' available: expected at least 1 bea
FAQ(54):org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.Role.Service.RoleService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.bean原创 2018-01-18 19:04:03 · 2574 阅读 · 0 评论 -
FAQ(55):java.sql.SQLException: You have an error in your SQL syntax; check the manual that correspon
FAQ(55):jjava.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1原创 2018-01-18 19:06:35 · 1254 阅读 · 0 评论 -
FAQ(56):JSP提取attribute内容出错:javax.el.PropertyNotFoundException: Property 'Code' not found on type com
FAQ(56):JSP提取attribute内容出错:javax.el.PropertyNotFoundException: Property 'Code' not found on type com原创 2018-01-18 19:09:25 · 366 阅读 · 0 评论