geoTools 기본 좌표계 파일이 깨져서 그런거 같음.
해당 경로 파일 삭제 후 재기동 하니 파일이 다시 생성되면서 오류 해결
윈도우 기준
https://confusion.tistory.com/entry/GeoServer-NoSuchAuthorityCodeException
리눅스기준
https://github.com/matsim-org/pt2matsim/issues/135
Are you running this from a packaged jar or directly in some IDE? In the former case there may be some issues with packaging jar contents and you will need to use some transformers in Maven. How are you using the code?
Also, this error is common (in earlier versions of geotools) when Java cannot override the temporary files created in /tmp by Geotools where the reference systems are unpackged temporarily during run time. We often had this problem when we were running multiple users on one system. Then one user would create /tmp/Geotools, the simulation or the code would crash and the folder would remain there. Now when the second user tried to run geotools, there would be such an error as you have shown, because the folder was still there and created under the first user (so the second could not delete it).
If it is on linux you can check ls -o /tmp/Geotools or ls -/tmp/geotools something like that (not sure what was the exact name). In this case, the fix is to define explicitly an independent tmp Path before you run the code, so Java doesn't use the global /tmp. But also, I think they have fixed in the later geotools versions now by randomizing the name of the temporary created geotools folder.
Is one of these two cases relevant to you?
'업무' 카테고리의 다른 글
우분투 , RockyOS postgresql db 이관하기 (0) | 2024.03.18 |
---|---|
제우스에 스프링부트 / 리액트 소스 반영 시 (0) | 2023.05.16 |
1 (0) | 2022.11.14 |