다른곳의 pc 에서 자바 파일을 압축해서 새로운 곳의 pc로 옮긴다음에 아클립스에서 f-11 을 눌러 실행하는데 실행은 되는데 변경한 사항이 반영이 안되고 계속 처음의 상태만 실행이 된다. 아마 변경된 사항이 컴파일이 되서 실행이 되야 하는데 오류 때문에 정상적으로 컴파일이 안되서 최소 컴파일 된게 계속 실행이 되는듯 하다. 항상 그랬듯이 build path 확인. x표시가 있다. jar 1개를 안가져 왔네.. 흠.. 머 그래도 이것은 필요없으니.. 별 영향을 미치지 않겠지 하고.. 넘어갈려고 했는데.. 영향을 미친다. x표시가 있으면 그냥 넘어가는게 아니라 컴파일이 안되는듯. 깔끔하게 x표시가 없어야 한다. 그래서 그냥 remove 했더니 잘 되었다.ㅁ
현재 프로젝트 경로에 Terminal 로 가서 flutter pub add webview_flutter PS C:\Users\aaa\StudioProjects\first_flutter> flutter pub add webview_flutter flutter pub add webview_flutter Resolving dependencies... collection 1.17.2 (1.18.0 available) material_color_utilities 0.5.0 (0.8.0 available) meta 1.9.1 (1.10.0 available) + plugin_platform_interface 2.1.6 stack_trace 1.11.0 (1.11.1 available) stream_channel 2..
플러터로 웹뷰를 만들고 있는데 net::ERR_CLEARTEXT_NOT_PERMITTED 에러가 발생하였다. 뭐지.. 하고 구글링을 해보니 android:usesCleartextTraffic="true" 추가하라고 나왔다. 어디냐면 AndroidManifest.xml 근데 구글링해도 경로가 안 맞았다. 전체 경로를 친절히 알려주마 flutter > android > app > src > main > AndroidManifest.xml
자바 json 개발을 하다가 심각: Servlet.service() for servlet java.lang.Error: Unresulved copilation problems: JSONObject cannot be resuolved to a type 이런 에러가 로컬에서 찍혔다. classpath에 추가하면 해결되겠지만.. 문제는 서버에서 일어났을때 찾기가 힘들다. 다행이 로컬은 저렇게 어디부분이 이상하듯이 찍어줘서 감이라도 오는데.. 서버에서는 저렇게 안찍어 주고 그냥 로직에러로 찍히거나 안찍히니..
터미널 설치 flutter pub add url_launcher 아무데서나 flutter pub add url_launcher 하면 안되고 안드로이드 스튜디오 Terminal 를 클릭하여 해당경로로 가서 실행한다. main.dart 상단에 import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; url_launcer.dart를 import 해준다. ElevatedButton(onPressed: onChangeUrl, child: Text("URL Launcher")) 버튼을 생성한 후 onChangeUrl() { launchUrl(Uri.parse('http://naver.com')); } url 을 입..
package time; import java.time.LocalTime; import java.time.temporal.ChronoUnit; public class LocalTime112 { public static void main(String[] args) { LocalTime now=LocalTime.of(6,30); long timeToBreakfast=0; LocalTime office_start=LocalTime.of(7,30); if(office_start.isAfter(now)) { timeToBreakfast=now.until(office_start, ChronoUnit.MINUTES); }else { timeToBreakfast=now.until(office_start, ChronoU..
package asser; public class Product { public double applyDiscount(double price) { assert(price>0); return price*0.50; } public static void main(String[] args) { Product p=new Product(); double newPrice=p.applyDiscount(Double.parseDouble(args[0])); System.out.println("New Price: "+newPrice); } } the command: java Product 0 What is the result? 출력: New Price: 0.0 해설: the command haven't -ea 즉 자바 실행..
package console; import java.io.Console; public class Console107 { public static void main(String[] args) { Console console=System.console(); char[] pass=console.readPassword("Enter password"); String password=new String(pass); System.out.println(password); } } 결과는? 이클립스에서 실행해보면 Exception in thread "main" java.lang.NullPointerException at console.Console107.main(Console107.java:6) 이렇게 나온다. 컴파일시에..
- Total
- Today
- Yesterday
- 파이썬
- 라이믹스
- 자바
- esql
- C
- Python
- 파싱
- JDBC
- 오라클
- php
- 문자열
- webix
- xe addon
- KG
- 이클립스
- ocjap
- C언어
- EC
- 스크래핑
- 포인터
- 프로씨
- 플러터
- proc
- 자바 smtp
- 인포믹스
- ocajp
- XE
- XE3
- MySQL
- xe애드온
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |

