• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

ClassNotFoundException: org.postgresql.Driver

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 Hello!

 I have the following maven-dependency:



 Project-properties:



And try to use it by spring-xml-configuration:



SDK is 11.0.6.

I tried:
1. Rebuild project.

2. Invalidate Caches/Restart

3. Maven Clean/Install.  But Install failed by the reason of:

 
     Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project user_service: Fatal error compiling


Help me, please!!!  I almost a day battle with this problem


 
Andrey Dmitriev
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
  I'm still "anchored"....
 
Bartender
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It says "error in compiling", so the problem is with the Java code. Is there no stack trace, or an indication in which line of code the error happens?
 
reply
    Bookmark Topic Watch Topic
  • New Topic