java.lang.ClassNotFoundException: com.mysql.jdbc.Driver from {vfs:///C:/Users/alex/workspaceAnd/.metadata/.plugins/org.jboss.ide.eclipse.as.core/jboss-6.1.0.Final/deploy/StrutsHibernate.war}

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via viralpatel.net by Unknown author, 1 year ago
com.mysql.jdbc.Driver from {vfs:///C:/Users/alex/workspaceAnd/.metadata/.plugins/org.jboss.ide.eclipse.as.core/jboss-6.1.0.Final/deploy/StrutsHibernate.war}
via Coderanch by Tharindu Wijesuriya, 11 months ago
sun.reflect.GeneratedMethodAccessor1205 from BaseClassLoader@c7f55e2{VFSClassLoaderPolicy@7bdf6ed6{name=vfsfile:/C:/JBAS510GA/server/default/deploy/test.ear/ domain=ClassLoaderDomain@d34eb84{name=DefaultDomain parentPolicy=BEFORE parent
via jboss.org by Unknown author, 1 year ago
org.jboss.resource.deployers.RARDeployment from BaseClassLoader@219f32{VFSClassLoaderPolicy@15aa868{name=vfszip:/C:/Java/jboss-5.1.0.GA/server/default/deploy/rysys-cobol-connector-1.1.5.rar/ domain=ClassLoaderDomain@1f1cbf6{name=DefaultDomain
via Stack Overflow by radu
, 2 years ago
org.andromda.email.ServiceLocator from BaseClassLoader@1f8f190{vfs:///D:/licenta/jboss6/server/default/deploy/ email-1.0-SNAPSHOT.ear/email-web-1.0-SNAPSHOT.war/}
via Oracle Community by Bobby Ch, 4 months ago
atg.search.routing.LiveIndexingService from BaseClassLoader@52d058d1{vfsfile:/C:/jboss-eap-5.1/jboss-as/server/ATGPublishing/deploy/ATGPublishing.ear/} java.lang.ClassNotFoundException: atg.search.routing.LiveIndexingService from BaseClassLoader@52d058d1{vfsfile:/C:/jboss-eap-5.1/jboss-as/server/ATGPublishing/deploy/ATGPublishing.ear/}
via andromda.org by Unknown author, 2 years ago
org.apache.commons.codec.binary.Base64 from BaseClassLoader@91f756{VFSClassLoaderPolicy@105337f{name=vfszip:/C:/jboss-5.1.0/server/default/deploy/timetracker- rs.dao.salt, org.displaytag.properties, org.acegisecurity.userdetails, org.displaytag.exceptio org.acegisecurity.userdetails.jdbc] <IMPORT-ALL>NON_EMPTY}}
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver from {vfs:///C:/Users/alex/workspaceAnd/.metadata/.plugins/org.jboss.ide.eclipse.as.core/jboss-6.1.0.Final/deploy/StrutsHibernate.war}
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:123)
at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:84)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:448)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
at net.viralpatel.contact.util.HibernateUtil.buildSessionFactory(HibernateUtil.java:14)
at net.viralpatel.contact.util.HibernateUtil.(HibernateUtil.java:8)
at net.viralpatel.contact.view.ContactAction.(ContactAction.java:21)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.