본문 바로가기

나의 플랫폼/Spring Framework

[Spring] Eclipse - BeanCreationException 발생 Injection of autowired dependencies failed Spring을 빌드 한 후, 위와 같은 에러가 본적이 있으면 ...아마 혹시 멘붕 오신 상태 아니신가요?^^; 크게 잘못된 부분이 없는데 빌드가 되지 않고 답답할 수도 있습니다. 우선 아래에 몇가지만 체크해 보세요. http://ceaserdev.tistory.com/entry/Spring-BeanCreationException-%EC%97%90%EB%9F%AC-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95 http://mkil.tistory.com/301 등등... 구글에 검색하면 여러 정보가 있다. 저 같은 경우는 .m2 폴더를 삭제 하고 발생 했다. m2 폴더는 캐시 폴더라 문제가 없을 줄 알았는데.... 더보기
[JavaScript] Detecting Mobile browser JavaScript 에서 모바일 브라우저를 찾는데 참고할만한 좋은 소스인듯 하여 공유 합니다. /** * Determine the mobile operating system. * This function returns one of 'iOS', 'Android', 'Windows Phone', or 'unknown'. * * @returns {String} */ function getMobileOperatingSystem() { var userAgent = navigator.userAgent || navigator.vendor || window.opera; // Windows Phone must come first because its UA also contains "Android" if (/windows.. 더보기
[JavaScript] Using videojs to play video inline on ios VideoJs 기능을 이용하여 열심히 플레이어를 만들고 커스텀마이징 했는데... iOS 에서 Native Player가 실행되어서 많이 당황 하셨죠? 아래 옵션을 넣기만 하면 된다고 합니다. 참조 : https://stackoverflow.com/a/43617296 다른 건 크게 신경 안쓰셔도 되고, playisinline 옵션을 넣어주세요. 중요한건.. iOS 9이상 부터 가능하다는 설명이 있는데... iOS8을 테스트 해보질 못해서 첨언을 못하겠네요. 하지만.. 더 중요한 부분이.. 테스트를 해보니 iOS 에서는 전체 화면 버튼을 넣을 경우, Native 플레이어가 적용 되더라구요. 결국... iOS 사파리인지 체크 해서 그 때만 전체 화면 버튼을 제외 시키는 방식을 했습니다. 아래는 전체화면 버튼을.. 더보기
[JavaScript] VideoJS에서 플레이 시간까지만 이동 되도록 출처 : https://support.brightcove.com/brightcove-player-sample-disable-forward-scrubbing 123456789101112131415161718192021222324252627var percentAllowForward = 0;var videoPlayer;var disableForwardScrubbing = function(player) { player.on("timeupdate", function() { var percentPlayed = player.currentTime() / player.duration() * 100; if (percentPlayed > percentAllowForward) { percentAllowForward = per.. 더보기
[Spring Framework] Freezing Oracle DB Spring Framework에서 Oracle DB를 연동 할 때, 쿼리를 보낸 후, 아무 응답이 없을 때가 있다. 이럴 경우, 아래와 같이 대응 해 봐라. 1. C:\Users\사용자 이름\AppData\Roaming\sqldeveloper 폴더로 이동2. 현재 사용 SqlDeveloper 버전 폴더를 삭제 한다. 위 형태로 하면 동작이 잘 이뤄진다. 참고 하세요. 참고 : http://shuiky.tistory.com/entry/Oracle-SQL-Developer-%EC%8B%A4%ED%96%89%EB%8F%99%EC%9E%91%EC%9D%B4-%EC%95%88%EB%90%A0-%EB%95%8C 더보기