After importing the project dependency springboot no corresponding jar package

For example, recently encountered a problem, JDBC database connection, pom file has been dependent on the oracle, but still connected to a database error, there is no database-driven

View Path: file -> project structure -> modules, find the corresponding jar package with a red underline:

Error message is: com.oracle: ojdbc6: 11.2.0.2.0 has broken path

View to a local warehouse jar, discovered the problem, there is no warehouse jar package, you need to delete the path to re-download, or downloaded jar package placed in the appropriate path inside

 

Guess you like

Origin www.cnblogs.com/gxlaqj/p/11237793.html