
java
像夏天一样热
学习、记录、分享!
展开
-
Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde
报错:Could not find artifact org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde解决:包没下载下来下载替换到自己maven仓库:仓库位置:…\repository\org\pentaho\pentaho-aggdesigner-algorithm\5.1.5-jhyde地址:https://public.nexus.pentaho.org/service/rest/repository/browse/原创 2021-12-27 16:54:04 · 698 阅读 · 0 评论 -
ibatis There is no statement named XXX in this SqlMap
batis There is no statement named XXX in this SqlMap.实体映射文件未加入到sqlMapConfig.xml文件中。原因是:框架只读取sqlMapConfig.xml文件,对新建的sqlMap引入文件即使注入bean也不予理睬。将引入文件加入sqlMapConfig.xml就可以解决问题。把用到xml文件加到sqlMapConfig.xml中引入就可以了...原创 2021-10-21 14:25:20 · 443 阅读 · 0 评论 -
maven的安装与idea集成
文章目录1.下载maven包2.自己指定位置解压缩3.添加环境变量4.在path下添加%MAVEN_HOME%\bin5.检查是否配置成功1.下载maven包下载第一个2.自己指定位置解压缩3.添加环境变量此电脑→属性→高级系统设置→环境变量→系统变量→新建 MAVEN_HOME变量值为刚才解压的maven路径4.在path下添加%MAVEN_HOME%\bin5.检查是否配置成功...原创 2021-01-04 22:14:07 · 216 阅读 · 0 评论 -
http请求下载文件与InputStream中read(byte[] b)方法详解
1.完整代码public static void httpFileDownload(){ String url = "http://a3.att.hudong.com/68/61/300000839764127060614318218_950.jpg"; try { URL url2 = new URL(url); //获取http连接 HttpURLConnectio...原创 2020-02-21 18:53:54 · 990 阅读 · 0 评论 -
java用split()分割字符串注意事项
注意;1.字符"|","*","+“都得加上转义字符,前面加上”\"。2.而如果是"",那么就得写成"\\"。3.如果一个字符串中有多个分隔符,可以用"|"作为连字符。比如:String str = “Java string-split#test”,可以用Str.split(" |-|#")把每个字符串分开。这样就把字符串分成Java string、split、test3个子字符串。但是...原创 2020-02-21 16:11:32 · 516 阅读 · 0 评论