일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
- ChatGPT
- 사전청약
- BindingAdapter
- Android
- JetPack
- 예금
- Data Binding
- RETROFIT
- 새마을금고
- 3rd framework
- 청약
- 달러예금
- kotlin
- Andorid
- MG더뱅킹정기예금
- Swift
- arm-linux-androideabi
- ndk r24
- java
- CHAT GPT
- 고금리
- EditText
- 용산 호반써밋 에이디션
- Android Studio
- ndkVersion
- Mac
- gradle
- audio record
- KB
- ios
- Today
- Total
목록dev (8)
pear
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/nFGtM/btsBG56oBkU/A651F8NkceDpOvykckkheK/img.png)
자주 하는 실수. Whitelabel Error Page 실행 class와 RestController가 다른 package에 있는 경우 properties에 RestController 경로를 설정해 주어야 한다. HTTP Status 404 – Not Found 경로를 잘못입력 하였거나 properties에 별도의 server.servlet.context-path 를 설정한 경우.
Setting Gradle 6.8 Java 11 Gradle task -> jar plugins { // Apply the java-library plugin for API and implementation separation. id 'java-library' id 'com.github.johnrengelman.shadow' version '6.1.0' // 추가한 코드 } jar { enabled = false finalizedBy shadowJar // 추가한 코드 manifest { attributes 'Main-Class': 'name.Main' } } Version Gradle Shadow 5.x 5.2.0 - 6.0.0 6.x 5.2.0 - 6.1.0 7.x 7.0.0+ 8.x 8.0.0+ r..
build.gradle repositories { mavenCentral() //example redhat ga maven { url 'https://maven.repository.redhat.com/ga/' } }
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dk0lo4/btr6C0G0mvP/tNxLM9pGZaiinyEk6nlvsK/img.png)
View ssl detail log at Client Helpful when you have handshake problems. Run Configuations -> arguments tab -> VM arguments SSL Log arguments: -Djavax.net.debug=ssl:handshake:data:verbose:trustmanager
Call Retrofit API GPTRetrofitInterface mRetrofitInterface = RetrofitGPT .getClient(domain).create(GPTRetrofitInterface.class); try { gptBody body = new gptBody(); body.model = "gpt-3.5-turbo"; body.messages[0].role = "user"; body.messages[0].content = "contents"; Gson gson = new Gson(); String json = gson.toJson(body); JsonObject jsonObject = JsonParser.parseString(json).getAsJsonObject(); Call ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/biiOLs/btr4PrMiRDm/83gD3F5zCO520Wuyo3KKH0/img.png)
[Prepare the environment] start openai home page [Move to Developers Overview] https://platform.openai.com/ Select Personal(my info) in Site Move to View API Key Create new secret key copy my "SECRET KEY" [Move to API reference tap] http request(post) url : https://api.openai.com/v1/chat/completions need Http Header @content-type : application/json @Authorization : Bearer "SECRET KEY" @Json Body..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bc3NUp/btrQUCaRPQ3/7uB5fmgYkeOSrNuStl1KBK/img.png)
Menu Project >Properties > Gradle Mac jdk PATH /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home **JAVA version need to support at Gralde version https://docs.gradle.org/current/userguide/compatibility.html
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/djBdkD/btrKFBH5TQ7/YazlGkXsFBx3mKkRvbMYrk/img.png)
Eclipse의 경우 run configurations -> Arguments -> VM arguments 에 입력하여 사용할 수 있다. java -Djavax.net.debug=all java -Djavax.net.debug=ssl java -Djavax.net.debug=ssl:record:plaintext java -Djavax.net.debug=ssl:handshake:data:verbose:trustmanager 서버에서 인증서 정보에 이슈가 있을 경우 handshake 과정에서 세부 로그를 확인 할 수 있다.