不是海碗 不是海碗
2年前
工作做不完,假期不好过?ChatGPT 帮你高效工作
ChatGPT了,用它来帮助您提高工作效率,当你工作中遇到不到的问题、不会写的代码、不会写的文章等等,都可以去问ChatGPT
桃浪十七丶 桃浪十七丶
4年前
SSM项目中遇到Could not autowire. No beans of ‘XXX‘ type found.错误
写代码时候遇到了这个问题Couldnotautowire.NobeansofHeadLineService'typefound.提示这个错误,是因为在Service的实现类HeadLineServiceImpl中忘记在类的头部加注解@Service解决如下图。
Stella981 Stella981
3年前
Spring 使用注解方式进行事务管理
使用步骤:步骤一、在spring配置文件中引入<tx:命名空间<beansxmlns"http://www.springframework.org/schema/beans" xmlns:xsi"http://www.w3.org/2001/XMLSchemainstance" xmlns:tx"http
Stella981 Stella981
3年前
JVM性能调优监控工具
最近读取大文件老是遇到OutOfMemoryError报错JVM性能调优监控工具有哪些呢?jps    jstatd   jinfo   jstack   jmap   jhat   jstat1.jsp(JavaVirtualMachineProcessStatusTool)输出JVM中运行的进程状
Stella981 Stella981
3年前
Datanode没起来,报错RemoteException(org.apache.hadoop.hdfs.protocol.UnregisteredNodeException)的解决方案
集群中五台datanode结果只起来四台,查看没起来的那台datanode日志,发现报错如下:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.protocol.UnregisteredNodeException):DatanodeDatanodeRegistratio
Stella981 Stella981
3年前
Python技巧之强制使用关键字参数
在Python3中,你可以在函数参数列表中使用一个星号“\”来强制调用者只能使用关键字参数InPython3youcanuseabare""asteriskinfunctionparameterliststoforcethecallertousekeywordargumen
Wesley13 Wesley13
3年前
JDK8新特性
classA{intn10;publicvoidm(){inta1;//在JDK1.8中,默认添加finalfinalinta1;所以在15行可以访问classB{publicvoidmethod(){System.out.println(n);System.out.
Stella981 Stella981
3年前
432,剑指 Offer
!(https://oscimg.oschina.net/oscnet/f76dba60b9024af796d7f00bf6be5334.png)Successisstumblingfromfailuretofailurewithnolossofenthusiasm.成功是在失败中摸索,同时不失去热情。
Stella981 Stella981
3年前
Docker CE设置Http代理
公司网络环境限制,下载docker的image需设置Http代理。1\.编辑httpproxy.conf文件在/etc/systemd/system/docker.service.d/httpproxy.conf中编辑如下内容:ServiceEnvironment"HT
Wesley13 Wesley13
3年前
@SessionAttributes 和 @SessionAttribute的区别
@SessionAttributes和@SessionAttribute的区别SpringMVC中有两个长得非常像的注解:@SessionAttributes和@SessionAttribute。我们先看下@SessionAttributes的定义:@SessionAttributes用于在请求之间的HTTPServlet会话中存储m