JBOSS AS 7.1 JBAS014775: New missing/unsatisfied dependencies:
<p>My application connects to a postgresql database, but when I start my jboss a </p>

<blockquote>
  <p>JBAS014775:    New missing/unsatisfied dependencies: </p>
  
  <p>service jboss.jdbc-driver.postgresql-9_4_1208_jre7_jar (missing)
  dependents: [service jboss.data-source.java:jboss/postgresDS]</p>
</blockquote>

<p>How do I fix this? and when I continue with my application despite the missing dependencies, I got a java.lang.ClassNotFoundException: org.postgresql.Driver exception</p>

<p>I have been searching for a solution for hours but I can't still fix the issue.</p>

<p>standalone.xml</p>

<pre><code>&lt;subsystem xmlns="urn:jboss:domain:datasources:1.0"&gt;
            &lt;datasources&gt;
                &lt;datasource jta="false" jndi-name="java:jboss/postgresDS" pool-name="postgresDS" enabled="true" use-ccm="false"&gt;
                    &lt;connection-url&gt;jdbc:postgresql://localhost:5432/testdb&lt;/connection-url&gt;
                    &lt;driver-class&gt;org.postgresql.Driver&lt;/driver-class&gt;
                    &lt;driver&gt;postgresql-9.4.1208.jre7.jar&lt;/driver&gt;
                    &lt;security&gt;
                        &lt;user-name&gt;postgres&lt;/user-name&gt;
                        &lt;password&gt;test&lt;/password&gt;
                    &lt;/security&gt;
                    &lt;validation&gt;
                        &lt;validate-on-match&gt;false&lt;/validate-on-match&gt;
                        &lt;background-validation&gt;false&lt;/background-validation&gt;
                        &lt;background-validation-millis&gt;0&lt;/background-validation-millis&gt;
                    &lt;/validation&gt;
                    &lt;statement&gt;
                        &lt;prepared-statement-cache-size&gt;0&lt;/prepared-statement-cache-size&gt;
                        &lt;share-prepared-statements&gt;false&lt;/share-prepared-statements&gt;
                    &lt;/statement&gt;
                &lt;/datasource&gt;
                &lt;drivers&gt;
                    &lt;driver name="postgresql-9.4.1208.jre7.jar" module="org.postgresql"&gt;
                        &lt;xa-datasource-class&gt;org.postgresql.xa.PGXADataSource&lt;/xa-datasource-class&gt;
                    &lt;/driver&gt;
                &lt;/drivers&gt;
            &lt;/datasources&gt;
        &lt;/subsystem&gt;
</code></pre>

<p>module/xml on my /jboss-as-7.1.0.Final/modules/org/postgresql/main</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;  
&lt;module xmlns="urn:jboss:module:1.0" xmlns="urn:jboss:domain:datasources:1.0" name="org.postgresql"&gt;  
&lt;resources&gt;  
    &lt;resource-root path="postgresql-9.4.1208.jre7.jar"/&gt;  
&lt;/resources&gt;  
&lt;dependencies&gt;  
    &lt;module name="javax.api"/&gt;  
    &lt;module name="javax.transaction.api"/&gt;  
&lt;/dependencies&gt;  
&lt;/module&gt; 
</code></pre>

<p>I'm using servlets, jsp and jdbc.</p>