
maven
文章平均质量分 93
生命无须向死而生
生命无须向死而生
展开
-
Java导出pdf含表格,含导出水印,水印可以文字或者图片
包含三个文件:public class PDFBuilder extends PdfPageEventHelperpublic class PDFUtilpublic class PDFReport 可直接在里面运行main方法可移步:https://download.youkuaiyun.com/download/zlxls/12736300下载直接植入系统加入依赖: <!-- pdf start --> <dependency> <g原创 2020-08-21 11:19:17 · 919 阅读 · 0 评论 -
springboot导出excel
poi <!--导入导出Excel--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.13</version> </dependency> <dependency> <g.原创 2020-08-18 18:01:28 · 457 阅读 · 0 评论 -
spring boot maven项目打包后本地jar包没有打进项目的问题解决办法
在添加maven-war-plugin插件的时候设置将本地jar包打进项目 <plugin> <artifactId>maven-war-plugin</artifactId> <version>3.2.2</version> <configuration> <webResources> &l.原创 2020-08-15 11:09:47 · 2170 阅读 · 0 评论 -
spring boot打包部署 XXX.jar中没有主清单属性或者Error: Invalid or corrupt jarfile
百度了几个使用 idea 将 springboot web 项目打包成 jar 包的博客都有问题,打包出来的jar不能运行。要么提示XXX.jar中没有主清单属性或者提示错误:Error: Invalid or corrupt jarfileXXX.jar。后面发现了,在idea打包就完全没有问题。跟着步骤就可以搞定,不说废话,上图根据 modules 创...原创 2020-03-11 20:46:09 · 984 阅读 · 0 评论 -
spring boot实现热部署(方法)
spring boot实现热部署(方法)原创 2017-09-05 16:09:45 · 518 阅读 · 0 评论 -
初次搭建spring boot maven项目报错之Unable to find main class
搭建spring boot maven项目报错之Unable to find main classFailed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.3.1.RELEASE:repackage (default) on project SpringBoot: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:原创 2017-09-05 11:25:39 · 21048 阅读 · 0 评论 -
ssm报错之 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
这个问题纠结了一个下午:主要原因请看第一,楼主就是这个错误纠结的报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)解释:就是说,你的Mapper接口,被Spring注入后,却无法正常的使用mapper.xml的sql; 这里的Spring注入后的原创 2017-11-02 14:02:47 · 1090 阅读 · 0 评论 -
idea设置默认maven配置,idea一次性配置maven
最近使用IDEA,配置maven总是每个项目都要配置一次,很麻烦,现在解决如下:问题就在于设置选择里面,一般我们会选择Settings 而不是选择Other Setting->Default Settings我们应该选择Other Setting->Default Settings在箭头处设置apply(应用)就可以了原创 2018-03-26 17:43:08 · 9882 阅读 · 5 评论