Error Description:
An error occurred during the operation of Maven + SSM project:
A org.springframework.beans . factory.UnsatisfiedDependencyException : error creating bean with name ‘logincontroller’: unsatisfied dependency expressed through field ‘imemberfunction’; as shown in the figure:
Cause of error:
(1) Annotation scanning is not enabled;
(2) the package path of annotation scanning is not set.
resolvent:
(1) In spring- mvc.xml In the configuration file
<mvc:annotation-driven />
(2) In spring- mvc.xml In the configuration file
<context:component-scan base-package="com.bigname.demo03.*" />
Read More:
- Calling Dubbo Service reported the following error (com.alibaba.dubbo.remoting.RemotingException) Causes and Solutions
- Eureka unit test error creating bean with name ‘Eureka autoservice registration’: Singleton bean
- Maven Packaging ERROR: Some problems were encountered while processing the POMs
- Error starting ApplicationContext. To display the auto-configuration report re-run your application
- Markdownpad2 Error: Html Rendering Error (An error occurred with the Html rendering component.)
- Git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcru
- Error:scalac: missing or invalid dependency detected while loading class file ***
- [How to Fix] Spring boot startup error: could not resolve placeholder
- MyBatis: Mapped Statements collection does not contain value for xxx
- How to Fix Error when integrating spring cloud openfeign with spring cloud Alibaba
- When Wireshark grabs packets, IP check sum error is displayed
- Intellij IDEA jetty-jmx.xml Error:Duplicate config file paths found
- How to Fix TNS 12560 Error
- 500 (International server error) server error in Flash + heroku
- Widgets are not available. Please install widgetsnbextension or ipywidgets 4.0
- How to Solve Error: avoided redundant navigation to current location: “index/user”
- Vue Report Error #NULL! :no such file or directory,chmod….. [email protected] **\css- Beautify.js
- package golang.org/x/net/XXX: unrecognized import path “golang.org/x/net/xxx“…
- Unknown custom element: [xxx] – did you register the component correctly…
- Error creating bean with name ‘redistemplate’ defined in class path resource