Active 3 years, 10 months ago. Viewed 7k times. I downloaded oracle db Express Edition and am able to establish a connection to it with my sql developer Here is my application. OracleDriver spring. Oracle10gDialect spring. IllegalStateException: Cannot load driver class: oracle. Add a comment. Active Oldest Votes. Any chance you forget to tell gradle to use local maven repo? Sign up or log in Sign up using Google. Sign up using Facebook.
Make sure that you have ojdbc. If you want, you can also double check it by opening. IllegalStateException: Cannot load driver class: oracle. OracleDriver' error on I am new to spring and developing spring jdbc application. Find centralized, trusted content and collaborate around the technologies you use most.
Connect and share knowledge within a single location that is structured and easy to search. I wonder if any one could help me with this. When I ran the server, I got the message like I mentioned in the title. I have google it and someone said that you should import ojdbc. However, I have already imported it. Here comes my code:. Make sure that you have ojdbc. If you want, you can also double check it by opening.
If you don't have it, download it from the the maven repo as mentioned below:. Download the ojdbc jar from here. Just copy ojdbc6. If you are using Maven as your build tool, then add this below dependency. Make sure you have the correct version of ojdbcXX. For me, I have an Oracle 11g database, hence I am using ojdbc6.
Setting up maven local repository image. Step 3 Make sure your ojdbcXX. 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. OracleDriver] Ask Question. Asked 8 years, 5 months ago. Active 1 month ago.
0コメント