springboot
阿萨德夫
千里之行始于足下
展开
-
java利用 aspose-words Word或Excel 转Pdf(无水印、页数限制)
1:首先需要引入相关的jarword转pdf需要引入 aspose-words-15.8.0-jdk16.jar下载JAR包Wordhttp://note.youdao.com/noteshare?id=1e73ab1c91abad338271d50a881165c2excel转pdf需要引入aspose-cells-8.5.2.jarExcelhttp://note....原创 2019-11-12 17:16:22 · 8895 阅读 · 10 评论 -
java---Word转html(1会丢失格式,2支持图片)
1.依赖<dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.15</version> </dependency> <dependen...原创 2019-11-12 17:31:19 · 3172 阅读 · 2 评论 -
Springboot2.0.X之注解定时任务配置
1、启动类添加注解@EnableScheduling2、创建定时任务类@Componentpublic class SchedulerTask { private int count =0; @Scheduled(cron = "*/6 * * * * ?") private void task(){ System.out.println...原创 2019-09-01 21:19:04 · 230 阅读 · 0 评论 -
解决mapper.xml不在resource的时出现的错误nvalid bound statement (not found): com.dxl.system.mapper
错误:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.dxl.system.mapper.UserMapper.selectList解决:pom配置一下编译<build> <resources><!--解决mapper.xml不在r...原创 2019-09-03 12:25:34 · 503 阅读 · 0 评论 -
springboot跨域配置
import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.CorsRegistry;import org.springframework.web.servlet.config.annotation.WebMvcConf...原创 2019-09-24 09:07:59 · 151 阅读 · 0 评论 -
springboot 打包后放在Tomcat后加上项目名后访问仍然报错404
启动类需要继承SpringBootServletInitializer@SpringBootApplication@MapperScan(value = "com.dxl.system.mapper")public class MdnoteApplication extends SpringBootServletInitializer { public static void mai...原创 2019-10-08 17:33:42 · 413 阅读 · 0 评论