Spaces cause the spring boot auto-configuration class to not be found

Recently, I am doing the development of multiplexing modules based on spring boot.
(version 1.5.10.RELEASE)
wrote a self-configuring module, the first class is fine.
Added one, but always reported FileNotFound error.
Compare the spelling, recompile, redistribute the package, all tried, but no solution.

Finally, I opened spring.factories in the spring boot code and found that there is no space between the class names.
Then, remove the spaces in my own modules... Okay.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326062364&siteId=291194637