(Problem resolved) sadly that i don't remember what exactly helped. I changed language in whole system, installed postgres, and create new container from new image with postgres
Old question: I would like to understand what is the problem to solve this, but because the error message is replaced with the specials symbol I can't.
Screenshot:
- The database customer exists on server xsakonServer
- Default encoding is set to UTF-8 (Screenshot)
here is application.yml file:
server:
port: 8080
spring:
application:
name: customer
datasource:
password: password
url: jdbc:postgresql://localhost:5432/customer
username: xsakon
jpa:
hibernate:
ddl-auto: create-drop
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
format_sql: 'true'
show-sql: 'true'
docker-compose.yml file:
services:
postgres:
container_name: postgres
image: postgres
environment:
POSTGRES_USER: xsakon
POSTGRES_PASSWORD: password
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
ports:
- "5432:5432"
networks:
- postgres
restart: unless-stopped
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:-pgadmin4@pgadmin.org}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin}
PGADMIN_CONFIG_SERVER_MODE: 'False'
volumes:
- pgadmin:/var/lib/pgadmin
ports:
- "5050:80"
networks:
- postgres
restart: unless-stopped
networks:
postgres:
driver: bridge
volumes:
postgres:
pgadmin:
I already tried replace
password: password
username: xsakon
to
password: 'password'
username: 'xsakon'
in application.yml file. But result is the same
- Added parameter
-Duser.language=en
to Java VM options (Screenshot) applied then restarted project but it didn't help
I hope somebody find out what is the error massage, then I'll fix the problem by myself