intellij 에서 로컬 이미지를 아무리 새로고침 해도 로컬서버에서 서비스 하지 못할 때 (http 404)
intellij 는 기본적으로 소스디렉토리와 배포판디렉토리의 sync 를 해 주지 않는 것 같다. 로컬 배포를 한 번 수행해 주자. (e.g. maven clean package)
intellij 는 기본적으로 소스디렉토리와 배포판디렉토리의 sync 를 해 주지 않는 것 같다. 로컬 배포를 한 번 수행해 주자. (e.g. maven clean package)
※ 소스는 로컬에 있고 github에는 빈 repository 가 있을 경우 github 계정 셋팅은 이미 완료되어 있다는 가정. 프로젝트 우클릭 > Manage Remotes 에서 git full url 을 등록한다. 프로젝트 우클릭 > git > add 프로젝트 우클릭 > git > push
Edit > General > Smart Keys > Surround selection on typing quote or brace 를 체크해제.
File | Settings | Editor | Smart Keys –> Reformat on Paste 를 none 으로 설정한다.
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 »
인텔리제이 JRebel 을 대체할 DCEVM + HotSwap 설치&사용방법 기타 참고 hotswap 설정 완료 후 recompile (Ctrl+Shift+F9)로 적용시점을 앞당길 수 있다.
[IntelliJ] properties 파일에서 한글 보기
IntelliJ 톰캣 로그 한글 깨짐을 해결하는 2가지 방법 실제로 해 보니 위의 방법으로는 해결이 안 되고, Run/Debug Configurations (Edit Configuration) > Tomcat Server > [해당서버] 의 VM options에 -Dfile.encoding=UTF-8 을 추가해 주어 해결하였다.
확실한 해결책인지는 알 수 없으나, File > Invalidate caches / restart 로 명령으로 해결.
내 경우에는 HttpServletRequest 를 autowire 한 경우 빨간줄이 그어졌었다. 물론 작동상에 문제가 있는 autowiring 일 경우 코드 수정을 해 줘야 하지만, 작동에 문제가 없는 경우에는 IDE에서도 무시하도록 처리를 해 주도록 한다. 링크를 통해 해결함.
https://stackoverflow.com/questions/32000669/intellij-idea-key-board-right-click-doesnt-work
좀 멍청한 짓이었는데, intellij 셋팅 후 clone 으로 프로젝트를 받아온 상태에서, 당연히 remote repository 가 clone 주소라고 생각하고 있었는데, remote branch 의 주소가 다름 아닌 local branch 의 주소였던 것이다. 그래서 push가 reject 가 된 것.. remote repository 의 주소를 원격지로 다시 설정하고 push를 하니 문제가 없었다. (-_- )..
https://yoshikixdrum.tistory.com/200
원래는 이클립스의 Run/Debug 내의 각 Test profile에서 VM arguments 에 셋팅을 한다고 생각했었으나, Spring Boot 의 경우에는 application.properties 의 설정이 우선하는 것을 알게 됨. * application.properties 샘플 logging.config=classpath:logback-custom.xml
– 출처: 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 »
잘 돌고 있던 이클립스 프로젝트 A (terasoluna spring 5 tomcat 프로젝트) 가 돌연, 프로젝트 B의 maven update 후 서버 기동이 실패하는 현상이 있었다. 달라진 점은 프로젝트 B의 pom.xml에 spring-boot-starter-jersey dependency가 추가된 것 뿐이었는데… 왜 전혀 상관 없는 프로젝트 A가 갑자기 오류를 내뿜는 것인가? 그 원인을 정확히는 알 수 없었으나 우여곡절 끝에, 프로젝트 B에 추가된… Read More »
https://countryxide.tistory.com/16
– 출처: http://blog.naver.com/eple_freeweb/221622249244 – 프로젝트에서 maven을 이용하지 않고 프로젝트 동작의 편리성을 위해 만드는 jar 가 있다. 별도로 넥서스를 사용하기도 하지만 오래된 프로젝트는 내부에 파일로 들어있다. 사용하지 않는 라이브러리를 지우고 unable to load annotation processor factory 에러가 날 때 프로젝트 우클릭 > properties Java Compiler > Annotation Processing > Factory Path 가보면 리스트에… Read More »
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
https://unlimitedpower.tistory.com/entry/Eclipse-%EA%B8%B0%EB%B3%B8-%EC%9D%B8%EC%BD%94%EB%94%A9Encoidng-UTF-8%EB%A1%9C-%EB%B3%80%EA%B2%BD%ED%95%98%EA%B8%B0