后端
pengli_123
这个作者很懒,什么都没留下…
展开
-
java,json字符串转为对象
String jsonStr = responseEntity.getBody(); TotalInfo totalInfo=JSONObject.parseObject(jsonStr,TotalInfo.class);//jsonStr为要转的字符串,TotalInfo.class为要转为的对象 JSONObject jsonObject = JSONObject...原创 2018-06-05 22:27:09 · 931 阅读 · 0 评论 -
SendMsg
SendMsg.java/** * Created on 2018/3/28. * Description: * 统一命令入口 */public class SendMsg { /** * @param args * * type=sendSMS: [sendSMS] [content] [phone number] ...原创 2018-06-10 10:36:40 · 1466 阅读 · 0 评论 -
邮件发送目录结构
目录结构openresourceform.cfg文件原创 2018-06-10 10:29:11 · 311 阅读 · 0 评论 -
mybatis错误:Parameter 'orderType' not found. Available parameters are [arg3, arg2, arg1, arg0, param3,
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'orderType' not found. Available parameters are [arg3, arg2, arg1, arg0, param3, pa...原创 2018-06-22 17:46:55 · 6438 阅读 · 1 评论 -
数据库错误Cause: org.postgresql.util.PSQLException: ERROR: syntax error at or near "WHERE"
### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: syntax error at or near "WHERE" 位置:81### The error may exist in class path resource [mybatis/mapper/Changes.xml]### The ...原创 2018-06-22 17:36:47 · 37454 阅读 · 0 评论 -
新建接口报错Error message: This template did not produce a Java class or an interface
在IDE中新建接口时无法新建,报错说template不能生成一个class或者一个接口,解决办法:是因为对应的模板为空,打开File->Settings->Editor->File and Code Templates->Interface红色区域为空,将一下内容复制上去就可以了:#if (${PACKAGE_NAME} && ${PACKAGE_NAME}...原创 2018-06-01 10:20:53 · 8371 阅读 · 4 评论 -
java Map使用方法
Map<Long,Integer> objecC= new HashMap<Long,Integer>(); int size = dataList.size(); for(int i = 0;i<size;i++){ Long UTCTime = dataList.get(i).getTime(); ...原创 2018-06-07 22:25:46 · 404 阅读 · 0 评论 -
提问
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful at org.springframework....原创 2018-06-07 09:16:01 · 147 阅读 · 0 评论 -
IED启动项目编译报错:javaTask:源发行版1.8 需要目标发行版1.8
IDE2017.1中编译时报错Information:java: javacTask: 源发行版 1.8 需要目标发行版 1.8Information:java: Errors occurred while compiling module 'suanfa'Information:javac 1.8.0_111 was used to compile java sourcesInformat...原创 2018-06-21 14:13:10 · 588 阅读 · 0 评论 -
ssm简单例子
这个T是什么这是一个接口 我应该到什么模块去找那个userRequest原创 2018-05-30 14:26:57 · 1373 阅读 · 1 评论 -
单例模式
原创 2018-06-05 22:52:46 · 87 阅读 · 0 评论 -
linux 错误
[] [2018-06-19 17:35:04.723] [] [localhost-startStop-1] [WARN ] [org.springframework.context.support.AbstractApplicationContext refresh 551] - Exception encountered during context initialization - can...原创 2018-06-19 17:41:19 · 375 阅读 · 0 评论