The jar package can be run directly into the project, but not after it is introduced with maven.

debugging a third-party sdk, can run all dependent packages directly under the project directory, but put some of these packages into the maven repository and then quote them and report an error. The runtime indicates that a referenced class cannot be found, but it is no problem to see that the jar package has been referenced in the libraries. What is the difference between putting the jar package directly in the project and introducing it with maven?

Mar.16,2021

first make sure that you put the JAR package in your local warehouse, and then take a look at where the warehouse location points in your maven settings.xml configuration.

Menu