๐ป๊ฐ๋ฐ
![](http://i1.daumcdn.net/thumb/C400x400/?fname=https://blog.kakaocdn.net/dn/vhsnn/btsDz8FJGsJ/9Q85jLTlz3EBijxD7F6PN0/img.png)
![](https://tistory1.daumcdn.net/tistory/4446718/skin/images/no-image.jpg)
[์ค๋ฅ๋ด์ฉ] ํฌ๋กฌ์์ ํด๋น api ์คํ ์ "Whitelabel Error Page"๋ก ๋จ๊ณ ์ธํ ๋ฆฌ์ ์ด์์๋ ์๋ ์ฝ๋์ ๊ฐ์ ์๋ฌ๊ฐ ๋ฌ๋ค. java.lang.IllegalArgumentException: Name for argument of type [java.lang.Long] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag. [ํด๊ฒฐ๋ฐฉ๋ฒ] @PathVariable์ name="id" ์ถ๊ฐ public Long update(@PathVariable(name="id") Long id){ ... }
![](http://i1.daumcdn.net/thumb/C400x400/?fname=https://blog.kakaocdn.net/dn/meYxO/btsDwCnI12t/rMS3ZwLHfZf6tawkjeq2Qk/img.png)
![](https://tistory1.daumcdn.net/tistory/4446718/skin/images/no-image.jpg)
http://localhost:8080/h2-console ์์ JDBC URL์ "jdbc:h2:mem:testdb"๋ก ๋ณ๊ฒฝํ๋ คํ๋ ๋ค์๊ณผ ๊ฐ์ ์๋ฌ๊ฐ ๋ฌ๋ค. Database "mem:testdb" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [ํด๊ฒฐ๋ฐฉ๋ฒ] ์ธํ ๋ฆฌ์ ์ด application.properties ํ์ผ์์ ์๋ ์ฝ๋ ์ถ๊ฐ ํ ์ฌ์คํํ๋ค. spring.datasource.url=jdbc:h2:mem:testdb
![](http://i1.daumcdn.net/thumb/C400x400/?fname=https://blog.kakaocdn.net/dn/bV6F7h/btsC7m6Y124/GKqbTF36G3jnbZeQyev1W0/img.png)
![](https://tistory1.daumcdn.net/tistory/4446718/skin/images/no-image.jpg)
error: package org.junit does not exist import org.junit.*; java: cannot find symbol symbol: class After location: package org.junit intelliJ + Gradle ํ๊ฒฝ์์ junit import ์๋ฌ ํด๊ฒฐ ๋ฐฉ๋ฒ Settings -> Build, Execution, Deployment -> Build Tools -> Gradle ์์ Build and run using : IntelliJ IDEA Run tests using : IntelliJ IDEA Gradle -> IntelliJ IDEA๋ก ๋ณ๊ฒฝ
![](http://i1.daumcdn.net/thumb/C400x400/?fname=https://blog.kakaocdn.net/dn/euBhJQ/btr82140SDy/ZuAjycqz7cabK2nZKFi9d1/img.png)
![](https://tistory1.daumcdn.net/tistory/4446718/skin/images/no-image.jpg)
WinForm์์ WebView2๋ฅผ ์ฌ์ฉํ๊ธฐ ์ํด ์๋ ๋งํฌ์์ ํํ ๋ฆฌ์ผ์ ๋ฐ๋ผํ๋ค. https://docs.microsoft.com/en-us/microsoft-edge/webview2/get-started/winforms Get started with WebView2 in WinForms apps - Microsoft Edge Development Getting started guide for using WebView2 for WinForms apps. docs.microsoft.com ์คํ ์ ์ค๋ฅ๋ ์์์ง๋ง WinForm์์ WebView2๊ฐ ๋ณด์ด์ง์์๋ค. ์์ธ์ 3๋จ๊ณ์ ๋ช ์๋ Microsoft Edge preview channel์ด ์ค์น๋์ด์์ง ์์์์๋ค. Edge๊ฐ ์ค์น๋์ด์์ด ๊ฐ์๊ฑด์ค ์๊ณ ..
![](http://i1.daumcdn.net/thumb/C400x400/?fname=https://blog.kakaocdn.net/dn/c1iWz7/btr8PYVlCDd/wxMSr5PKt47Vyj1qiFHqf0/img.png)
![](https://tistory1.daumcdn.net/tistory/4446718/skin/images/no-image.jpg)
C# Winform์์ WebView2 fixed version์ ์ ์ฉํ ๋ ๋ฐ์๋๋ค. ์์ธ์ winform์ webview2๋ฅผ ์ฌ๋ฆด ๋ ์๋์ผ๋ก ์์ฑ๋๋ ์ฝ๋์ ์์๋ค. CoreWebView2 ์ด๊ธฐํ๊ฐ ์์๋ ํ์๋ WebView2.CreationProperties๋ฅผ ์์ ํ ์ ์๋๋ฐ ์ฝ๋ ๋ด์์ webview2 fixed version์ ์ค์ ์ ์ํด CreationProperties๋ฅผ ์ฌ์ฉํ๊ธฐ ์ ์ Designer ํ์ผ์์ CoreWebView2 ์ด๊ธฐํ๊ฐ ์ ํ๋๊ธฐ ๋๋ฌธ์ด๋ค. ๋ฐ๋ผ์ .Designer.cs ํ์ผ์์ Form์ ๋ํ ๋ถ๋ถ ์ค Webview2๋ฅผ ์ด๊ธฐํํ๋ ์๋ ์์ค์ฝ๋๋ฅผ ์ฃผ์์ฒ๋ฆฌํ๋ฉด ๋๋ค. ((System.ComponentModel.ISupportInitialize)(this.webView..
![](https://tistory1.daumcdn.net/tistory/4446718/skin/images/no-image.jpg)
https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#details-about-the-fixed-version-runtime-distribution-mode Distribute your app and the WebView2 Runtime - Microsoft Edge Development How to distribute the WebView2 Runtime when releasing an app that uses Microsoft Edge WebView2, either by distributing the automatically updated Evergreen Runtime, or distributing a Fixed..
![](https://tistory1.daumcdn.net/tistory/4446718/skin/images/no-image.jpg)
๋น๋ : ์ด์ ๋น๋ ์ดํ ๋ณ๊ฒฝ๋ ์์คํ์ผ๋ง ๋น๋ ๋ค์๋น๋ : ๊ธฐ์กด ๋น๋ ๋ด์ฉ์ ์ ๊ฑฐํ ํ ๋ชจ๋ ์์คํ์ผ์ ์๋กญ๊ฒ ์ ์ฒด ๋น๋ ๋ฒ์ ์ฑํฌ๊ฐ ๊นจ์ง ๊ฒฝ์ฐ ๋ค์ ๋น๋๋ฅผ ํตํด ์ค๋ฅ ํด๊ฒฐ ๊ฐ๋ฅ ์ ๋ฆฌ(Clean) ํ ๋น๋ = ๋ค์ ๋น๋ ์ ๊ฐ์
![](http://i1.daumcdn.net/thumb/C400x400/?fname=https://blog.kakaocdn.net/dn/Bn2Cm/btrHdwDCSPn/FgBGnOfdaU7HejSaaYotJ0/img.png)
![](https://tistory1.daumcdn.net/tistory/4446718/skin/images/no-image.jpg)
exe ํํ์ ์คํํ๋ก๊ทธ๋จ์ ํ ์คํธํ๊ธฐ ์ํด ํ๋ผ๋ฏธํฐ ์ ๋ฌํ๋ ๋ฐฉ๋ฒ์ผ๋ก CustomURI๊ฐ ์๋ค. Custom URI๋ http,ftp์ ๊ฐ์ URI Scheme ๋์ ์์์ URI Scheme๋ฅผ ๋ ์ง์คํธ๋ฆฌ์ ๋ฑ๋กํ์ฌ ์ฌ์ฉํ๋ ๊ฒ์ ๋ปํ๋ค. ์๋ฅผ ๋ค์ด "test://"๋ก ์์ํ๋ URI Scheme๋ฅผ ๋ ์ง์คํธ๋ฆฌ์ ๋ฑ๋กํ๋ฉด "test://testํ๋ก๊ทธ๋จ"์์ผ๋ก ํธ์ถํ ๊ฒฝ์ฐ "testํ๋ก๊ทธ๋จ"์ ํ๋ผ๋ฏธํฐ๋ก ์ฌ์ฉํ ์ ์๋ค. ์์ 1. exe ํํ์ ์คํ ํ๋ก๊ทธ๋จ์ ๋ง๋ค์ด 2. nsi ์คํฌ๋ฆฝํธ๋ฅผ ํตํด customURI๋ฅผ ๋ ์ง์คํธ๋ฆฌ์ ์ ์ฅํ ํ 3. ์ํ html์ ํตํด customURI๋ก exeํ๋ก๊ทธ๋จ์ด ์คํ๋๋์ง ํ์ธํ๋ค. ์ฌ๊ธฐ์ ์ฌ์ฉํ exe ํ๋ก๊ทธ๋จ์ ๊ฐ๋จํ๊ฒ ํ๋ผ๋ฏธํฐ๋ฅผ ๋ผ๋ฒจ ํ์์ผ๋ก ๋์์ฃผ๋ ํ๋ก๊ทธ๋จ์ด..