steve-developer / fastcampus-springboot-introduction Goto Github PK
View Code? Open in Web Editor NEW패스트 캠퍼스 스프링 부트 입문
License: Apache License 2.0
패스트 캠퍼스 스프링 부트 입문
License: Apache License 2.0
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: @configuration class 'AppConfig' contains overloaded @bean methods with name 'encoder'. Use unique method names for separate bean definitions (with individual conditions etc) or switch '@Configuration.enforceUniqueMethods' to 'false'.
Offending resource: class path resource [com/example/springioc/AppConfig.class]
에러 메세지에는 이렇게 나오는데 구글링해도 답이 안나오네요ㅠㅠ
Gradle could not start your build.
Could not create service of type CrossBuildFileHashCache using BuildSessionServices.createCrossBuildFileHashCache().
Failed to create parent directory 'C:\Users\mvc.gradle' when creating directory 'C:\Users\mvc.gradle\6.9.1\fileHashes'
Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Exception is:
org.gradle.initialization.exception.InitializationException: Gradle could not start your build
Caused by: org.gradle.internal.service.ServiceCreationException: Could not create service of type CrossBuildFileHashCache using BuildSessionServices.createCrossBuildFileHashCache()
Caused by: org.gradle.api.UncheckedIOException: Failed to create parent directory 'C:\Users\mvc.gradle' when creating directory 'C:\Users\mvc.gradle\6.9.1\fileHashes'
gradle빌드에러가 자꾸나서 spring 강의 시작을 못하고 있습니다.ㅠㅠ
자바11 이고 spring initializr 버전도 낮춰보고 했는데도 안되네요 해결방법 알려주시면 감사드리겠습니다
안녕하세요.
개발환경은 Eclipse 에서 작업하고 있습니다.
run 실행 시, pointcut 표현식에서 계속 에러가 발생되어 문의드립니다.
구글링해도 원인을 모르겠습니다. ㅜ
답변 부탁드립니다.
pointcut 어노테이션은 아래와 같이 작성 했으며,
에러는 다음과 같이 발생이 됩니다.
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration$EmbeddedTomcat': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting ')' at character position 11
excution(* com.example.aop.controller...(..))
^^^
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration$EmbeddedTomcat': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting ')' at character position 11
excution(* com.example.aop.controller...(..))
^^^
Caused by: java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting ')' at character position 11
excution(* com.example.aop.controller...(..))
^^^
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.