Oracle jdbc driver pom.xml




















And why it is able to pick it up only from above location. Note: I came across this issue only while working with Hibernate. What is the message?

What is the dependency? Do you have access to maven repository? Does it have jdbc driver? Last but not least - are you using inbuilt Studio maven or external one installed on your computer? If you use different ones they may have different settings and so point to different repositories.

I do have access to maven dependency and was able to access rest of the jars except ojdbc. I am using external maven installed in my machine and my project points to my. That's totally different issue. This is not maven dependency. This is. No suitable driver found for jdbc:oracle:thin:. OracleDriver : Cannot load class 'oracle. OracleDriver': [ oracle. OracleDriver, Cannot load class 'oracle. OracleDriver': [ Class 'oracle.

OracleDriver, Class 'oracle. OracleDriver' not found in classloader for artifact 'container'. SQLException Within your pom. When I add the entry for ojdbc jar in pom.

I can't find any reason for the issue as groupId, artifactId and version are correct. You need to download it and install in your local repository. Get jar from Oracle and install it in your local maven repository using. If you are using ojdbc7, here is the link.

This is the quickest way to solve the problem but it's not recommended because its applicable only for your local system. Download the jar, comment your previous entry for ojdbc6 , and give a new local entry like so:.

Place ojdbc6. Download the oracle ojdbc driver from Oracle official website. Finally clean your project. You can't use version You have to put his in you pom. If you want to use another version, like I had the same issue.

Jenkins's build was falling because of this error.. It's due to the missing of ojdbc6. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Missing artifact com. Asked 7 years, 5 months ago.



0コメント

  • 1000 / 1000