后端
go_____________ahead
一个正在学习的java菜鸟
展开
-
maven 学习
一、setting配置 1、配置本地maven仓库配置 在maven\conf\setting文件中 <localRepository>C:\javaDevelopment\repo</localRepository> 找到如图配置为maven仓库位置 该配置就是maven依赖下载的jar后所在的位置 2、下载jar包效率慢 在配置文件中找到原来的配置用下文代替,将中央仓库改为国内 <mirror> <id>alimaven</i..原创 2020-12-27 19:23:23 · 207 阅读 · 0 评论 -
error: The type XXX cannot be resolved. It is indirectly referenced from required .class files
jetty:报错信息 bean with name 'xmRiskAggregationCI' defined in URL [jar:xxxxx/ra.xm.rpc.hessian.importer.spring.index.xml]: Invocation of init method failed; nested exception is java.lang.Error: Unresolved compilation problems: The type com.ebao.ls.原创 2020-11-27 17:33:36 · 164 阅读 · 0 评论 -
java输入流输出流--样例
1.字节输入流 FileInputStream 1.每次读入一个 //每次读取一个 public void inptutStream(String path) { //文件 File file = new File ( path ); //字节型输入流 FileInputStream fis = null; { tr...原创 2020-04-21 01:03:57 · 141 阅读 · 0 评论 -
JDBC连接数据库已经增删改查-自我记忆
一、连接数据库 1.获取连接 public static Connection MysqlConnect() throws Exception { Properties properties = new Properties(); //通过配置文件加载数据 InputStream is = ClassLoader.getSystemClas...原创 2019-12-25 10:10:08 · 95 阅读 · 0 评论 -
excel上传与下载
pom <!-- https://mvnrepository.com/artifact/org.apache.poi/poi --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</a...原创 2019-12-08 18:57:40 · 148 阅读 · 0 评论 -
poiexce表单上传
excel表单上传 实体类: package com.example.demo.entity; public class Student { public String age; public String name; public String number; public Student(String age,String ...原创 2019-09-25 11:07:45 · 97 阅读 · 0 评论