问题解决方法
Xuanf_q
这个作者很懒,什么都没留下…
展开
-
DubboMetadataServiceInvocationHandler : Failed to invoke the method $invoke in the service
Dubbo报错:Failed to invoke the method $invoke in the service原创 2023-01-05 17:29:50 · 928 阅读 · 0 评论 -
Windows终端上输入java -version命令,结果为openJDK而非自己安装的JDK
问题在Windows终端Windows终端上输入java -version命令,结果为openJDK;在Windows终端上启动与Java虚拟机有关的程序(如RocketMQ),失败:Could not create the Java Virtual Machine.原因使用了PowerShell终端,该终端对于cmd而言可以理解为是其升级版或补充版。对于两者的异同,可自行查找资料解决换成cmd即可。...原创 2022-05-18 17:41:32 · 1331 阅读 · 2 评论 -
@ResponseBody不生效,你序列化了?序列化的几种方式
问题使用注解开发时,@ResponseBody不生效:即使用@ResponseBody注解后,并不返回JSON数据原因可能有:所返回的对象并没有被序列化,而这一步不可或缺解决序列化的方式:Java原生:给返回的类实现Serializable接口。只需加上implements Serializable即可。public class RestResponse implements Serializable { //....}Hessian序列化:请自行查阅资料。impo原创 2022-05-06 23:28:57 · 1566 阅读 · 0 评论 -
show master status为空值
问题开启MySQL主从、或MySQL开启binlog的过程中:执行 SHOW MASTER STATUS 结果为空原因可能有:MySQL没有开启日志MySQL部分版本问题,如MySQL5.7的配置文件mysqld.cnf缺乏配置解决MySQL没有开启日志在my.cnf文件中[mysqld]下添加log-bin=mysql-bin MySQL版本问题找到配置文件mysqld.cnf并添加或开启(针对5.7版本,其他版本尚不清楚,读者可以试一试):log_bin=/var原创 2022-04-27 22:28:38 · 3022 阅读 · 2 评论 -
Tensorboard使用问题
Tensorboard使用问题No graph definition files were found.To store a graph, create a tf.summary.FileWriter and pass the graph either via the constructor, or by calling its add_graph() method. You may want to check out the examining the TensorFlow graph tutori原创 2021-07-07 22:18:37 · 316 阅读 · 0 评论