logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

JAVA解析Excel文件的两种方式 --Poi技术

目前有两种比较主流的技术解析Excel文件,这里我讲解的是Poi技术的实现。话不多话,Poi包里有4个主要的类,包括:Workbook------工作表,通过WorkbookFactory的create(FileInputStream fis)方法获取,Sheet------------表格,Workbook实例的getSheetAt(int num)方法获取,Row--------...

git 配置 SSH

1、鼠标右键,点击 ‘git bash here’2、配置一下name 、eamilgit config --global user.name '用户名'git config --global user.email '邮箱'3、生成 SSH KEYssh-keygen -t rsa -C '邮箱'一直确定直到结束;根据日志信息里面的 SSH KEY 存储路径找到 .ssh/id_rsa.pub 文

#git#ssh#运维
window家庭版安装docker

Docker可以支持在mac、windows、linux上安装。但是在windows系统中Docker目前仅有win10专业版和企业版的安装包,win7/win8/win10家庭版需要通过docker toolbox来安装。下载地址:http://mirrors.aliyun.com/docker-toolbox/windows/docker-toolbox/Docker的有CE和EE版,CE为免

Oracle数据库下用concat函数模糊查询之参数个数无效

一直报错参数个数无效,模糊查询的sql语句还是concat('%','s','%')这样写的但实际上oracle中不支持concat的三个参数的拼接,需要更正为select * from SYS_MENU where url like concat(concat('%',#{roleName}),'%')或者使用select * from SYS_MENU where urllike'%' ||#

springboot启动不需要加载数据库

如果项目确实不需要连接数据库,请在启动类中添加注解 (红色)方式一:@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})方式二添加注解:@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})————————————————版权声明:本

#spring boot#数据库#后端
fatal: Authentication failed for错误

1.1查看 用户名,密码$ git config user.name$ git config user.email2.1修改 用户名,密码$ git config --global user.name "username"$ git config --global user.email "email"1、配置用户信息git config --global user.name [username]g

idea的maven项目里面的不是maven工程的解决办法

点击屏幕右侧maven projects按钮 -->点那个绿+7.展开当前目录下的项目,分别将pom文件露出来,然后,按住CTRL键,依次选择 -->ok

文章图片
#maven#idea#java
No setter found for the keyProperty ‘id‘ in ‘java.lang.Class‘.

db中表的主健采用了自增的方式但是在bean中并没有定义id属性,导致报错org.apache.ibatis.executor.ExecutorException: No setter found for the keyProperty 'id'解决办法:在配置中删除keyProperty="id"的配置原因:主健采用了自增的方式只需要配置:useGeneratedKeys="true"keyPr

idea工程后面有个中括号和数字1

需要通过右键,Refactor->Rename->Rename Module 的方式进行重命名就ok了,如下图

文章图片
#ide
fatal: Authentication failed for错误

1.1查看 用户名,密码$ git config user.name$ git config user.email2.1修改 用户名,密码$ git config --global user.name "username"$ git config --global user.email "email"1、配置用户信息git config --global user.name [username]g

    共 32 条
  • 1
  • 2
  • 3
  • 4
  • 请选择