5. 그 외 공부
-
[RabbitMQ] rabbitMQ 공부..5. 그 외 공부/5.5 기타 2024. 11. 18. 19:54
회사에서 메시지 브로커의 일종인 RabbitMQ를 사용 중이다. RabbitMQ 얘기를 할때마다 이게 뭔소리지?? 무슨말을 하는거지 의문이었다. 좀 한가한 틈을 타서 GPT에 물어물어.... RabbitMQ 를 공부하였다. 처음에 궁금했던 점이 도대체 RabbitMQ가 뭔지.. 얘를 왜 쓰는지였다.. RabbitMQ는 서버와 서버간에 메시지를 효율적으로 처리하는 역할을 한다고 한다.효율적으로... 처리한다???? 는게 뭘까 알아보았다.보통 rabbitMQ같은 메시지 브로커는 통신 하려는 서버들 사이에 위치한다고 한다.A 서버 -> MessageBroker -> B서버1. 서버와 서버간에 의존성이 줄어든다 : 만약 두 서버중에 하나의 서버가 고장나도 통신하려는 메시지는 rabbitMQ 서버에 남아있어서 ..
-
[SpringBoot] Application startup failedorg.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class5. 그 외 공부/5.1 ERROR 2024. 4. 2. 12:02
회사에서 프로젝트 빌드를 하다가 해당 에러가 나와서 1시간동안 헤맴.. 에러 내용 *Application.main(*Application.java:23) [classes/:na] Caused by: java.io.FileNotFoundException: class path resource [properties/*.properties] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172) ~[spring-core-4.3.6.RELEASE.jar:4.3.6.RELEASE] at org.springframework.core...
-
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '*' defined in file [**]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.Unsatisfied..5. 그 외 공부/5.1 ERROR 2023. 10. 24. 17:49
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'memberController' defined in file [C:\Users\USER\Downloads\demo\out\production\classes\com\example\demo\controller\MemberController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error cre..
-
com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Data too long for column '*' at row 15. 그 외 공부/5.1 ERROR 2023. 10. 16. 09:38
혼자 토이프로젝트를 하다가 해당 에러를 접하고 말았다.. 이유는 즉슨.. 테이블 생성했을때 해당 칼럼에 대하여 varchar(50)으로 했었던점.. 문자열 길이가 50자가 넘어서 생기는 에러라고 한다. 그래서 alter table (테이블명) modify (칼럼명) text로 수정해주었다. 끝
-
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement '*'. It's likely that neither a Result Type nor a Result Map was specifi..5. 그 외 공부/5.1 ERROR 2023. 10. 13. 10:05
Test 코드를 작성하던 중 해당 에러코드가 나왔다 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement '*'. It's likely that neither a Result Type nor a Result Map was specified. (에러코드 블라블라.....) Caused by: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were..
-
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'5. 그 외 공부/5.4 Linux 2023. 9. 19. 23:18
AWS 로 혼자 프로젝트 서버 구축 하려다가 mysql 설정 ??? 때문에 끙끙 앓음.. 에러메세지 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' ...ㅎ 이게뭔소리여... 뭔가 mysql.sock 관련 파일을 못찾는건지.........ㅠ 암튼 혼자 눈물의 똥꼬쇼를 하다가 stackoverflow 에서 아래 명령어를 그대로 입력해서 mysql를 재실행 시켰다가 해결 sudo systemctl stop mysqld sudo rm -rf /var/lib/mysql/ sudo mkdir -p /var/lib/mysql/ sudo chown -R mysql: /var/lib/mysq..
-
[Spring] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xxxx' defined in xxxx: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: TargetSource cannot determin..5. 그 외 공부/5.1 ERROR 2023. 4. 16. 22:27
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xxxxx' defined in xxxxxx : Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: TargetSource cannot determine target class: Either an interface or a target is required for proxy creation. at org.springframework.beans.factory.support.AbstractAutowireCapableBe..