๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋ฐ˜์‘ํ˜•

Tomcat3

[Java] Unsupported major.minor version 52.0 Error ํ”„๋กœ์ ํŠธ ์„ธํŒ… ๋„์ค‘ java.lang.UnsupportedClassVersionError: org/springframework/util/StopWatch : Unsupported major.minor version 52.0 (unable to load class org.springframework.util.StopWatch) ๋ผ๋Š” ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€์Šต๋‹ˆ๋‹ค. version 52.0์€ jar ํŒŒ์ผ์˜ ๋นŒ๋“œ jdk ๋ฒ„์ „์„ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. ์ˆซ์ž ๋ณ„ ์ž๋ฐ” ๋ฒ„์ „ Java SE 13 = 57 (0x39hex) Java SE 12 = 56 (0x38 hex) Java SE 11 = 55 (0x37 hex) Java SE 10 = 54 (0x36 hex) Java SE 9 = 53 (0x35 hex) Java SE 8 = 52 .. 2022. 6. 10.
[WAS] http → https ๋กœ ๋ณ€ํ™˜ํ•˜๊ธฐ http → https ๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ๊ณผ์ •์„ ์•Œ์•„๋ด…์‹œ๋‹ค. 1. KeyStore ํŒŒ์ผ private key, certificate ๋“ฑ์„ ์ €์žฅํ•˜๋Š” ํŒŒ์ผ C:/Users/์‚ฌ์šฉ์ž๋ช… ๊ฒฝ๋กœ์— ํŒŒ์ผ ์œ„์น˜ 2. Tomcat ์„œ๋ฒ„์˜ server.xml ์„ค์ • ์ฃผ์„์ฒ˜๋ฆฌ (26๋ฒˆ์งธ ์ค„) ํƒœ๊ทธ ์‚ฌ์ด์— Connector ํƒœ๊ทธ ์ถ”๊ฐ€ โ€‹ keystoreFile: keystore ํŒŒ์ผ ์œ„์น˜ keystorePass: keystore ํŒŒ์ผ ๋น„๋ฐ€๋ฒˆํ˜ธ port: ํฌํŠธ๋ฒˆํ˜ธ (443์ด ๊ธฐ๋ณธ) 2022. 1. 3.
[Java] ๊ฐ™์€ ๋„๋ฉ”์ธ ์‚ฌ์šฉ์‹œ session๊ฐ’ null๋กœ ๋ณ€๊ฒฝ๋˜๋Š” ํ˜„์ƒ Tomcat์— ๊ฐ™์€ ๋„๋ฉ”์ธ ๋‹ค๋ฅธ ํฌํŠธ๋กœ ์ปจํ…Œ์ด๋„ˆ๋ฅผ a, b๋กœ ๋ถ„๋ฆฌํ•œ ์ƒํƒœ์—์„œ a ์ปจํ…Œ์ด๋„ˆ์—์„œ setAttribute์œผ๋กœ ์ƒ์„ฑํ•˜๊ณ  ์ €์žฅํ•œ session ๊ฐ’์ด b ์ปจํ…Œ์ด๋„ˆ์˜ ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•˜๋ฉด์„œ null๋กœ ๋ณ€๊ฒฝ๋˜๋Š” ํ˜„์ƒ์ด ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ๊ตฌ๊ธ€๋ง ๊ฒฐ๊ณผ, ๊ฐ™์€ ๋„๋ฉ”์ธ(๋˜๋Š” ์•„์ดํ”ผ) ๋‹ค๋ฅธ ํฌํŠธ์—์„œ๋Š” ํŽ˜์ด์ง€ ์ด๋™ ์‹œ ํ†ฐ์บฃ์—์„œ ์ €์žฅํ•˜๋Š” JSESSIONID ๋ผ๋Š” HTTP ์„ธ์…˜ID ๊ฐ’์ด ๊ฐฑ์‹ ๋œ๋‹ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ๊ฐ€์ง€ ํ•ด๊ฒฐ๋ฐฉ์•ˆ์ด ์žˆ์—ˆ์ง€๋งŒ ๋‚˜์˜ ๊ฒฝ์šฐ ์•„๋ž˜์™€ ๊ฐ™์ด ํ•ด๊ฒฐํ•˜์˜€์Šต๋‹ˆ๋‹ค. ๋‘ ์ปจํ…Œ์ด๋„ˆ์˜ context path๊ฐ€ ๊ฐ™์•„ ์„ธ์…˜ ์ •๋ณด๋ฅผ ๋ฎ์–ด์“ฐ๊ฒŒ ๋˜์—ˆ๊ธฐ ๋•Œ๋ฌธ์—, ๋‘ ์ปจํ…Œ์ด๋„ˆ์˜ context path ๋ฅผ ๋‹ค๋ฅด๊ฒŒ ๋ณ€๊ฒฝ. Tomcat์˜ server.xml ํŒŒ์ผ path ๋‹ค๋ฅด๊ฒŒ ์ˆ˜์ • ํŒŒ์ผ ๊ฒฝ๋กœ : apache-tomcat-7.0.96/con.. 2021. 12. 10.
๋ฐ˜์‘ํ˜•