- 博客(40)
- 资源 (2)
- 收藏
- 关注
原创 在Linux系统中tail -500f springboot.jar文件引发的乱码
这个异常的原因就是,同事的这个jar项目是有一个输出的日志文件,结果,我误操作了使用tail -500f springboot.jar项目,导致,CRT连接工具整个乱码,而且如何修改都是无效的,原因就是因为在Linux系统中只要用tail 命令打开.class文件就会导致这个问题,这个问题的解决方案,exit都是无效的,关闭当前连接,重新打开才行...
2020-10-30 11:10:29 1148
原创 IDEA搭建SpringCloud项目的Eureka的项目客户端info配置
在yml文件中添加配置:info: app.name: atguigu-microservicecloud company.name: www.atguigu.com build.artifactId: $project.artifactId$ build.version: $project.version$
2020-06-29 19:36:24 360
原创 IDEA搭建SpringCloud项目的Eureka客户端微服务
1、创建Springboot项目2、配置application.yml文件server: port: 8002 #项目端口号spring: application: name: microservicecloud-dept #注册到Eureka服务的服务名eureka: client: #客户端注册进eureka服务列表内 service-url: defaultZone: http://localhost:9002/eureka
2020-06-29 19:28:44 498
原创 IDEA搭建SpringCloud项目的Eureka注册中心
准备软件:IDEA2019.3版本 、jdk8、maven1、首先创建Eureka工程2、配置application.yml文件server: port: 9002 #Eureka项目端口号eureka: instance: hostname: localhost client: registerWithEureka: false #false表示不向注册中心注册自己 fetchRegistry: false #false表..
2020-06-29 19:05:47 636
原创 java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String
"C:\Program Files\Java\jdk1.8.0_251\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-j.
2020-06-05 19:42:05 1809
原创 java.lang.IllegalStateException: javax.websocket.server.ServerContainer not available
"C:\Program Files\Java\jdk1.8.0_251\bin\java.exe" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.3\lib\idea_rt.jar=53883:C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.3\bin" -Dfile.encoding=UTF-8 -.
2020-05-28 17:35:17 8078 5
原创 Exception in thread "main" play.exceptions.ConfigurationException:
2020-01-16 11:49:06.446 [main] INFO play - template compile end ...2020-01-16 11:49:06.448 [main] INFO play - >>>>>>>>>>>>> generate template:/conf/routesEx...
2020-01-16 15:26:25 162
原创 Play异常之play.exceptions.UnexpectedException: Unexpected Error
2019-12-31 10:27:49.021 [play-thread-1] ERROR play - Internal Server Error (500) for request GET /@testsplay.exceptions.UnexpectedException: Unexpected Error at play.classloading.ApplicationClasses...
2019-12-31 10:33:17 1065
原创 play异常之play.exceptions.NoRouteFoundException: No route found
play.exceptions.NoRouteFoundException: No route found at play.mvc.Controller.redirect(Controller.java:598) at play.mvc.Controller.redirect(Controller.java:540) at controllers.remote.app.PaymentNot...
2019-10-17 21:26:14 822
原创 Caused by: java.lang.VerifyError: Stack map does not match the one at exception handler 1532
play.exceptions.UnexpectedException: Unexpected Error at play.mvc.ActionInvoker.invoke(ActionInvoker.java:269) ~[play-1.2.3-jdk1.8.jar:?] at play.server.PlayHandler$NettyInvocation.execute(PlayHand...
2019-10-11 10:54:53 4908
原创 Caused by: java.lang.NoClassDefFoundError: Could not initialize class utils.RedisClusterUtil
2019-10-08 17:12:50.239 [play-thread-14] ERROR play - play.exceptions.JavaExecutionException: Could not initialize class utils.RedisClusterUtil at play.mvc.ActionInvoker.invoke(ActionInvoker....
2019-10-09 14:31:21 803
原创 play异常之javax.persistence.TransactionRequiredException 事务异常
javax.persistence.TransactionRequiredException: Executing an update/delete query at org.hibernate.ejb.AbstractQueryImpl.executeUpdate(AbstractQueryImpl.java:96) at bp.impl.zby.ZbyGoodsManageBpIm...
2019-08-01 15:51:35 343
原创 play异常之javax.persistence.TransactionRequiredException 事务异常
javax.persistence.TransactionRequiredException: Executing an update/delete query at org.hibernate.ejb.AbstractQueryImpl.executeUpdate(AbstractQueryImpl.java:96) at bp.impl.zby.ZbyGoodsManageBpImpl....
2019-08-01 15:49:52 333
原创 play.exceptions.JavaExecutionException: org.hibernate.exception.GenericJDBCException:
2019-06-20 09:37:06,266 ERROR ~ Incorrect string value: '\xF0\x9F\x92\x99\xE6\xB8...' for column 'scenic_info' at row 12019-06-20 09:37:06,268 ERROR ~ Internal Server Error (500) for request GET /tr...
2019-06-21 14:46:41 780
原创 org.hibernate.exception.SQLGrammarException:
play.exceptions.JavaExecutionException: org.hibernate.exception.SQLGrammarException: could not execute native bulk manipulation query at play.mvc.ActionInvoker.invoke(ActionInvoker.java:242)...
2019-06-21 14:28:11 4133
原创 play异常之play.exceptions.UnexpectedException:
2019-06-13 09:15:12,643 INFO ~ classes compile start ...2019-06-13 09:15:12,645 INFO ~ classes compile end ...2019-06-13 09:15:12,647 INFO ~ classes enhance start ...2019-06-13 09:15:12,648 INF...
2019-06-13 09:32:17 1098
原创 调用dubbo服务没有反应,
原因是dubbo接口的实现类,没有在重写方法的方法上,加上重写标识,所以,dubbo一直找不到这个方法,加上这个注解即可
2019-04-19 15:45:35 1734
原创 调用dubbo服务失败
2019-04-19 14:15:50,752 INFO ~ [DUBBO] Send statistics to monitor zookeeper://192.168.3.18:2181/com.alibaba.dubbo.monitor.MonitorService?anyhost=true&application=simple-monitor&check=false&...
2019-04-19 15:42:27 1174
原创 POI异常之NumberFormatException
2019-03-25 15:12:19,908 INFO ~ 查询列表总用时 :73java.lang.NumberFormatException: For input string: "审核通过" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224) at java.lang.Double...
2019-03-25 16:22:53 923
原创 Groovy 异常之Caused by: java.lang.NullPointerException: Cannot invoke method get() on null object
2019-03-12 14:29:00,758 ERROR ~ Cannot invoke method get() on null object2019-03-12 14:29:00,763 ERROR ~ play.exceptions.TemplateExecutionException: Cannot invoke method get() on null object2019-03...
2019-03-12 14:42:35 17657
原创 Could notCannot create PoolableConnectionFactory (ORA-00923: FROM keyword not found where expected )
[2018-05-22 15:14:37] [org.hibernate.validator.internal.util.Version]-[INFO] HV000001: Hibernate Validator 5.3.6.Final[2018-05-22 15:14:42] [org.springframework.boot.autoconfigure.orm.jpa.DatabaseLoo...
2018-05-22 15:57:24 1343 1
原创 关于加载到内存中对象
代码1:ArrayList<testVo> list = new ArrayList<testVo>();testVo tv = new testVo();try { ret = db1.pst.executeQuery();// 执行语句,得到结果集 while (ret.next()) { tv.setKey(ret.getString(1)); lis...
2018-02-08 12:12:02 185
原创 springboot + jpa 启动报警之SQL异常
2017-11-15 18:48:27[org.hibernate.hql.internal.ast.ErrorCounter]-[ERROR] line 1:70: unexpected token: or 2017-11-15 18:48:27[org.hibernate.hql.internal.ast.ErrorCounter]-[ERROR] line 1:70: unexpected
2017-11-15 19:23:17 1527
原创 json异常之JsonMappingException
2017-11-15 16:43:06[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: Can not deserialize in
2017-11-15 18:31:03 18811
原创 MySQLSyntaxErrorException
2017-11-15 15:12:10[com.dianju.trustedSign.core.modules.models.SystemOutPrint]-[INFO] Hibernate: select count(1) from (select new map(y.dictName as text1,y.dictCode as text2,y.dictValue as yan3) from Y
2017-11-15 16:52:34 669
原创 spring注解开发1
@RequestParam用来处理Content-Type: 为 application/x-www-form-urlencoded编码的内容。(Http协议中,如果不指定Content-Type,则默认传递的参数就是application/x-www-form-urlencoded类型)RequestParam可以接受简单类型的属性,也可以接受对象类型。 实质是将Request.getPara
2017-11-14 17:55:54 225
原创 springboot开发中使用postman 向后台传递json数据的时候,为空
我的错误原因就是因为,在spring注解开发中,使用get或者是post请求的时候,就是需要这些注意事项 这里写图片描述 就是这两个地方搞混,后台就会拿不到前台传递的json数据
2017-11-09 17:15:32 6987 2
原创 spring data jpa
org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.hql.internal.QueryExecutionRequestException: Not supported for DML operations [update com.dianju.trustedSign.modules.org.models
2017-11-09 17:05:10 340
原创 spring data jpa的一个异常
org.springframework.dao.InvalidDataAccessApiUsageException: Parameter with that position [2] did not exist; nested exception is java.lang.IllegalArgumentException: Parameter with that position [2] did
2017-11-09 14:33:12 863
原创 数据库相关异常
Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]- SQLErrorCodes loaded: [DB2, HSQL, MS-SQL, MySQL, Oracle, Informix, PostgreSQL, Sybase]201
2017-09-21 14:52:47 468
原创 Git使用
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origingit -c diff.mnemonicprefix=false -c core.quotepath=false pull origin master From https://git.trustedsign.com/frontend/ESS-frontend
2017-09-21 14:49:54 359
原创 Keytool类
2017-09-13 10:23:20[com.dianju.modules.cert.controllers.CertController]-[INFO] 开始添加证书 2017-09-13 10:23:20[com.dianju.core.SystemOutPrint]-[INFO] Hibernate: select cert0_.name as col_0_0_ from cert cer
2017-09-21 14:41:22 393
原创 数据库异常com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException
2017-09-13 17:05:03[com.dianju.core.SystemOutPrint]-[INFO] Hibernate: select count(*) from wechat_code where `status`=1 2017-09-13 17:05:03[com.dianju.core.SystemOutPrint]-[INFO] Hibernate: select cou
2017-09-21 10:29:39 13996 1
原创 Linux系统下的BUG
这里写代码片2017-07-12 09:19:06:013 upload.jsp--FAILED5- Undeploying Web service: testJul 12, 2017 9:19:12 AM org.apache.naming.resources.FileDirContext listWARNING: Could not get dir listing for /usr/to
2017-07-12 21:27:30 896
转载 文章标题
2017.07.12 at 09:07:33.796 CST ERROR com.dj.seal.bankFile.util.RuleCacheUtil 23 getruleList - 加载规则定时任务执行失败 org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nes
2017-07-12 21:22:15 173
原创 Oracle创建表空间bug1
今天使用plsql创建表空间的时候报警, 我使用的sql语句是: 第一:select tablespace_name from dba_tablespaces; 上面是查询所有的表空间 第二:create tablespace data_paperless logging datafile ‘/home/dba
2017-07-06 20:08:36 528
原创 欢迎使用CSDN-markdown编辑器
今天在使用一个控件的时候,总是报警显示key和value不能为空,就是调用一个使用c语言写的控件的,ocx控件,解决办法就是
2017-07-05 22:31:37 153
原创 欢迎使用CSDN-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2017-06-24 20:29:56 141
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人