Springboot integrates Freemarker to realize tables automatically crossing rows and columns

This article mainly explains how to merge data tables and display them across rows and columns through the ftl template language No more nonsense, let’s get straight to the code 1. Data description: 1. There will be multiple testing rooms 2. Each testing room has multiple testing areas 3. Each area has multiple detection points […]

Spring Boo+Shiro+FreeMarker

Spring Boot is a framework for quickly building web applications, Shiro is a powerful security framework, and Freemarker is a template engine that helps you build high-quality web applications easily. This article will introduce in detail how to integrate Shiro and Freemarker in Spring Boot and provide complete code examples. Step 1: Create a Spring […]

Record has Long.MIN_VALUE timestamp (= no timestamp marker). Is the time characteristic set to ‘Proc…

question: Caused by: java.lang.RuntimeException: Record has Long.MIN_VALUE timestamp (= no timestamp marker). Is the time characteristic set to ‘ProcessingTime’, or did you forget to call ‘DataStream.assignTimestampsAndWatermarks(…) ‘? Exception in thread “main” org.apache.flink.runtime.client.JobExecutionException: Job execution failed. at org.apache.flink.runtime.jobmaster.JobResult.toJobExecutionResult(JobResult.java:144) at org.apache.flink.runtime.minicluster.MiniClusterJobClient.lambda$getJobExecutionResult$3(MiniClusterJobClient.java:137) at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) at org.apache.flink.runtime.rpc.akka.AkkaInvocationHandler.lambda$invokeRpc$0(AkkaInvocationHandler.java:237) at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760) at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736) at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) […]

Mybatis dynamic language – mybatis-freemarker

Earlier we introduced the use of Mybatis dynamic SQL; in this article we introduce the use of mybatis-freemarker dynamic language to generate dynamic SQL. If you don’t know much about Mybatis dynamic SQL, it is recommended that you understand it first before reading this article. You can refer to: Mybatis dynamic SQL – use if, […]

Freemarker and aspose export word and pdf files – single export and loop export

Freemarker and aspose export word and pdf files – single export and loop export Guide package <!–UtilsWord to PDF–> <dependency> <groupId>aspose.words</groupId> <artifactId>aspose-words</artifactId> <version>15.8.0</version> </dependency> <!– freemarker jar –> <dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker</artifactId> <version>2.3.28</version> </dependency> <dependency> <groupId>org.docx4j</groupId> <artifactId>docx4j-export-fo</artifactId> <version>8.1.1</version> </dependency> Make word template – single export Loop export Save the xml format, change the suffix on the […]