Home > front end >  Spring's @ service annotations zhangs problems
Spring's @ service annotations zhangs problems

Time:09-20

Said the particular case implementation class annotation @ Service (" value ") as long as the value of value as well as the interface name (initials lowercase) will be reported to the fault, below directly annotate @ Service transactions can't find the implementation class
Focus is: as long as the value of value as well as the interface name (initials lowercase) can change the annotation name, the name of the class, I changed a lot of, can't be with the third party or their own conflicts, new projects, there is only one service,





Below is the configuration file

CodePudding user response:

Engineering structure of the building Lord whether the module reference by other modules, in the service of the interface beanid has letters lowercase interface name headed by default, so using the @ service annotations in the implementation class need to give a different beanid
  • Related