java.lang.ClassNotFoundException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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.

  • Wildfly – Helmut's RAC / JEE Blog
    via by Unknown author,
  • admin | Helmut's RAC / JEE Blog | Page 3
    via by Unknown author,
  • admin | Helmut's RAC / JEE Blog | Page 4
    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,
  • 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,
    • java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver from [Module "deployment.WF_JdbcDriverTest.war:main" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) at java.lang.Class.forName0(Native Method)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Andreas HäberAndreas Häber
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    andyglickandyglick
    92 times, last one,
    CafecanudoCafecanudo
    3 times, last one,
    81 more bugmates