SpringBoot load the class can not be found, other services can not package the application Feign two types of problems

Load the class can not be found

1. If a series of simple fault (there annotated or have no dependencies have not fully), or there is no load classes in the root directory src / main / java / (package name) in the direct path if these are not

Focus here you .idea deleted files, run


2. The second type of problem

SpringBoot that you want to apply put service first package, so can be introduced into maven repository of resources, so as to import your jar package.

 

3.Singleton bean creation not allowed while singletons of this factory are in

Port is occupied

 

Guess you like

Origin www.cnblogs.com/JTrun/p/11111940.html