Framework
-
🔥 Problem 👉 Can't load plugin: sqlalchemy.dialects:mysql_mysqldb 🧙 Solution 👉 You entered the wrong option. Check again what you've entered. #in my case.. mysql_mysqldb -> mysql+mysqldb If I was of any help to you, please buy me coffee 😿😢😥 If you have any questions, please leave them in the comments Buy me a coffee ▶ Youtube Sub 🧭 References [1] reference : https://doctorson0309.tistory.com/ [2]..
[Solved] Can't load plugin: sqlalchemy.dialects:mysql_mysqldb🔥 Problem 👉 Can't load plugin: sqlalchemy.dialects:mysql_mysqldb 🧙 Solution 👉 You entered the wrong option. Check again what you've entered. #in my case.. mysql_mysqldb -> mysql+mysqldb If I was of any help to you, please buy me coffee 😿😢😥 If you have any questions, please leave them in the comments Buy me a coffee ▶ Youtube Sub 🧭 References [1] reference : https://doctorson0309.tistory.com/ [2]..
2024.01.23 -
🔥 Problem 👉 This error originates from a subprocess, and is likely not a problem with pip. Can not find valid pkg-config name. Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually Collecting mysqlclient Using cached mysqlclient-2.2.1.tar.gz (89 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting re..
[Solved] Can not find valid pkg-config name🔥 Problem 👉 This error originates from a subprocess, and is likely not a problem with pip. Can not find valid pkg-config name. Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually Collecting mysqlclient Using cached mysqlclient-2.2.1.tar.gz (89 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting re..
2024.01.23 -
🔥 Problem 👉 SEO의 강화를 위해 404 에러가 발생하였을 경우, 404 페이지로 이동시킬 필요가 있습니다. 🧙 Solution 👉 ErrorPageController를 하나 제작합시다. 아래의 소스코드를 참고하여 작업하시면 됩니다. package com.ointex.noticeboard.controller; import org.springframework.boot.web.servlet.error.ErrorController; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping;..
[Spring boot] 에러 혹은 404 페이지로 이동시키는 방법🔥 Problem 👉 SEO의 강화를 위해 404 에러가 발생하였을 경우, 404 페이지로 이동시킬 필요가 있습니다. 🧙 Solution 👉 ErrorPageController를 하나 제작합시다. 아래의 소스코드를 참고하여 작업하시면 됩니다. package com.ointex.noticeboard.controller; import org.springframework.boot.web.servlet.error.ErrorController; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping;..
2024.01.16 -
🔥 Problem 👉 nested exception is java.lang.IllegalStateException: Can't configure antMatchers after anyRequest 🧙 Solution 👉 .anyRequest().authenticated() to be used only once! Please check if you used them once. http .httpBasic() .and() .authorizeRequests() .antMatchers("/test/**").permitAll() .and() .authorizeRequests() .antMatchers("/admin/**").hasAnyRole("ADMIN") .anyRequest().authenticated() ..
[Solved] Can't configure antMatchers after anyRequest🔥 Problem 👉 nested exception is java.lang.IllegalStateException: Can't configure antMatchers after anyRequest 🧙 Solution 👉 .anyRequest().authenticated() to be used only once! Please check if you used them once. http .httpBasic() .and() .authorizeRequests() .antMatchers("/test/**").permitAll() .and() .authorizeRequests() .antMatchers("/admin/**").hasAnyRole("ADMIN") .anyRequest().authenticated() ..
2024.01.12 -
🔥 Problem 👉 javax.xml.bind.JAXBException org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationExc..
[Solved] Implementation of JAXB-API has not been found on module path or classpath🔥 Problem 👉 javax.xml.bind.JAXBException org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationExc..
2024.01.12 -
🔥 Problem 👉 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource ....blah blah SingleTableEntityPersister org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaCon..
[Solved] Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister🔥 Problem 👉 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource ....blah blah SingleTableEntityPersister org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaCon..
2024.01.12