Programming/Java(Spring)2018. 12. 27. 19:29

spring 코드 보다 보니

classname.class 라는 희한한 문법이 보여서 검색



 @Configuration

 @EnableAutoConfiguration

 public class MyApplication  {


   // ... Bean definitions


   public static void main(String[] args) throws Exception {

     SpringApplication.run(MyApplication.class, args);

   } 

}

[링크 : https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/SpringApplication.html]


public final Class<?> getClass()

Returns the runtime class of this Object. The returned Class object is the object that is locked by static synchronized methods of the represented class. 

[링크 : https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html#getClass%28%29]

    [링크 : https://stackoverflow.com/questions/10477375/what-does-classname-class-return]


문득 헷갈려서 찾게 되네.

클래스는 설계도 이고 오브젝트는 class의 instance이다 라고 정의하면 되려나?

[링크 : http://itsuit.tistory.com/45]

'Programming > Java(Spring)' 카테고리의 다른 글

sts gradule spring boot howto  (0) 2018.12.28
STS gradle 버전 문제가.. 혹시..  (0) 2018.12.28
gradle + STS + openJDK 설치 -_-  (0) 2018.12.27
gradle to buildship  (0) 2018.12.27
sts(Spring Tool Suite) version  (2) 2018.12.26
Posted by 구차니

setAnimation에 인자를 주지 않으면 애니메이션이 사라진다.

DROP은 1회에 한해서 한번 뚕~ 하고 끝

BOUNCE는 계속 뛰고 있으니 얘가 무난할 듯?


naver.maps.Event.addListener(urlMarker, 'click', function() {

    if (urlMarker.getAnimation() !== null) {

        urlMarker.setAnimation(null);

    } else {

        urlMarker.setAnimation(naver.maps.Animation.BOUNCE);

    }

}); 

[링크 : https://navermaps.github.io/maps.js/docs/tutorial-marker-animation.example.html]

Posted by 구차니
Programming/Java(Spring)2018. 12. 27. 10:20

먼가 끄적끄적 하는데 안되서 고민 때리다가...


그래들이 설치가 완전히 안되었어용~ 하길래 찾다보니.. 헉?!

gradle 플러그인 깔면 당연히(?) 그래들이 딸려 오는거 아니었던거냐?!?!?!


 I found out that when I ran "choco install gradle", it didn't install the most recent version of Gradle 

[링크 : https://stackoverflow.com/questions/42324135/gradle-installation-not-configured-correctly]


Chocolatey is "the package manager for Windows".

❯ choco install gradle 

[링크 : https://docs.gradle.org/current/userguide/installation.html]

[링크 : https://gradle.org/releases/]

'Programming > Java(Spring)' 카테고리의 다른 글

STS gradle 버전 문제가.. 혹시..  (0) 2018.12.28
spring classname.class  (0) 2018.12.27
gradle to buildship  (0) 2018.12.27
sts(Spring Tool Suite) version  (2) 2018.12.26
gradle openjdk11  (0) 2018.12.26
Posted by 구차니
Programming/Java(Spring)2018. 12. 27. 10:09

실행하는데 귀찮아서 넘겼던 걸 다시 보니..

어라 빌드쉽? 그래들을 버리고 가야하는건가?


[링크 : https://github.com/eclipse/buildship/wiki/Migration-guide-from-STS-Gradle-to-Buildship]

'Programming > Java(Spring)' 카테고리의 다른 글

spring classname.class  (0) 2018.12.27
gradle + STS + openJDK 설치 -_-  (0) 2018.12.27
sts(Spring Tool Suite) version  (2) 2018.12.26
gradle openjdk11  (0) 2018.12.26
spring과 gradle  (0) 2018.12.26
Posted by 구차니

자유의 날개와는 좀 다르게

양자택일이 아니라, 미션마다 다르게 선택할 수 있어서 좋네

그리고 신규 유닛에 대한 사용을 해보고 결정할 수 있어서

좀 더 게이머를 배려하는 느낌?




Posted by 구차니
Programming/Java(Spring)2018. 12. 26. 19:10

아무생각 않고 받았더니 3.x대

아무튼.. 다운로드 링크는 아래에 적어 두고

[링크 : https://spring.io/tools3/sts/all]

[링크 : https://spring.io/tools]


문제는 얘... 머가 문제일까..

그리고 어떤 놈이 진짜(?) openJDK 인가...

[링크 : https://jdk.java.net/10/]

[링크 : https://jdk.java.net/11/]

'Programming > Java(Spring)' 카테고리의 다른 글

gradle + STS + openJDK 설치 -_-  (0) 2018.12.27
gradle to buildship  (0) 2018.12.27
gradle openjdk11  (0) 2018.12.26
spring과 gradle  (0) 2018.12.26
openJDK for windows  (0) 2018.12.26
Posted by 구차니
Programming/Java(Spring)2018. 12. 26. 19:09

일단 시도는 해보는데 에러가 나면서 안된다.



openJDK를 받아서 해당 경로에 jre 로 디렉토리 이름 바꾸어 주고 하면 실행은 되지만


Gradle IDE Pack 3.8.x 을 깔아 주고 해보니


openJDK-11은 JDK가 아니므니다?


문득.. 떠오르는 윈도우9를 건너띄고 10으로 간 이유가 자바에도 적용 되는 걸까?


Could not determine java version from '11'. 

[링크 : https://github.com/gradle/gradle/issues/6981]


./gradlew -Djava.version=10 

[링크 : https://discuss.gradle.org/t/using-openjdk-early-access-builds-and-gradle/27180]

[링크 : http://jsonobject.tistory.com/396]

'Programming > Java(Spring)' 카테고리의 다른 글

gradle + STS + openJDK 설치 -_-  (0) 2018.12.27
gradle to buildship  (0) 2018.12.27
sts(Spring Tool Suite) version  (2) 2018.12.26
spring과 gradle  (0) 2018.12.26
openJDK for windows  (0) 2018.12.26
Posted by 구차니
Programming/Java(Spring)2018. 12. 26. 17:34

둘이 무슨 사이인지 모르겠네..

일단 ant나 maven 대체하는 녀석이라는데..

npm 같은 패키지 매니저 같은 녀석이려나?


[링크 : https://spring.io/guides/gs/gradle/]

[링크 : http://niceman.tistory.com/56]

[링크 : http://fervorwooks.tistory.com/entry/SpringBoot-gradle-sts-gradle-설정]


gradle 2.0은 jdk8 이상을 요구

[링크 : https://docs.gradle.org/2.0/release-notes.html]

[링크 : https://docs.gradle.org/4.7/release-notes.html]

[링크 : https://docs.gradle.org/current/userguide/upgrading_version_4.html]

[링크 : https://gradle.org/whats-new/gradle-5/]


'Programming > Java(Spring)' 카테고리의 다른 글

gradle + STS + openJDK 설치 -_-  (0) 2018.12.27
gradle to buildship  (0) 2018.12.27
sts(Spring Tool Suite) version  (2) 2018.12.26
gradle openjdk11  (0) 2018.12.26
openJDK for windows  (0) 2018.12.26
Posted by 구차니
Programming/Java(Spring)2018. 12. 26. 17:33

여기 꺼는 바이러스 있다고 경고 뜨네..(크롬기준)

[링크 : https://github.com/ojdkbuild/ojdkbuild]

    [링크 : https://eteris.tistory.com/1836]


[링크 : https://jdk.java.net/11/]


9 버전이 11로 명시 된 듯?

[링크 : https://openjdk.java.net/install/index.html]

'Programming > Java(Spring)' 카테고리의 다른 글

gradle + STS + openJDK 설치 -_-  (0) 2018.12.27
gradle to buildship  (0) 2018.12.27
sts(Spring Tool Suite) version  (2) 2018.12.26
gradle openjdk11  (0) 2018.12.26
spring과 gradle  (0) 2018.12.26
Posted by 구차니
Programming/d32018. 12. 26. 16:35

시간 축 관련해서 헤메고 있는데..

어쩌다 보니 링크가 날아가서.. (-_-)


아무튼 요약하자면

new Date()를 통해 받은 값이라도 domain()에 쓰려면 new Date()를 날짜 객체로 바꾸어 주어야 한다는 것 정도?

'Programming > d3' 카테고리의 다른 글

d3 mouseover  (0) 2018.12.23
d3 time domain  (0) 2018.12.21
d3 double line graph  (0) 2018.12.21
d3 axis  (0) 2018.11.27
d3 온도/습도 그래프  (0) 2018.11.26
Posted by 구차니