parent
aa0c8b0721
commit
d67cf3db42
25 changed files with 671 additions and 208 deletions
@ -0,0 +1,124 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project version="4"> |
||||
<component name="Palette2"> |
||||
<group name="Swing"> |
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> |
||||
</item> |
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> |
||||
</item> |
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> |
||||
</item> |
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true"> |
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> |
||||
</item> |
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> |
||||
<initial-values> |
||||
<property name="text" value="Button" /> |
||||
</initial-values> |
||||
</item> |
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> |
||||
<initial-values> |
||||
<property name="text" value="RadioButton" /> |
||||
</initial-values> |
||||
</item> |
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> |
||||
<initial-values> |
||||
<property name="text" value="CheckBox" /> |
||||
</initial-values> |
||||
</item> |
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> |
||||
<initial-values> |
||||
<property name="text" value="Label" /> |
||||
</initial-values> |
||||
</item> |
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> |
||||
<preferred-size width="150" height="-1" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> |
||||
<preferred-size width="150" height="-1" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> |
||||
<preferred-size width="150" height="-1" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||
<preferred-size width="150" height="50" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||
<preferred-size width="150" height="50" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||
<preferred-size width="150" height="50" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> |
||||
</item> |
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||
<preferred-size width="150" height="50" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> |
||||
<preferred-size width="150" height="50" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> |
||||
<preferred-size width="150" height="50" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> |
||||
<preferred-size width="200" height="200" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> |
||||
<preferred-size width="200" height="200" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true"> |
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> |
||||
</item> |
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> |
||||
</item> |
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> |
||||
</item> |
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> |
||||
</item> |
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> |
||||
<preferred-size width="-1" height="20" /> |
||||
</default-constraints> |
||||
</item> |
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false"> |
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> |
||||
</item> |
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false"> |
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> |
||||
</item> |
||||
</group> |
||||
</component> |
||||
</project> |
||||
Binary file not shown.
@ -0,0 +1,78 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-parent</artifactId> |
||||
<version>2.2.6.RELEASE</version> |
||||
<relativePath/> |
||||
</parent> |
||||
|
||||
<artifactId>hiatmp-api-server</artifactId> |
||||
|
||||
<properties> |
||||
<maven.compiler.source>8</maven.compiler.source> |
||||
<maven.compiler.target>8</maven.compiler.target> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
</dependency> |
||||
|
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-autoconfigure</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.mybatis</groupId> |
||||
<artifactId>mybatis-spring</artifactId> |
||||
<version>2.1.2</version> |
||||
<scope>compile</scope> |
||||
</dependency> |
||||
|
||||
<dependency> |
||||
<groupId>org.projectlombok</groupId> |
||||
<artifactId>lombok</artifactId> |
||||
</dependency> |
||||
<!-- <dependency>--> |
||||
<!-- <groupId>com.alibaba</groupId>--> |
||||
<!-- <artifactId>tools</artifactId>--> |
||||
<!-- <version>1.8.0</version>--> |
||||
<!-- <scope>compile</scope>--> |
||||
<!-- </dependency>--> |
||||
<dependency> |
||||
<groupId>com.baomidou</groupId> |
||||
<artifactId>mybatis-plus-annotation</artifactId> |
||||
<version>3.5.7</version> |
||||
<scope>compile</scope> |
||||
</dependency> |
||||
|
||||
<dependency> |
||||
<groupId>com.baomidou</groupId> |
||||
<artifactId>mybatis-plus-boot-starter</artifactId> |
||||
<version>3.5.7</version> |
||||
</dependency> |
||||
|
||||
<dependency> |
||||
<groupId>com.baomidou</groupId> |
||||
<artifactId>mybatis-plus-core</artifactId> |
||||
<version>3.5.7</version> |
||||
</dependency> |
||||
<!-- <dependency>--> |
||||
<!-- <groupId>com.baomidou</groupId>--> |
||||
<!-- <artifactId>mybatis-plus-extension</artifactId>--> |
||||
<!-- <version>3.5.7</version>--> |
||||
<!-- <scope>compile</scope>--> |
||||
<!-- </dependency>--> |
||||
|
||||
<dependency> |
||||
<groupId>org.postgresql</groupId> |
||||
<artifactId>postgresql</artifactId> |
||||
</dependency> |
||||
</dependencies> |
||||
|
||||
</project> |
||||
@ -0,0 +1,14 @@ |
||||
package com.hisense.hiatmp.urbantraffic; |
||||
|
||||
import org.mybatis.spring.annotation.MapperScan; |
||||
import org.springframework.boot.SpringApplication; |
||||
import org.springframework.boot.autoconfigure.SpringBootApplication; |
||||
|
||||
|
||||
@SpringBootApplication |
||||
@MapperScan("com.hisense.hiatmp.urbantraffic.mapper") |
||||
public class SpringApplicationMain { |
||||
public static void main(String[] args) { |
||||
SpringApplication.run(SpringApplicationMain.class, args); |
||||
} |
||||
} |
||||
@ -0,0 +1,56 @@ |
||||
package com.hisense.hiatmp.urbantraffic.controller; |
||||
|
||||
|
||||
import com.hisense.hiatmp.urbantraffic.entity.User; |
||||
import com.hisense.hiatmp.urbantraffic.result.Result; |
||||
import com.hisense.hiatmp.urbantraffic.service.IUserService; |
||||
import org.springframework.beans.factory.annotation.Autowired; |
||||
import org.springframework.web.bind.annotation.*; |
||||
|
||||
import java.util.List; |
||||
import java.util.Map; |
||||
|
||||
@RestController |
||||
@RequestMapping("/api") |
||||
public class loginController { |
||||
|
||||
@Autowired |
||||
IUserService userService; |
||||
|
||||
@PostMapping("login") |
||||
public Result login(@RequestBody Map<String, String> person) { |
||||
String username = person.get("username"); |
||||
String password = person.get("password"); |
||||
|
||||
if(username != null && password != null){ |
||||
List<User> user = userService.list(); |
||||
if(user.isEmpty()){ |
||||
// return new Response("登录失败:用户名不存在", -1, false);
|
||||
return Result.fail(); |
||||
}else { |
||||
if (user.get(0).getCuserpwd().equals(password)){ |
||||
// return new Response("登录成功", 1, true);
|
||||
return Result.ok(user.get(0)); |
||||
}else { |
||||
// return new Response("登录失败:密码错误", -1, false);
|
||||
return Result.fail(user.get(0)); |
||||
} |
||||
} |
||||
}else { |
||||
// return new Response("登录失败:用户名密码不能为空",-1,false);
|
||||
return Result.fail(); |
||||
} |
||||
} |
||||
|
||||
// 查询所有用户
|
||||
@GetMapping("/findAll") |
||||
public Result findAll(){ |
||||
|
||||
// 调用service
|
||||
List<User> list = userService.list(); |
||||
return Result.ok(list); |
||||
} |
||||
|
||||
|
||||
|
||||
} |
||||
@ -0,0 +1,20 @@ |
||||
package com.hisense.hiatmp.urbantraffic.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import lombok.Data; |
||||
|
||||
@Data |
||||
@TableName("operator") |
||||
public class User { |
||||
|
||||
@TableField("nuserid") |
||||
String nuserid; |
||||
|
||||
@TableField("cusername") |
||||
String cusername; |
||||
|
||||
@TableField("cuserpwd") |
||||
String cuserpwd; |
||||
|
||||
} |
||||
@ -0,0 +1,9 @@ |
||||
package com.hisense.hiatmp.urbantraffic.mapper; |
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.hisense.hiatmp.urbantraffic.entity.User; |
||||
import org.apache.ibatis.annotations.Mapper; |
||||
|
||||
@Mapper |
||||
public interface UserMapper extends BaseMapper<User> { |
||||
} |
||||
@ -0,0 +1,56 @@ |
||||
package com.hisense.hiatmp.urbantraffic.result; |
||||
|
||||
import lombok.Data; |
||||
|
||||
@Data |
||||
public class Result<T> { |
||||
|
||||
private Integer code;//状态码
|
||||
private String message;//返回信息
|
||||
private T data;//数据
|
||||
|
||||
//私有化
|
||||
private Result() {} |
||||
|
||||
//封装返回是数据
|
||||
public static <T> Result<T> build(T body, ResultCodeEnum resultCodeEnum) { |
||||
Result<T> result = new Result<>(); |
||||
//封装数据
|
||||
if(body != null) { |
||||
result.setData(body); |
||||
} |
||||
//状态码
|
||||
result.setCode(resultCodeEnum.getCode()); |
||||
//返回信息
|
||||
result.setMessage(resultCodeEnum.getMessage()); |
||||
return result; |
||||
} |
||||
|
||||
//成功
|
||||
public static<T> Result<T> ok() { |
||||
return build(null,ResultCodeEnum.SUCCESS); |
||||
} |
||||
|
||||
public static<T> Result<T> ok(T data) { |
||||
return build(data,ResultCodeEnum.SUCCESS); |
||||
} |
||||
|
||||
//失败
|
||||
public static<T> Result<T> fail() { |
||||
return build(null,ResultCodeEnum.FAIL); |
||||
} |
||||
|
||||
public static<T> Result<T> fail(T data) { |
||||
return build(data,ResultCodeEnum.FAIL); |
||||
} |
||||
|
||||
public Result<T> message(String msg){ |
||||
this.setMessage(msg); |
||||
return this; |
||||
} |
||||
|
||||
public Result<T> code(Integer code){ |
||||
this.setCode(code); |
||||
return this; |
||||
} |
||||
} |
||||
@ -0,0 +1,23 @@ |
||||
package com.hisense.hiatmp.urbantraffic.result; |
||||
|
||||
import lombok.Getter; |
||||
|
||||
@Getter |
||||
public enum ResultCodeEnum { |
||||
|
||||
SUCCESS(200,"成功"), |
||||
FAIL(201, "失败"), |
||||
LOGIN_ERROR(208,"未登录"), |
||||
SERVICE_ERROR(2012,"服务异常"), |
||||
DATA_ERROR(204,"数据异常"), |
||||
PERMISSION(209,"没有权限"), |
||||
; |
||||
|
||||
private Integer code; |
||||
private String message; |
||||
|
||||
private ResultCodeEnum(Integer code, String message) { |
||||
this.code = code; |
||||
this.message = message; |
||||
} |
||||
} |
||||
@ -0,0 +1,10 @@ |
||||
package com.hisense.hiatmp.urbantraffic.service; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService; |
||||
import com.hisense.hiatmp.urbantraffic.entity.User; |
||||
|
||||
public interface IUserService extends IService<User> { |
||||
|
||||
// List<User> queryByName(String username);
|
||||
|
||||
} |
||||
@ -0,0 +1,13 @@ |
||||
package com.hisense.hiatmp.urbantraffic.service.impl; |
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
|
||||
import com.hisense.hiatmp.urbantraffic.entity.User; |
||||
import com.hisense.hiatmp.urbantraffic.mapper.UserMapper; |
||||
import com.hisense.hiatmp.urbantraffic.service.IUserService; |
||||
import org.springframework.stereotype.Service; |
||||
|
||||
@Service |
||||
public class IUserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService { |
||||
|
||||
} |
||||
@ -0,0 +1,30 @@ |
||||
server: |
||||
port: 8800 |
||||
|
||||
####服务监控server端 |
||||
spring: |
||||
application: |
||||
name: hiatmp-api-server |
||||
|
||||
# security: |
||||
# user: |
||||
# name: hisense |
||||
# password: N5HWw9Hn3jxD |
||||
|
||||
datasource: |
||||
driver-class-name: org.postgresql.Driver |
||||
url: jdbc:postgresql://118.89.79.160:5432/postgres |
||||
username: postgres |
||||
password: postgres123 |
||||
|
||||
# type: com.alibaba.druid.pool.DruidDataSource |
||||
# 配置获取连接等待超时的时间,单位毫秒 |
||||
maxWait: 60000 |
||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位毫秒 |
||||
time-between-eviction-runs-millis: 60000 |
||||
# 配置一个连接在池中最小生存的时间,单位毫秒 |
||||
min-evictable-idle-time-millis: 300000 |
||||
validation-query: SELECT 1 FROM DUAL |
||||
test-while-idle: true |
||||
test-on-borrow: false |
||||
test-on-return: false |
||||
Binary file not shown.
@ -1,18 +1,38 @@ |
||||
2024-07-08 21:33:39,565 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Starting AdminServerMain on Lyblue_mc with PID 16724 (D:\DEV\Code\highDanger\urbantraffic-parent\hiatmp-admin-server\target\classes started by 云曦 in D:\DEV\Code\highDanger\urbantraffic-parent) |
||||
2024-07-08 21:33:39,573 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - No active profile set, falling back to default profiles: default |
||||
2024-07-08 21:33:40,450 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-31002"] |
||||
2024-07-08 21:33:40,451 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat] |
||||
2024-07-08 21:33:40,451 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.33] |
||||
2024-07-08 21:33:40,518 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext |
||||
2024-07-08 21:33:41,563 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-31002"] |
||||
2024-07-08 21:33:41,628 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Started AdminServerMain in 2.305 seconds (JVM running for 3.632) |
||||
2024-07-08 21:33:42,492 [RMI TCP Connection(7)-192.168.3.52] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet' |
||||
2024-07-08 21:43:02,779 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Starting AdminServerMain on Lyblue_mc with PID 26160 (D:\DEV\Code\highDanger\urbantraffic-parent\hiatmp-admin-server\target\classes started by 云曦 in D:\DEV\Code\highDanger\urbantraffic-parent) |
||||
2024-07-08 21:43:02,786 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - No active profile set, falling back to default profiles: default |
||||
2024-07-08 21:43:03,677 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-31002"] |
||||
2024-07-08 21:43:03,679 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat] |
||||
2024-07-08 21:43:03,679 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.33] |
||||
2024-07-08 21:43:03,762 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext |
||||
2024-07-08 21:43:04,800 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-31002"] |
||||
2024-07-08 21:43:04,816 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Started AdminServerMain in 2.286 seconds (JVM running for 3.394) |
||||
2024-07-08 21:43:05,509 [RMI TCP Connection(5)-192.168.3.52] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet' |
||||
2024-07-09 00:06:08,027 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Starting AdminServerMain on Lyblue_mc with PID 16896 (D:\DEV\Code\highDanger\urbantraffic-parent\hiatmp-admin-server\target\classes started by 云曦 in D:\DEV\Code\highDanger\urbantraffic-parent) |
||||
2024-07-09 00:06:08,038 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - No active profile set, falling back to default profiles: default |
||||
2024-07-09 00:06:08,843 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-31002"] |
||||
2024-07-09 00:06:08,844 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat] |
||||
2024-07-09 00:06:08,845 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.33] |
||||
2024-07-09 00:06:08,938 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext |
||||
2024-07-09 00:06:09,778 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-31002"] |
||||
2024-07-09 00:06:09,795 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Started AdminServerMain in 2.016 seconds (JVM running for 3.145) |
||||
2024-07-09 00:06:10,211 [RMI TCP Connection(2)-192.168.3.52] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet' |
||||
2024-07-09 07:53:50,289 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Starting AdminServerMain on Lyblue_mc with PID 3872 (D:\DEV\Code\highDanger\urbantraffic-parent\hiatmp-admin-server\target\classes started by 云曦 in D:\DEV\Code\highDanger\urbantraffic-parent) |
||||
2024-07-09 07:53:50,297 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - No active profile set, falling back to default profiles: default |
||||
2024-07-09 07:53:51,318 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-31002"] |
||||
2024-07-09 07:53:51,319 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat] |
||||
2024-07-09 07:53:51,319 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.33] |
||||
2024-07-09 07:53:51,409 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext |
||||
2024-07-09 07:53:51,674 [main] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat] |
||||
2024-07-09 07:58:27,707 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Starting AdminServerMain on Lyblue_mc with PID 22700 (D:\DEV\Code\highDanger\urbantraffic-parent\hiatmp-admin-server\target\classes started by 云曦 in D:\DEV\Code\highDanger\urbantraffic-parent) |
||||
2024-07-09 07:58:27,712 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - No active profile set, falling back to default profiles: default |
||||
2024-07-09 07:58:28,571 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-31002"] |
||||
2024-07-09 07:58:28,571 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat] |
||||
2024-07-09 07:58:28,572 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.33] |
||||
2024-07-09 07:58:28,631 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext |
||||
2024-07-09 07:58:28,761 [main] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat] |
||||
2024-07-09 08:01:29,653 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Starting AdminServerMain on Lyblue_mc with PID 33336 (D:\DEV\Code\highDanger\urbantraffic-parent\hiatmp-admin-server\target\classes started by 云曦 in D:\DEV\Code\highDanger\urbantraffic-parent) |
||||
2024-07-09 08:01:29,658 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - No active profile set, falling back to default profiles: default |
||||
2024-07-09 08:01:30,514 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-31002"] |
||||
2024-07-09 08:01:30,515 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat] |
||||
2024-07-09 08:01:30,515 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.33] |
||||
2024-07-09 08:01:30,581 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext |
||||
2024-07-09 08:01:31,351 [main] WARN com.baomidou.mybatisplus.core.metadata.TableInfoHelper - Can not find table primary key in Class: "com.hisense.hiatmp.adminServer.entity.User". |
||||
2024-07-09 08:01:31,361 [main] WARN com.baomidou.mybatisplus.core.injector.DefaultSqlInjector - class com.hisense.hiatmp.adminServer.entity.User ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method. |
||||
2024-07-09 08:01:32,325 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-31002"] |
||||
2024-07-09 08:01:32,339 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Started AdminServerMain in 2.939 seconds (JVM running for 3.967) |
||||
2024-07-09 08:01:33,058 [RMI TCP Connection(3)-192.168.3.52] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet' |
||||
2024-07-09 08:01:33,061 [RMI TCP Connection(2)-192.168.3.52] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... |
||||
2024-07-09 08:01:33,655 [RMI TCP Connection(2)-192.168.3.52] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. |
||||
2024-07-09 08:05:09,312 [SpringContextShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown initiated... |
||||
2024-07-09 08:05:09,316 [SpringContextShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Shutdown completed. |
||||
|
||||
@ -1,75 +1,13 @@ |
||||
2024-07-08 22:00:36,116 [main] INFO com.alibaba.boot.nacos.config.util.NacosConfigPropertiesUtils - nacosConfigProperties : NacosConfigProperties{serverAddr='127.0.0.1:8848', contextPath='null', encode='null', endpoint='null', namespace='null', accessKey='null', secretKey='null', ramRoleName='null', autoRefresh=false, dataId='null', dataIds='null', group='DEFAULT_GROUP', type=null, maxRetry='null', configLongPollTimeout='null', configRetryTime='null', enableRemoteSyncConfig=false, extConfig=[], bootstrap=Bootstrap{enable=false, logEnable=false}} |
||||
2024-07-08 22:00:36,120 [main] INFO com.alibaba.boot.nacos.config.autoconfigure.NacosConfigApplicationContextInitializer - [Nacos Config Boot] : The preload configuration is not enabled |
||||
2024-07-08 22:00:36,267 [main] INFO com.ulisesbocchio.jasyptspringboot.configuration.EnableEncryptablePropertiesBeanFactoryPostProcessor - Post-processing PropertySource instances |
||||
2024-07-08 22:00:36,306 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource configurationProperties [org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource] to AOP Proxy |
||||
2024-07-08 22:00:36,307 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource bootstrap [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:36,307 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource systemProperties [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:36,307 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource systemEnvironment [org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor$OriginAwareSystemEnvironmentPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:36,309 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource random [org.springframework.boot.env.RandomValuePropertySource] to EncryptablePropertySourceWrapper |
||||
2024-07-08 22:00:36,309 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource springCloudClientHostInfo [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:36,339 [main] INFO com.ulisesbocchio.jasyptspringboot.filter.DefaultLazyPropertyFilter - Property Filter custom Bean not found with name 'encryptablePropertyFilter'. Initializing Default Property Filter |
||||
2024-07-08 22:00:36,362 [main] INFO com.ulisesbocchio.jasyptspringboot.resolver.DefaultLazyPropertyResolver - Property Resolver custom Bean not found with name 'encryptablePropertyResolver'. Initializing Default Property Resolver |
||||
2024-07-08 22:00:36,363 [main] INFO com.ulisesbocchio.jasyptspringboot.detector.DefaultLazyPropertyDetector - Property Detector custom Bean not found with name 'encryptablePropertyDetector'. Initializing Default Property Detector |
||||
2024-07-08 22:00:36,709 [main] INFO com.ulisesbocchio.jasyptspringboot.configuration.EnableEncryptablePropertiesConfiguration - Bootstraping jasypt-string-boot auto configuration in context: application-1 |
||||
2024-07-08 22:00:36,710 [main] INFO com.alibaba.boot.nacos.config.util.NacosConfigPropertiesUtils - nacosConfigProperties : NacosConfigProperties{serverAddr='127.0.0.1:8848', contextPath='null', encode='null', endpoint='null', namespace='null', accessKey='null', secretKey='null', ramRoleName='null', autoRefresh=false, dataId='null', dataIds='null', group='DEFAULT_GROUP', type=null, maxRetry='null', configLongPollTimeout='null', configRetryTime='null', enableRemoteSyncConfig=false, extConfig=[], bootstrap=Bootstrap{enable=false, logEnable=false}} |
||||
2024-07-08 22:00:36,710 [main] INFO com.alibaba.boot.nacos.config.autoconfigure.NacosConfigApplicationContextInitializer - [Nacos Config Boot] : The preload configuration is not enabled |
||||
2024-07-08 22:00:36,710 [main] INFO com.hisense.hiatmp.base.BaseApplication - No active profile set, falling back to default profiles: default |
||||
2024-07-08 22:00:37,564 [main] INFO com.ulisesbocchio.jasyptspringboot.configuration.EnableEncryptablePropertiesBeanFactoryPostProcessor - Post-processing PropertySource instances |
||||
2024-07-08 22:00:37,577 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource configurationProperties [org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource] to AOP Proxy |
||||
2024-07-08 22:00:37,577 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource servletConfigInitParams [org.springframework.core.env.PropertySource$StubPropertySource] to EncryptablePropertySourceWrapper |
||||
2024-07-08 22:00:37,577 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource servletContextInitParams [org.springframework.core.env.PropertySource$StubPropertySource] to EncryptablePropertySourceWrapper |
||||
2024-07-08 22:00:37,577 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource systemProperties [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:37,577 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource systemEnvironment [org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor$OriginAwareSystemEnvironmentPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:37,578 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource random [org.springframework.boot.env.RandomValuePropertySource] to EncryptablePropertySourceWrapper |
||||
2024-07-08 22:00:37,578 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/application.properties] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:37,578 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource applicationConfig: [classpath:/application.yml] [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:37,578 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource springCloudClientHostInfo [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:37,578 [main] INFO com.ulisesbocchio.jasyptspringboot.EncryptablePropertySourceConverter - Converting PropertySource defaultProperties [org.springframework.core.env.MapPropertySource] to EncryptableMapPropertySourceWrapper |
||||
2024-07-08 22:00:37,610 [main] INFO com.ulisesbocchio.jasyptspringboot.filter.DefaultLazyPropertyFilter - Property Filter custom Bean not found with name 'encryptablePropertyFilter'. Initializing Default Property Filter |
||||
2024-07-08 22:00:37,818 [main] INFO com.ulisesbocchio.jasyptspringboot.resolver.DefaultLazyPropertyResolver - Property Resolver custom Bean not found with name 'encryptablePropertyResolver'. Initializing Default Property Resolver |
||||
2024-07-08 22:00:37,819 [main] INFO com.ulisesbocchio.jasyptspringboot.detector.DefaultLazyPropertyDetector - Property Detector custom Bean not found with name 'encryptablePropertyDetector'. Initializing Default Property Detector |
||||
2024-07-08 22:00:38,053 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-1959"] |
||||
2024-07-08 22:00:38,059 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat] |
||||
2024-07-08 22:00:38,060 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.17] |
||||
2024-07-08 22:00:38,150 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/HiatmpPro/commond] - Initializing Spring embedded WebApplicationContext |
||||
2024-07-08 22:00:38,262 [main] INFO com.hisense.hiatmp.common.config.DataSourceConfig - 第一数据库连接池创建中....... |
||||
2024-07-08 22:00:39,285 [main] INFO springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping - Mapped URL path [/v2/api-docs] onto method [public org.springframework.http.ResponseEntity<springfox.documentation.spring.web.json.Json> springfox.documentation.swagger2.web.Swagger2Controller.getDocumentation(java.lang.String,javax.servlet.http.HttpServletRequest)] |
||||
2024-07-08 22:00:39,324 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources. |
||||
2024-07-08 22:00:39,324 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. |
||||
2024-07-08 22:00:39,328 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources. |
||||
2024-07-08 22:00:39,328 [main] INFO com.netflix.config.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. |
||||
2024-07-08 22:00:40,992 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper - Context refreshed |
||||
2024-07-08 22:00:41,008 [main] INFO springfox.documentation.spring.web.plugins.DocumentationPluginsBootstrapper - Found 1 custom documentation plugin(s) |
||||
2024-07-08 22:00:41,032 [main] INFO springfox.documentation.spring.web.scanners.ApiListingReferenceScanner - Scanning for api listing references |
||||
2024-07-08 22:00:41,244 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-1959"] |
||||
2024-07-08 22:00:44,372 [main] ERROR com.alibaba.cloud.nacos.registry.NacosServiceRegistry - nacos registry, urbantraffic-hiatmp-base register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='10.16.3.178:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='urbantraffic-hiatmp-base', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.64.1', networkInterface='', port=1959, secure=false, accessKey='', secretKey=''}}, |
||||
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([10.16.3.178:8848]) tried: failed to req API:10.16.3.178:8848/nacos/v1/ns/instance. code:500 msg: java.net.SocketTimeoutException: connect timed out |
||||
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:188) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:205) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:184) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:61) [spring-cloud-alibaba-nacos-discovery-2.1.0.RELEASE.jar:2.1.0.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:74) [spring-cloud-alibaba-nacos-discovery-2.1.0.RELEASE.jar:2.1.0.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:166) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at com.hisense.hiatmp.base.BaseApplication.main(BaseApplication.java:19) [classes/:?] |
||||
2024-07-08 22:00:44,375 [main] INFO com.hisense.hiatmp.base.BaseApplication - Started BaseApplication in 8.739 seconds (JVM running for 9.765) |
||||
2024-07-08 22:00:44,376 [main] INFO com.hisense.hiatmp.common.encrypt.EncryptedDetector - ==============配置项自动加密已触发============ |
||||
2024-07-08 22:00:44,376 [main] INFO com.hisense.hiatmp.common.encrypt.EncryptedDetector - ==============配置项自动加密已结束,未用脚本启动或者yml参数未配置正确,加密失败!============ |
||||
2024-07-09 08:05:14,191 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Starting AdminServerMain on Lyblue_mc with PID 32680 (D:\DEV\Code\highDanger\urbantraffic-parent\hiatmp-admin-server\target\classes started by 云曦 in D:\DEV\Code\highDanger\urbantraffic-parent) |
||||
2024-07-09 08:05:14,197 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - No active profile set, falling back to default profiles: default |
||||
2024-07-09 08:05:15,089 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-31002"] |
||||
2024-07-09 08:05:15,090 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat] |
||||
2024-07-09 08:05:15,090 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.33] |
||||
2024-07-09 08:05:15,171 [main] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext |
||||
2024-07-09 08:05:16,057 [main] WARN com.baomidou.mybatisplus.core.metadata.TableInfoHelper - Can not find table primary key in Class: "com.hisense.hiatmp.adminServer.entity.User". |
||||
2024-07-09 08:05:16,064 [main] WARN com.baomidou.mybatisplus.core.injector.DefaultSqlInjector - class com.hisense.hiatmp.adminServer.entity.User ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method. |
||||
2024-07-09 08:05:16,976 [main] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-31002"] |
||||
2024-07-09 08:05:16,995 [main] INFO com.hisense.hiatmp.adminServer.AdminServerMain - Started AdminServerMain in 3.068 seconds (JVM running for 4.117) |
||||
2024-07-09 08:05:17,402 [RMI TCP Connection(1)-192.168.3.52] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet' |
||||
2024-07-09 08:05:17,404 [RMI TCP Connection(2)-192.168.3.52] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... |
||||
2024-07-09 08:05:18,038 [RMI TCP Connection(2)-192.168.3.52] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. |
||||
|
||||
@ -1,60 +1,2 @@ |
||||
2024-07-08 21:44:40,102 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources. |
||||
2024-07-08 21:44:40,107 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources. |
||||
2024-07-08 21:44:45,159 [main] ERROR com.alibaba.cloud.nacos.registry.NacosServiceRegistry - nacos registry, hiatmp-log register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='10.16.3.178:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='hiatmp-log', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.64.1', networkInterface='', port=2999, secure=false, accessKey='', secretKey=''}}, |
||||
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([10.16.3.178:8848]) tried: failed to req API:10.16.3.178:8848/nacos/v1/ns/instance. code:500 msg: java.net.SocketTimeoutException: connect timed out |
||||
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:188) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:205) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:184) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:61) [spring-cloud-alibaba-nacos-discovery-2.1.0.RELEASE.jar:2.1.0.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:74) [spring-cloud-alibaba-nacos-discovery-2.1.0.RELEASE.jar:2.1.0.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:166) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at com.hisense.hiatmp.log.LogApplication.main(LogApplication.java:23) [classes/:?] |
||||
2024-07-08 22:00:39,324 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources. |
||||
2024-07-08 22:00:39,328 [main] WARN com.netflix.config.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources. |
||||
2024-07-08 22:00:44,372 [main] ERROR com.alibaba.cloud.nacos.registry.NacosServiceRegistry - nacos registry, urbantraffic-hiatmp-base register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='10.16.3.178:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='urbantraffic-hiatmp-base', weight=1.0, clusterName='DEFAULT', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.64.1', networkInterface='', port=1959, secure=false, accessKey='', secretKey=''}}, |
||||
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance after all servers([10.16.3.178:8848]) tried: failed to req API:10.16.3.178:8848/nacos/v1/ns/instance. code:500 msg: java.net.SocketTimeoutException: connect timed out |
||||
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.net.NamingProxy.registerService(NamingProxy.java:188) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:205) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:184) ~[nacos-client-1.1.1.jar:?] |
||||
at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:61) [spring-cloud-alibaba-nacos-discovery-2.1.0.RELEASE.jar:2.1.0.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:74) [spring-cloud-alibaba-nacos-discovery-2.1.0.RELEASE.jar:2.1.0.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47) [spring-cloud-commons-2.1.1.RELEASE.jar:2.1.1.RELEASE] |
||||
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:166) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552) [spring-context-5.1.6.RELEASE.jar:5.1.6.RELEASE] |
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.4.RELEASE.jar:2.1.4.RELEASE] |
||||
at com.hisense.hiatmp.base.BaseApplication.main(BaseApplication.java:19) [classes/:?] |
||||
2024-07-09 08:01:31,351 [main] WARN com.baomidou.mybatisplus.core.metadata.TableInfoHelper - Can not find table primary key in Class: "com.hisense.hiatmp.adminServer.entity.User". |
||||
2024-07-09 08:01:31,361 [main] WARN com.baomidou.mybatisplus.core.injector.DefaultSqlInjector - class com.hisense.hiatmp.adminServer.entity.User ,Not found @TableId annotation, Cannot use Mybatis-Plus 'xxById' Method. |
||||
|
||||
Loading…
Reference in new issue