# Issue

# 问题

# java打包的jar包都要小写,不要大写

# docker镜像名称都要小写不要大写

# 项目中所有的配置文件都集中在一个yml中

# 启动报错

2024-11-13T08:51:08.560057361Z Caused by: java.net.UnknownHostException: 10-41-7-24: Name or service not known 2024-11-13T08:51:08.560059850Z at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) 2024-11-13T08:51:08.560062390Z at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) 2024-11-13T08:51:08.560064881Z at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1330) 2024-11-13T08:51:08.560067390Z at java.net.InetAddress.getLocalHost(InetAddress.java:1507) 2024-11-13T08:51:08.560069850Z ... 86 common frames omitted

修改主机名,改成/etc/hosts 里边的 hostnamectl set-hostname new_hostname hostnamectl

# 高德地图资源跨域

location /bi/ {
    add_header Cross-Origin-Embedder-Policy: credentialless;
    add_header Cross-Origin-Resource-Policy: cross-origin;
    # add_header Cross-Origin-Opener-Policy same-origin;
    # add_header Cross-Origin-Embedder-Policy require-corp;
    proxy_pass http://172.30.196.169:13019/;
1
2
3
4
5
6
Last Updated: 8/22/2025, 5:26:33 PM