- 博客(9)
- 收藏
- 关注
转载 jar文件打开时提示 could not create the java virtual machine
could not create the java virtual machine
2022-06-08 16:28:47
1114
转载 Intellij IDEA运行单测报Command line is too long
解决方案1:修改项目下 .idea\workspace.xml,找到标签<component name="PropertiesComponent">,在该标签里加一行<property name="dynamic.classpath" value="true" />解决方案2:原因记录:该选项控制如何将classpath传递给JVM:通过命令行或通过文件。大多数操作系统都有最大的命令行限制,当它超过时,IDEA将无法运行您的应用程序。 当命令行长于32...
2020-08-05 15:31:42
227
转载 PLSQL可以程序报错ORA-12505,TNS:listener does not currently know of SID
//监听sid服务,表示sid为orcldatabase.url=jdbc:oracle:thin:@171.xxx.96.xx:xxxx:orcl//监听服务名,表示服务名为orcldatabase.url=jdbc:oracle:thin:@171.xxx.96.xx:xxxx/orcl使用服务名连接时注意使用第二种方式(与PL/SQL相同)查询sid_name的方法sel...
2019-09-20 15:42:16
758
原创 mybatis查询比plsql慢
使用PLSQL查询的时间是mybatis的四分之一,一直不太明白是什么原因,经过百度,设置fetchSize解决了此问题,设置之后,两者时间基本相等,估计和我查询的数据比较多有关系,特此记下。<select id="xxx" resultType="xxx" fetchSize="1000"> SQL......</select>...
2019-08-05 15:52:22
4160
1
转载 生成webservice客户端的一些坑
一、undefinedelement declaration 's:schema'(来自:https://blog.csdn.net/binbinxyz/article/details/8906717)用<s:any minOccurs="2" maxOccurs="2"/>替代<s:element ref="s:schema"/><s:any /> ..
2018-09-13 10:39:26
6794
原创 mybatis 注入方式
无意中发现mybatis3.4.5中注入还能这么用:java代码params.put("sql", "SELECT * FROM e_eventinfo where stateid=#{stateid} and casetype = #{casetype}");params.put("accountid", "555");params.put("casetype", "1");par
2018-05-29 17:01:20
1619
原创 openfire strophejs 群聊
strophejs一直不会用,导致创建房间总是不成功,几经尝试终于可以了,代码如下:参考了https://www.cnblogs.com/wucao/p/4223169.html的文章,感谢感谢还有以下这些网址:http://strophe.im/strophejs/doc/1.2.14/files/strophe-js.htmlhttps://xmpp.org/extensions/xep-00...
2018-04-19 12:13:57
1394
2
转载 springboot @value无法注入 配置文件
使用@Value的类如果被其他类作为对象引用,必须要使用注入的方式,而不能new转自 https://bbs.csdn.net/topics/392082865
2018-04-16 12:19:13
1465
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人