- 博客(10)
- 收藏
- 关注
原创 Linux部署finebi6.0
将解压后的finebi文件包下的webroot/移动或复制到tomcat的webapps/下(mv webroot/ /opt/tomcat/webapps/ 或者 cp -r webroot/ /opt/tomcat/webapps)关闭tomcat后重新启动(关闭 cd/opt/tomcat/bin。浏览器输入 IP地址:8080查看tomcat是否能用。IP地址:8080/webroot/decision。4.启动 cd /opt/tomcat/bin。
2023-09-05 20:20:20 12744 2
原创 springboot实现文件上传和下载
pom.xml依赖 <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupI...
2020-12-14 10:41:55 12978
原创 Failure to transfer org.springframework:spring-jcl:jar:5.0.7.RELEASE from
错误信息:Failure to transfer org.springframework.boot:spring-boot-maven-plugin:pom:1.5.4.RELEASE from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed
2020-11-04 19:36:18 7739
原创 解决Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@38e46e4
解决Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@38e46e4a]异常1、我自己解决的方法作为初学者,当我遇到这个异常时也在网上找解决方法,可都没有解决,最后发现是自己操作的问题我们都运行过sql文件如图 ,如果我们有sql文件,都是右键运行sql文件。可有时运行时表会跑到系统自带的数据库,如test库,我们不以为然就去我们程序操作,就会报Closing.
2020-10-15 17:27:50 143056 12
原创 jdbc操作
public class BaseDao { public static String DRIVER=null; public static String URL=null; public static String USERNAME=null; public static String PASSWORD=null; ResultSet ...
2019-11-27 13:58:51 125
原创 数组的简易操作
public class ArrayList { // 保存元素的空间 private Object[] array = new Object[5]; // 有效元素的个数 private int size = 0; // 查询o第一次出现的下标,如果没有包含o,则返回-1 public int indexOf(Object o) { ...
2019-06-03 17:24:51 138
原创 复数的四则运算
public class Demo12 { public static void main(String[] args) { Complex complex = new Complex(); complex.a = 3; complex.b = 4; Complex complex1 = new Complex(); ...
2019-05-18 19:29:17 226
翻译 二分法查找
public class Demo5 { public static void main(String[] args) { int[] arr = {1,2,3,4,5,6}; System.out.println("查找值为:"); System.out.println(inSeach(arr,6)); }public stati...
2019-04-21 17:42:37 138
原创 从小到大排序
import java.util.Scanner;public class Test { public static void main(String[] args) { Scanner in=new Scanner(System.in); System.out.println("请输入a的值:"); int a=in.nextInt(); System.out.print...
2019-04-06 11:17:04 587
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人