HTTP method namqes must be tokens....

 

그렇다.

https 로 요청한걸 http로 바꾸니 동작했다.

 

thanks :)

cyber-min.tistory.com/14

 

[SpringBoot]Invalid character found in method name. HTTP method names must be tokens 오류 해결법

http response를 testing하려고 주소를 입력했는데 위와 같은 response와 동시에 터미널에도 이런 오류가 떴다. 나는 http관련 메서드를 써서 주소를 매핑했는데, request는 https로 준 탓이었다. http로 주소..

cyber-min.tistory.com

 

간만에 ecilpse(표준프레임워크 개발환경)를 설치하는데, 실행환경 설정에서 오류가 발생했다.

 

* 결론. ecilpse와 jdk 설치 bit 수가 다르면 실행이 안된다. 맞춰주자

 

1. ecilpse 설치

 - 표준프레임워크 개발환경 다운로드, 압축풀기

2. jdk 설치

 - openJdk 다운로드, 압축풀기

3. JAVA_HOME, path 설정

4. ecilpse 바로가기 만들어서 -vm 설정으로 실행

 - 오류발생 

 > "Failed to load the JNI shared library"

ecilpse 실행오류

 

 

* 자 그럼 openJDK 64bit를 받아서 다시 해보자.

 (처음에는 왜 64bit를 못봤지..?)

 - Reference Implementations 의 Java SE 8 에는 64bit 가 없고, 마지막 메뉴 archive를 가야 있구만...

jdk.java.net/archive/

 

 - 그런데 jdk8 64bit는 없네 (jdk9부터 있다니...)

 > 일단 여기서 받자.

www.openlogic.com/openjdk-downloads?field_java_parent_version_target_id=416&field_operating_system_target_id=436&field_architecture_target_id=391&field_java_package_target_id=396

 

[결과]

64bit 설치 확인

 

welcom eclipse

 

thanks :)

copycoding.tistory.com/18

 

[eclipse] Failed to load the JNI shared library 오류

eclipse를 다운받아 압축을 풀어주고 java도 다운받아 설치를 하였는데 eclipse를 실행하면 오류가 발생하는 경우가 있습니다. Failed to load the JNI shared library 이 오류는 java path를 eclipse.ini 파일에..

copycoding.tistory.com

onedaystudy.tistory.com/79

 

[JAVA] JAVA BIT 확인하는 방법

Role이 바뀌면서 JAVA를 내가 설치하지 않고 서버담당자들에게 설치를 요청하는 일이 빈번해졌다. 분명 64bit로 설치해달라고 요청했음에도 불구하고, 종종 32bit로 설치해놓고는 64bit 설치했다고 우

onedaystudy.tistory.com

 

youtu.be/3JMjR_ahT44

 

flutter.dev/docs/get-started/install/macos#update-your-path

 

macOS install

How to install on macOS.

flutter.dev

1. flutter 다운로드

2. 압축풀기(더블클릭)

3. home에 'Developer'폴더 생성

4. flutter 압축해제폴더 복사 : Developer

5. path 설정 : terminal

vim .zshrc (iMac OS 버전이 Catalina인 경우 적용)
vim .bashrc (이전 버전인 경우 - Mojave)

6. terminal zshrc 편집 (저장 후 종료 : wq!)

export PATH="$PATH:/Users/jkoogi/Developer/flutter/bin"

7. terminal source .zshrc : 시스템 업데이트 

source .zshrc

8. flutter -version : 설치 - 설치버전 확인

 - "개발자를 확인할 수 없기 때문에 'dart'를 열 수 없습니다." 메시지 표시되며 설치 제한

 > 시스템 환경설정 => 보안 및 개인 정보 보호  => 일반  [확인 없이 허용] 선택  

[-version 옵션은 실수인듯]
jkoogi@jkoogiMac ~ % flutter -version
Could not find an option with short name "-e".


Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and
options.

  ╔════════════════════════════════════════════════════════════════════════════╗
  ║                 Welcome to Flutter! - https://flutter.dev                  ║
  ║                                                                            ║
  ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
  ║ statistics and basic crash reports. This data is used to help improve      ║
  ║ Flutter tools over time.                                                   ║
  ║                                                                            ║
  ║ Flutter tool analytics are not sent on the very first run. To disable      ║
  ║ reporting, type 'flutter config --no-analytics'. To display the current    ║
  ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out    ║
  ║ event will be sent, and then no further information will be sent by the    ║
  ║ Flutter tool.                                                              ║
  ║                                                                            ║
  ║ By downloading the Flutter SDK, you agree to the Google Terms of Service.  ║
  ║ Note: The Google Privacy Policy describes how data is handled in this      ║
  ║ service.                                                                   ║
  ║                                                                            ║
  ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and  ║
  ║ crash reports to Google.                                                   ║
  ║                                                                            ║
  ║ Read about data we send with crash reports:                                ║
  ║ https://flutter.dev/docs/reference/crash-reporting                         ║
  ║                                                                            ║
  ║ See Google's privacy policy:                                               ║
  ║ https://policies.google.com/privacy                                        ║
  ╚════════════════════════════════════════════════════════════════════════════╝


jkoogi@jkoogiMac ~ % 

[플러터 버전확인]
jkoogi@jkoogiMac ~ % flutter --version
Flutter 2.0.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b1395592de (11 days ago) • 2021-04-01 14:25:01 -0700
Engine • revision 2dce47073a
Tools • Dart 2.12.2
jkoogi@jkoogiMac ~ % 

9. flutter doctor

 - flutter 다운로드하여 설치함

 - andrAndroid toolchain 미설치

 - Xcode 미설치

 - Android Studio 미설치

 - Connected device 는 설치되어 있네?

jkoogi@jkoogiMac ~ % flutter doctor
Running "flutter pub get" in flutter_tools...                      14.0s
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.4, on Mac OS X 10.15.7 19H524 darwin-x64,
    locale ko-KR)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup
      for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS
      development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] Connected device (1 available)

! Doctor found issues in 3 categories.
jkoogi@jkoogiMac ~ % 

10.  Android Studio 설치

 - flutter.dev/docs/get-started/install/macos#install-android-studio

 > 다운로드 파일 더블클릭으로 실행 후 applications 에 등록 : 설치 완료 후 실행 (메시지창 open) > 기본옵션 설치

 

macOS install

How to install on macOS.

flutter.dev

 ... 아. 설치 마지막에 보안 메시지를 잘못눌러서... 진행이 안된다. 어떡하지...? 재설치? 취소하니까 실행은 된다.

 - flutter doctor 명령으로  Android Studio 설치 확인

11. Android Studio 를 실행하고, welcom 화면에서 하단 Configure 옵션에서 설정창으로 이동

 - Welcom > Configure > Preference

 > plugins > Flutter 설치 > Restart IDE (dart 도 함께 설치됨)

13. flutter plugin 설치확인

 - Welcom : Start a new Flutter project

14. Android toolchain 설치 : flutter doctor --android-licenses

 

jkoogi@jkoogiMac ~ % flutter doctor --android-licenses
Warning: File /Users/jkoogi/.android/repositories.cfg could not be loaded.      
7 of 7 SDK package licenses not accepted. 100% Computing updates...             
Review licenses that have not been accepted (y/N)? 

...
---------------------------------------
Accept? (y/N): y
...
---------------------------------------
Accept? (y/N): y
All SDK package licenses accepted

jkoogi@jkoogiMac ~ % 

12. flutter 프로젝트 생성

 - Start a new Flutter project > Flutter Application [Next] > Configure 설정  [Next]

 > Project name : testing_flutter

 > Flutter SDK path : /Users/jkoogi/Developer/flutter  [Next] ... [Finish]

13. 에뮬레이터 설정

 - no devices > AVD Manager 아이콘 클릭 > Create Virtual Device...

 > Phone > Nexus6  [Next] > OS 선택 (필요시 다운로드)

 > AVD name > * Emulated Performance : Hardware-GLES 2.0   [Next]

 > 설정한 에뮬레이터 실행 : Your Virtual Devices - Actions 실행아이콘 클릭

14. 셈플 프로젝트를 에뮬레이터로 실행하여 앱 테스트

15. xcode 설치

flutter.dev/docs/get-started/install/macos#ios-setup

 - Catalina 이상이면 .bashrc

 - Catalina 이전이면 .bash_profile

 > finder 숨김파일 표시 : command + shift + .

 

macOS install

How to install on macOS.

flutter.dev

16 ... 작성중.... 단.

 - 집에 맥이 너무 느려서.. 포기.

 

 

+ Recent posts