Project scene:
When configuring the consumer mode of the SpringCloud project, I encountered a bug.
An error in Maven!
Problem Description:
Tip: An error will be reported during startup.
For example: java.lang.ClassNotFoundException: com.netflix.discovery.AbstractDiscoveryClientOptionalArgs
java.lang.ClassNotFoundException: com.netflix.discovery.AbstractDiscoveryClientOptionalArgs
Cause Analysis:
Tip: After careful observation, it is found that a path was imported incorrectly when configuring dependencies.
Then go to the Maven repository to find this path, which is a bit different!
solution:
Tip: After I changed the path to the correct one, no error was reported when running.