Download online or ask colleagues to pass two jars, ojdbc6-11.2 0.7. 0. Jar and jconn3 0.jar
Put in the same folder:
CMD in this folder is as follows: press enter to enter the CMD console.
Enter the following two commands:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=184.108.40.206 -Dpackaging=jar -Dfile=ojdbc6-220.127.116.11.jar mvn install:install-file -DgroupId=com.sybase -DartifactId=jconn -Dversion=3-6.0 -Dpackaging=jar -Dfile=jconn3-6.0.jar
Represents a successful addition. For build failure, please check whether the version number, groupid, file name, etc. in the statement are consistent with the actual situation, and then run it after modification.
Note: If you have installed multiple maven versions, please check which version the current maven_home address is. This command is to install the jar locally into our local maven warehouse. If the warehouse is wrong, it won’t work if you install it.
After installation, right-click the project and update project
Click OK, and then Maven install again. No error will be reported
- [Solved] Error reported when adding ojdbc6 to springboot
- [Solved] Missing artifact com. oracle:ojdbc6 : jar:18.104.22.168.0 Problem solving ojdbc package pom.xml error
- Missing artifact javax.transaction:jta:jar:1.0.1B Error [How to Solve]
- java.rmi.RemoteException: VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.
- springboot Cannot load driver class: oracle.jdbc.driver.OracleDriver
- Intellij Pack the jar file error: “java.lang.SecurityException: Invalid signature file digest for Manifest main attrib
- Maven:ArtifactdescriptorException: failed to read artifact for xxxxxx
- WebPack Task Runner
- IntelliJ IDEA: Clone failed runnerw.exe CreateProcess failed with error 2