java.lang.ClassNotFoundException

tip

Check if the version of resteasy is using is the same JBoss is using. To find it out, search for resteasy-jaxrs* in JBoss/Wildfly directory and at your pom.xml.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,250 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [vfs:/C:/jboss-as-7.1.1.Final/bin/content/565.war/WEB-INF/classes/logback-test.xml] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,266 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@f94dad - URL [vfs:/C:/jboss-as-7.1.1.Final/bin/content/565.war/WEB-INF/classes/logback-test.xml] is not of type file 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,281 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,281 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.db.DBAppender] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,297 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [DB] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,297 |-ERROR in ch.qos.logback.core.db.DriverManagerConnectionSource@15ab821 - Could not load JDBC driver class: org.postgresql.Driver java.lang.ClassNotFoundException: org.postgresql.Driver from [Module "deployment.565.war:main" from Service Module Loader] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) at java.lang.ClassNotFoundException: org.postgresql.Driver from [Module "deployment.565.war:main" from Service Module Loader] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at java.lang.Class.forName0(Native Method)
    via by Mohamed M'HAREK,
  • Wildfly – Helmut's RAC / JEE Blog
    via by Unknown author,
  • admin | Helmut's RAC / JEE Blog | Page 3
    via by Unknown author,
  • 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,250 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [vfs:/C:/jboss-as-7.1.1.Final/bin/content/565.war/WEB-INF/classes/logback-test.xml] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,266 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@f94dad - URL [vfs:/C:/jboss-as-7.1.1.Final/bin/content/565.war/WEB-INF/classes/logback-test.xml] is not of type file 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,281 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,281 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.db.DBAppender] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,297 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [DB] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) 09:43:40,297 |-ERROR in ch.qos.logback.core.db.DriverManagerConnectionSource@15ab821 - Could not load JDBC driver class: org.postgresql.Driver java.lang.ClassNotFoundException: org.postgresql.Driver from [Module "deployment.565.war:main" from Service Module Loader] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) at java.lang.ClassNotFoundException: org.postgresql.Driver from [Module "deployment.565.war:main" from Service Module Loader] 09:43:40,484 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) 09:43:40,499 INFO [stdout] (http--127.0.0.1-8080-1) at at java.lang.Class.forName0(Native Method)
    via by Mohamed M'HAREK,
  • admin | Helmut's RAC / JEE Blog | Page 4
    via by Unknown author,
  • Agilefant and JBoss AS 7
    via Stack Overflow by Bala P
    ,
  • javatalks.ru / Jboss AS7 + Spring + WebService
    via by Unknown author,
  • CXF 2.x and Jboss AS 7.1.1
    via Stack Overflow by Mouhammed Soueidane
    ,
    • java.lang.ClassNotFoundException: org.postgresql.Driver from [Module "deployment.565.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) at java.lang.Class.forName0(Native Method)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Andreas Häber
    1 times, last one,
    81 more bugmates