본문 바로가기
반응형

개발/Spring FW22

How do I set up the OS system variables in Spring Boot Application Properties? Introduction Recently, I have a job to use a public repository. But I don't want to make public my configuration information. At last, I found a way to meet my requirements and introduce them. Subject Spring boot application properties file can set up OS system variables. You can follow the instructions below. 1. Set the key and value in an application properties file as shown in the format belo.. 2019. 8. 4.
How to use(insert) spatial data in mysql and JPA. Introduction I introduce how to use spatial type columns in MySQL and JPA. Subject I introduce how to use spatial type columns in MySQL and JPA. MySQL has spatial data types that correspond to OpenGIS classes. Some spatial data types hold single geometry values. GEOMETRY POINT LINESTRING POLYGON GEOMETRY can store geometry values of any type. The other single value types(POINT, LINESTRING, and P.. 2019. 7. 22.
Spring으로 다국어 페이지 만들기 회사 홈페이지를 다국어로 퍼블리싱을 해야 한다는 이야기를 듣고 나서 Spring을 이용한 다국어 페이지 만드는 방법을 여러가지 검색을 해보면서 구현을 해봤다. 나는 메세지 번들까지는 사용하지 않았다. 새로운 것을 적용하는데 오래 걸릴 것 같다는 불안감 때문에 JSTL로 분기를 나눠 JSP에서 화면상에 언어를 다르게 표현만 해주는 것으로 그쳤다. 거기까지만 했지만 알게 된 정보들이 있어 공유하려고 한다. 1. Locale을 이용해야 한다. Locale은 사용자의 언어, 국가 뿐 아니라 사용자 인터페이스에서 사용자가 선호하는 사항을 저장하는 매개 변수의 모임이다. 출처: https://ko.wikipedia.org/wiki/%EB%A1%9C%EC%BC%80%EC%9D%BC - Locale을 이용해서 서버에 .. 2018. 4. 22.
spring에서 디버깅 시 PolicyUtil.class can't found 뜰 때 Spring boot를 이용하여 프로젝트를 진행 중인데, 잘 되던 디버깅 모드가 안열리면서 PolicyUtil.class의 소스 파일을 찾지 못한다는 에러가 나온 적이 있다. 이 경우는 워크스페이스의 metadata등의 정보들이 충돌을 일으켜서 발생하는 문제이다. 그래서 워크스페이스를 다시 만들어 위의 문제를 해결했다. 2018. 1. 14.
반응형