블로그 이미지
소낑
혼자 정리하고 혼자 보는 초보개발자 소끼월드

calendar

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

Notice

Tag

'BACK-END/JAVA'에 해당되는 글 2

  1. 2018.08.30 Spring Annotation
  2. 2017.10.09 jdk9 설치후 Eclipse 첫 실행시 실행 안되는 오류
2018. 8. 30. 13:18 BACK-END/JAVA
  • @Component
    • Spring이 관리하는 컴포넌트를 나타내는 일반적인 스테레오 타입
    • Redis / RabbitMQ등의 컴포넌트 관리 할때 붙이고 함
    • @Component를 구체화 한 애들로는 @Service / @Repository / @Controller 등이 있음
  • @Value
    • 프로퍼티정보를 가지고 올 수 있다
    • properties.xml에 있는 값을 가지고 있음


'BACK-END > JAVA' 카테고리의 다른 글

jdk9 설치후 Eclipse 첫 실행시 실행 안되는 오류  (0) 2017.10.09
posted by 소낑
2017. 10. 9. 01:32 BACK-END/JAVA

jdk9 설치하고 이클립스 실행 했는데 log 파일 보라는 얼럿 창과 함께 실행안되는 경우


[프로젝트 폴더\.metadata\.log]

!ENTRY org.eclipse.osgi 4 0 2017-10-09 01:18:39.407

!MESSAGE Application error

!STACK 1

org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct

at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)

at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)



[이클립스설치경로\eclipse.ini]

-vmargs 아래

--add-modules=java.se.ee 추가 후 재실행


-vmargs

--add-modules=java.se.ee




'BACK-END > JAVA' 카테고리의 다른 글

Spring Annotation  (0) 2018.08.30
posted by 소낑
prev 1 next