Category Archives: DevTools

개발도구

Intellij + HotswapAgent plugin + DCEVM jdk 적용 후 spring boot 기동시 “InvocationTargetException in transform method on plugin” 발생 해결

By | 9월 5, 2020

HOTSWAP AGENT: 15:26:14.064 ERROR (org.hotswap.agent.annotation.handler.PluginClassFileTransformer) – InvocationTargetException in transform method on plugin ‘class org.hotswap.agent.plugin.hibernate.HibernatePlugin’ class ‘org/hibernate/validator/internal/metadata/BeanMetaDataManager’. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:218) at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:112) at org.hotswap.agent.util.HotswapTransformer.transform(HotswapTransformer.java:246) at sun.instrument.TransformerManager.transform(TransformerManager.java:188) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at… Read More »

[링크] IntelliJ 에서 “No beans of [클래스명] type found” 에러가 발생할 경우

By | 8월 31, 2020

내 경우에는 HttpServletRequest 를 autowire 한 경우 빨간줄이 그어졌었다. 물론 작동상에 문제가 있는 autowiring 일 경우 코드 수정을 해 줘야 하지만, 작동에 문제가 없는 경우에는 IDE에서도 무시하도록 처리를 해 주도록 한다.   링크를 통해 해결함.            

[git] “remote: error: refusing to update checked out branch: refs/heads/master” 케이스

By | 8월 25, 2020

좀 멍청한 짓이었는데, intellij 셋팅 후 clone 으로 프로젝트를 받아온 상태에서, 당연히 remote repository 가 clone 주소라고 생각하고 있었는데, remote branch 의 주소가 다름 아닌 local branch 의 주소였던 것이다. 그래서 push가 reject 가 된 것..   remote repository 의 주소를 원격지로 다시 설정하고 push를 하니 문제가 없었다.   (-_- )..    

[펌글] 이클립스 git (EGit) 사용시, git 암호(패스워드,password)를 변경하고 싶을 경우

By | 12월 18, 2019

– 출처: https://bigzero37.tistory.com/23 – svn 에서 git 으로 바꾼지 얼마 안되었는데 push 할 때 자꾸 github 계정과 암호를 물어본다… store secure 옵션을 체크하면 자꾸 에러가 나서 그냥 하다가 짜증 폭발…..구글링 했다.. 이클립스에서 Windows -> Preferences ->General -> Security ->Secure Storage 에 들어가면 Password 탭이 있는데 거기서 중간에 Description 에서 UI Prompt 를 선택하고 Change Password… Read More »

이클립스 프로젝트간 maven 의존성(dependency)이 영향을 주고 받아 톰캣 기동시 에러가 발생한 상황

By | 12월 5, 2019

잘 돌고 있던 이클립스 프로젝트 A (terasoluna spring 5 tomcat 프로젝트) 가 돌연, 프로젝트 B의 maven update 후 서버 기동이 실패하는 현상이 있었다. 달라진 점은 프로젝트 B의 pom.xml에 spring-boot-starter-jersey dependency가 추가된 것 뿐이었는데… 왜 전혀 상관 없는 프로젝트 A가 갑자기 오류를 내뿜는 것인가?   그 원인을 정확히는 알 수 없었으나 우여곡절 끝에, 프로젝트 B에 추가된… Read More »

[펌글] [이클립스] local jar 지우고 unable to load annotation processor factory error 뜰 때

By | 10월 12, 2019

– 출처: http://blog.naver.com/eple_freeweb/221622249244 –   프로젝트에서 maven을 이용하지 않고 프로젝트 동작의 편리성을 위해 만드는 jar 가 있다. 별도로 넥서스를 사용하기도 하지만 오래된 프로젝트는 내부에 파일로 들어있다. ​ 사용하지 않는 라이브러리를 지우고 unable to load annotation processor factory 에러가 날 때 ​ 프로젝트 우클릭 > properties Java Compiler > Annotation Processing > Factory Path 가보면 리스트에… Read More »

[링크] .gitignore 규칙/문법 정리

By | 6월 30, 2021

https://donggov.tistory.com/30 https://ktko.tistory.com/entry/gitignore%EB%A5%BC-%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC-%EA%B9%94%EB%81%94%ED%95%98%EA%B2%8C-git-Commit-%ED%95%B4%EB%B3%B4%EA%B8%B0 https://www.atlassian.com/git/tutorials/saving-changes/gitignore