提交 066c0cf7 authored 作者: Matrix's avatar Matrix

fix(基础): JAVA版本修正

从17改回到java8
上级 512a8795
package org.matrix;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
package org.matrix;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Hello world!
*
* @author matrix
*/
@SpringBootApplication
public class BaseBootApplication {
public static void main(String[] args) {
SpringApplication.run(BaseBootApplication.class, args);
}
}
......@@ -20,7 +20,7 @@ import org.matrix.database.service.ITestCaseService;
import org.matrix.actuators.httpclient.HttpRequestDetail;
import org.matrix.actuators.httpclient.HttpResponseDetail;
import org.matrix.enums.DynamicVarType;
import org.matrix.misc.GlobalException;
import org.matrix.exception.GlobalException;
import org.springframework.context.annotation.Lazy;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
......
......@@ -11,7 +11,7 @@ import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.matrix.actuators.sql.SqlExpDetail;
import org.matrix.enums.DynamicVarType;
import org.matrix.misc.GlobalException;
import org.matrix.exception.GlobalException;
/**
* <p>
......
......@@ -18,7 +18,7 @@ public interface IDynamicVariableService extends IService<DynamicVariable> {
/**
* 根据变量名称获取变量
*
* @param name 变量名
* @param name 变量名x
* @param projectId 项目id
* @return 变量
*/
......
package org.matrix.misc;
package org.matrix.exception;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.ResponseEntity;
......
# config mysql database
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&useSSL=false
spring.datasource.username=root
spring.datasource.password=ldf3291369
package org.matrix.actuators.sql;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
/**
* SqlExpActuatorTest.
*
* @author Matrix <xhyrzldf@gmail.com>
* @since 2022/1/20 at 3:08 PM
* Suffering is the most powerful teacher of life.
*/
class SqlExpActuatorTest {
@Test
void parseVarByName() {
}
@Test
void parseVarById() {
}
}
\ No newline at end of file
......@@ -11,6 +11,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class App {
public static void main(String[] args) {
SpringApplication.run(App.class);
SpringApplication.run(BaseBootApplication.class);
}
}
\ No newline at end of file
......@@ -24,8 +24,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<!-- 子模块版本以及依赖的版本管理-->
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论