본문 바로가기

Others/Error

(19)
[Maven] package 할 시 발생하는 'webxml attribute is required' 에러 아래와 같이 pom.xml 설정으로 해결이 가능하다. 방법 1 1.7 7.0.78 false UTF-8 방법 2 org.springframework.boot spring-boot-maven-plugin 1.5.3.RELEASE org.apache.maven.plugins maven-war-plugin false 참고 https://stackoverflow.com/questions/5351948/webxml-attribute-is-required-error-in-maven "webxml attribute is required" error in Maven I am getting the following error: Error assembling WAR: webxml attribute is required (..
[스프링] 스프링 Spring AJAX 406 Not Acceptable 에러시 해결법 org.codehaus.jacksonjackson-mapper-asl1.5.0 produces = "application/json"를 안붙혀서 라는데 실제로는 위의 코드가 pom.xml에 위의 코드가 없을 가능성이 크다. 저걸로도 에러가 뜬다면 produces = "application/json"을 mapper쪽에 붙히면 될것이다. @ResponseBody@RequestMapping(value = "/ajax", method = RequestMethod.POST, produces = "application/json")public ArrayList ajax() { 출처: http://stratosphere.tistory.com/54 [StratoSphere Stream]
[스프링] org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.apache.ibatis.session.SqlSession] found for dependency [참고] https://okky.kr/article/311759?note=1028840 config.xml 파일을 별도로 지정해 주었다면web.xml의 contextConfigLocation에 별도로 지정한 config 파일을 등록해 주었는지 확인해보자. 예) appServletorg.springframework.web.servlet.DispatcherServletcontextConfigLocation/WEB-INF/spring/appServlet/servlet-context.xml/WEB-INF/spring/mybatis/mybatis-context.xml/WEB-INF/spring/security/security-context.xml1
[스프링] 심각: Servlet.service() for servlet [jsp] threw exception java.lang.NumberFormatException: For input string: "______" model.addAttributes()로 넘겨주었는데 값이 나타나지 않는다. ex )model.addAttributes("a",a); // controllera.get(0).name // jsp 위와 같이 .get(0)으로 해결.
[워드프레스] How to Fix the 403 Forbidden Error in WordPress http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-403-forbidden-error-in-wordpress/ 위 링크를 보고 해결하였음. 필자의 문제 상황 : 1. 호스팅업체에서 도메인 구입2. 구매한 도메인에 IP 연결3. 워드프레스 어드민에서 1번에서 구매한 도메인으로 변경4-1 문제상황 : 워드프레스 어드민 접속 불가4-2 문제상황 : 1번 도메인 404 문제상황의 이유 : 이유 : 도메인이 변경되면서 어드민으로 연결되는 도메인도 변경된다. 호스팅 업체 문의해보니 새로 구매한 도메인은 하루 정도의 구축시간을 갖는다고 한다. 당연히 4-2 문제 상황이 발생하면서 4-1에도 접속할 수 없게 되었다. 당장 서비스 중인 홈페이지를 기존 도메인으로 돌려놓기 위..
[Spring] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 1. Bean에서 에러가 나는 경우 참고 링크 : http://liante0904.tistory.com/1132. DB 설정이나 쿼리문이 작성되는 xml 파일 점검 : http://bulkywebdeveloper.tistory.com/47 * 필자는 2번의 경우가 많았다.. Bean에서 문제가 일으키는데 의외로 설정 파일 쪽에서 문제가 많은 경우가 있으니, 괜한 어노테이션 등을 확인하는 시간을 허비하기 전에 설정 파일부터 체크하는 버릇을 들여야겠다.
[스프링] bean 추가 후, Class '~' not found pom.xml에 dependency 추가해주었는지 확인.
[스프링] No qualifying bean of type '' available: expected at least 1 bean which qualifies as autowire candidate. Service 인터페이스를 Implements 하는 클래스에서 @Service 어노테이션이 빠지지 않았는지 체크해보자.