# Error: org.postgresql.Driver not loaded. Any specific solution for this?

**URL:** <https://discuss.elastic.co/t/error-org-postgresql-driver-not-loaded-any-specific-solution-for-this/172308>\
**Category:** Logstash\
**Created:** [March 14, 2019, 10:31am UTC](https://discuss.elastic.co/t/error-org-postgresql-driver-not-loaded-any-specific-solution-for-this/172308 "2019-03-14T10:31:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danyal\_Tarik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danyal_tarik/32/41854_2.png) [@Danyal\_Tarik](https://discuss.elastic.co/u/Danyal_Tarik)\
**Post date:** [March 14, 2019, 10:31am UTC](https://discuss.elastic.co/t/error-org-postgresql-driver-not-loaded-any-specific-solution-for-this/172308/1 "2019-03-14T10:31:24Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/0/f/0fbf0e12405a0310de7bbd63721a59a3a2b092fd.png)  
This error occurs, when I run the command logstash -f file.conf:  
input {  
jdbc {  
jdbc\_connection\_string =\> 'jdbc:postgresql://localhost:5432/postgres'  
jdbc\_user =\> 'postgres'  
jdbc\_validate\_connection =\> true  
jdbc\_driver\_library =\> 'D:\Softwares\ES\logstash-6.6.1\postgresql-42.2.5'  
jdbc\_driver\_class =\> 'org.postgresql.Driver'  
statement =\> "SELECT \* from EMP"  
}  
}  
output {  
elasticsearch {  
hosts =\> ["[http://localhost:9200](http://localhost:9200)"]  
index =\> 'employees'  
document\_type =\> 'employee'  
#document\_id =\> "%{uid}"  
}  
stdout {  
codec =\> rubydebug  
}  
}

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 14, 2019, 12:42pm UTC](https://discuss.elastic.co/t/error-org-postgresql-driver-not-loaded-any-specific-solution-for-this/172308/2 "2019-03-14T12:42:50Z")

</div>

Does changing \ to / in jdbc\_driver\_library help?

---

<div class="post-metadata">

**Author:** ![Danyal\_Tarik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danyal_tarik/32/41854_2.png) [@Danyal\_Tarik](https://discuss.elastic.co/u/Danyal_Tarik)\
**Post date:** [March 14, 2019, 12:50pm UTC](https://discuss.elastic.co/t/error-org-postgresql-driver-not-loaded-any-specific-solution-for-this/172308/3 "2019-03-14T12:50:15Z")

</div>

NO ☹

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 11, 2019, 12:50pm UTC](https://discuss.elastic.co/t/error-org-postgresql-driver-not-loaded-any-specific-solution-for-this/172308/4 "2019-04-11T12:50:20Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
