반응형


resin was 를 사용중에 


404는 코드 받아서 커스텀 애러페이지로 이동 요청


web.xml 에


   <error-page>

     <error-code>404</error-code>

    <location>/file_not_found.jsp</location>

  </error-page>


로 설정하면 모두다 된다고 했는데 

윈도우 서버에서 기본으로 뿌려주는 404 페이지로 이동 ..


폭풍 검색해보니 


커스텀 페이지 (이동하는 애러페이지) 가 1KB 이하면 기본 윈도우 404 페이지 노출 됨


안에 내용을 좀더 넣어서 1kb 이상으로 만들면 정상 이동한다


요약 

커스텀 애러 페이지는 1KB 이상으로 만들자.  


아오 내 1시간 ~!!!!

반응형
반응형

Error:Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon athttp://gradle.org/docs/1.10/userguide/gradle_daemon.html
Please read below process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit



노트북에서는 애러가 없었는데 데스크탑에서 애러발생..

앜 머지 ~


모든 프로젝트 종료 > Settings > Compiler > Gradle > VM Option 을 -Xmx512m 로 세팅
Settings > Gradle > Gradle VM Option 에 -Xmx512m 세팅


요거나


In Eclipse, go to windows -> preferences -> gradle->arguments. Find JVM Arguments choose from radio button "USE :" and write arguments -Xms128m -Xmx512m Then click button Apply


두개로 해결 ;;;


출처

http://shinyryu09.blogspot.kr/2014/05/gradle-error-unrecognized-jvm-option-is.html

http://stackoverflow.com/questions/20471311/android-studio-unable-to-start-the-daemon-process

반응형
반응형

page 로딩시.. 특정 위치로 이동하는 기능을 만들고 있었다..


$('html ,body').animate( {scrollTop :$("ID").offset().top},100)


요런식으로 하는데 계속 아무 오류도 안나고 작업이 안되었다..


그래서 옆동료가 ㅋㅋ


기본 스크립트로 해봤는데 성공 ㅎㅎㅎㅎㅎㅎ


document.getElementById("ID").scrolllntoView();


로 해결 ㅎㅎㅎ


잘 된다 잘돼~


반응형

+ Recent posts