摘要: XML文件 注释快捷键为:Ctrl+Shift+/ 今天发现,在pom.xml文件中写注释,输入<!,没有任何提示,想写个完整的注释,还需要<!-- -->把这一串完整的写进去,然后中间空两格,再写中间的注释文本; 太麻烦了,于是想通过模板代码进行添加,试了<!作为缩写,发现是不起作用的,没有再深究 阅读全文
posted @ 2023-03-28 23:07 古语云 阅读(779) 评论(0) 推荐(0) 编辑
摘要: 方法注释生成: Setting-> Editor -> Live Templates,自定义:Template Group,再定义:MethodTemplate。 * * @ClassName $name$ * @Description TODO * @Param $params$ * @Retur 阅读全文
posted @ 2023-03-28 22:47 古语云 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 点击tomcat stop按钮后,出现以下提示 org.apache.catalina.startup.Catalina.stopServer No shutdown port configured. Shut down server through OS signal. Server not sh 阅读全文
posted @ 2023-03-28 16:02 古语云 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 常规插入若字符超过4000则会提示文本过长,需要使用绑定变量进行插入,具体如下: --使用PL/SQL语法,采取绑定变量的方式解决,而不是直接拼接SQL DECLARE V_LANG CLOB := '待插入的海量字符串'; V_UPDATE CLOB := '更新的海量字符串'; BEGIN IN 阅读全文
posted @ 2023-03-28 14:49 古语云 阅读(629) 评论(0) 推荐(0) 编辑
摘要: IDEA 提示如下: Show all duplicates like this Do not detect duplicates of this size 1. 打开左上角File-->Settings,选择Editor-->Inspections 2. 找到General,将duplicated 阅读全文
posted @ 2023-03-28 11:46 古语云 阅读(1949) 评论(0) 推荐(0) 编辑