feat:更新编译报错h2数据库包没要导入导致启动失败问题

V0.5.x
荭琪枫 2023-06-06 15:11:30 +08:00
parent 62fe672ec2
commit beee0feaf4
26 changed files with 83 additions and 119 deletions

View File

@ -32,6 +32,11 @@
<artifactId>querydsl-jpa</artifactId> <artifactId>querydsl-jpa</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId> <artifactId>mysql-connector-java</artifactId>

View File

@ -3,10 +3,12 @@
<parent> <parent>
<artifactId>iot-components</artifactId> <artifactId>iot-components</artifactId>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<version>${revision}</version> <version>0.4.5-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>cc.iotkit</groupId>
<artifactId>iot-DLT645-component</artifactId> <artifactId>iot-DLT645-component</artifactId>
<version>0.4.5-SNAPSHOT</version>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -38,6 +40,7 @@
<configuration> <configuration>
<source>11</source> <source>11</source>
<target>11</target> <target>11</target>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
@ -46,25 +49,19 @@
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<version>1.18.24</version> <version>1.18.26</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web-proxy</artifactId>
<version>4.2.2</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-component-base</artifactId> <artifactId>iot-component-base</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-common-core</artifactId> <artifactId>iot-common-core</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -75,6 +75,7 @@
<configuration> <configuration>
<source>11</source> <source>11</source>
<target>11</target> <target>11</target>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -37,6 +37,7 @@
<target>${java.version}</target> <target>${java.version}</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<useIncrementalCompilation>false</useIncrementalCompilation> <useIncrementalCompilation>false</useIncrementalCompilation>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -88,6 +88,7 @@
<target>${java.version}</target> <target>${java.version}</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<useIncrementalCompilation>false</useIncrementalCompilation> <useIncrementalCompilation>false</useIncrementalCompilation>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -3,10 +3,12 @@
<parent> <parent>
<artifactId>iot-components</artifactId> <artifactId>iot-components</artifactId>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<version>${revision}</version> <version>0.4.5-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>cc.iotkit</groupId>
<artifactId>iot-emqx-component</artifactId> <artifactId>iot-emqx-component</artifactId>
<version>0.4.5-SNAPSHOT</version>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -48,67 +50,44 @@
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>11</source> <source>${java.version}</source>
<target>11</target> <target>${java.version}</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<useIncrementalCompilation>false</useIncrementalCompilation> <useIncrementalCompilation>false</useIncrementalCompilation>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<dependencies> <dependencies>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>4.2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web-proxy</artifactId>
<version>4.2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-mqtt</artifactId>
<version>4.2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.luaj</groupId>
<artifactId>luaj-jse</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-common-model</artifactId> <artifactId>iot-common-model</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-common-core</artifactId> <artifactId>iot-common-core</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-component-base</artifactId> <artifactId>iot-component-base</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-data-service</artifactId> <artifactId>iot-data-service</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-script-engine</artifactId> <artifactId>iot-script-engine</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -114,6 +114,7 @@
<target>${java.version}</target> <target>${java.version}</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<useIncrementalCompilation>false</useIncrementalCompilation> <useIncrementalCompilation>false</useIncrementalCompilation>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -3,10 +3,12 @@
<parent> <parent>
<artifactId>iot-components</artifactId> <artifactId>iot-components</artifactId>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<version>${revision}</version> <version>0.4.5-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>cc.iotkit</groupId>
<artifactId>iot-http-biz-component</artifactId> <artifactId>iot-http-biz-component</artifactId>
<version>0.4.5-SNAPSHOT</version>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -36,8 +38,9 @@
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>11</source> <source>${java.version}</source>
<target>11</target> <target>${java.version}</target>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
@ -46,25 +49,19 @@
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<version>1.18.24</version> <version>1.18.26</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web-proxy</artifactId>
<version>4.2.2</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-component-base</artifactId> <artifactId>iot-component-base</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-script-engine</artifactId> <artifactId>iot-script-engine</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -68,6 +68,7 @@
<configuration> <configuration>
<source>${java.version}</source> <source>${java.version}</source>
<target>${java.version}</target> <target>${java.version}</target>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -3,10 +3,12 @@
<parent> <parent>
<artifactId>iot-components</artifactId> <artifactId>iot-components</artifactId>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<version>${revision}</version> <version>0.4.5-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>cc.iotkit</groupId>
<artifactId>iot-mqtt-component</artifactId> <artifactId>iot-mqtt-component</artifactId>
<version>0.4.5-SNAPSHOT</version>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -34,73 +36,50 @@
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>11</source> <source>${java.version}</source>
<target>11</target> <target>${java.version}</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<useIncrementalCompilation>false</useIncrementalCompilation> <useIncrementalCompilation>false</useIncrementalCompilation>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<dependencies> <dependencies>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>4.2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-mqtt</artifactId>
<version>4.2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-mqtt</artifactId>
<version>4.1.72.Final</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<version>1.18.24</version> <version>1.18.26</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<version>1.7.32</version> <version>1.7.36</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>org.luaj</groupId>
<artifactId>luaj-jse</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-common-core</artifactId> <artifactId>iot-common-core</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-component-base</artifactId> <artifactId>iot-component-base</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-data-service</artifactId> <artifactId>iot-data-service</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-script-engine</artifactId> <artifactId>iot-script-engine</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -98,6 +98,7 @@
<target>${java.version}</target> <target>${java.version}</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<useIncrementalCompilation>false</useIncrementalCompilation> <useIncrementalCompilation>false</useIncrementalCompilation>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -3,10 +3,12 @@
<parent> <parent>
<artifactId>iot-components</artifactId> <artifactId>iot-components</artifactId>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<version>${revision}</version> <version>0.4.5-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>cc.iotkit</groupId>
<artifactId>iot-websocket-component</artifactId> <artifactId>iot-websocket-component</artifactId>
<version>0.4.5-SNAPSHOT</version>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -32,43 +34,38 @@
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>11</source> <source>${java.version}</source>
<target>11</target> <target>${java.version}</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<useIncrementalCompilation>false</useIncrementalCompilation> <useIncrementalCompilation>false</useIncrementalCompilation>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<dependencies> <dependencies>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>4.2.2</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<version>1.18.24</version> <version>1.18.26</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-common-core</artifactId> <artifactId>iot-common-core</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<version>1.7.32</version> <version>1.7.36</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cc.iotkit</groupId> <groupId>cc.iotkit</groupId>
<artifactId>iot-component-base</artifactId> <artifactId>iot-component-base</artifactId>
<version>0.4.3-SNAPSHOT</version> <version>0.4.5-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -71,6 +71,7 @@
<target>${java.version}</target> <target>${java.version}</target>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<useIncrementalCompilation>false</useIncrementalCompilation> <useIncrementalCompilation>false</useIncrementalCompilation>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -131,6 +131,7 @@
<configuration> <configuration>
<source>${java.version}</source> <!-- depending on your project --> <source>${java.version}</source> <!-- depending on your project -->
<target>${java.version}</target> <!-- depending on your project --> <target>${java.version}</target> <!-- depending on your project -->
<encoding>utf8</encoding>
<annotationProcessorPaths> <annotationProcessorPaths>
<path> <path>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>

View File

@ -46,6 +46,7 @@
<configuration> <configuration>
<source>${java.version}</source> <source>${java.version}</source>
<target>${java.version}</target> <target>${java.version}</target>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -107,6 +107,7 @@
<configuration> <configuration>
<source>${java.version}</source> <source>${java.version}</source>
<target>${java.version}</target> <target>${java.version}</target>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -75,6 +75,7 @@
<configuration> <configuration>
<source>${java.version}</source> <!-- depending on your project --> <source>${java.version}</source> <!-- depending on your project -->
<target>${java.version}</target> <!-- depending on your project --> <target>${java.version}</target> <!-- depending on your project -->
<encoding>utf8</encoding>
<annotationProcessorPaths> <annotationProcessorPaths>
<path> <path>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>

View File

@ -80,7 +80,6 @@ spring:
host: 127.0.0.1 host: 127.0.0.1
port: 6379 port: 6379
database: 0 database: 0
password:
mvc: mvc:
pathmatch: pathmatch:

View File

@ -54,7 +54,6 @@ spring:
host: 127.0.0.1 host: 127.0.0.1
port: 6379 port: 6379
database: 0 database: 0
password:
mvc: mvc:
pathmatch: pathmatch:

View File

@ -80,7 +80,6 @@ spring:
host: 127.0.0.1 host: 127.0.0.1
port: 6379 port: 6379
database: 0 database: 0
password:
mvc: mvc:
pathmatch: pathmatch:

View File

@ -52,6 +52,7 @@
<configuration> <configuration>
<source>${java.version}</source> <source>${java.version}</source>
<target>${java.version}</target> <target>${java.version}</target>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>

View File

@ -50,6 +50,7 @@
<configuration> <configuration>
<source>${java.version}</source> <source>${java.version}</source>
<target>${java.version}</target> <target>${java.version}</target>
<encoding>utf8</encoding>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

BIN
log/error.2023-06-01.0.gz Normal file

Binary file not shown.

BIN
log/error.2023-06-02.0.gz Normal file

Binary file not shown.

BIN
log/info.2023-06-01.0.gz Normal file

Binary file not shown.

BIN
log/info.2023-06-02.0.gz Normal file

Binary file not shown.