javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory] at org.apache.naming.factory.ResourceFactory.getObjectInstance( ResourceFactory.java:118) at javax.naming.spi.NamingManager.getObjectInstance( NamingManager.java:304)

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

Solutions on the web

via apache.org by Unknown author, 1 year ago
Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory] at org.apache.naming.factory.ResourceFactory.getObjectInstance( ResourceFactory.java:118) at javax.naming.spi.NamingManager.getObjectInstance( NamingManager.java:304)
via tomcat-users by David Smith, 1 year ago
Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory] at org.apache.naming.factory.ResourceFactory.getObjectInstance( ResourceFactory.java:118) at javax.naming.spi.NamingManager.getObjectInstance( NamingManager.java:304)
via apache.org by Unknown author, 2 years ago
Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory] at org.apache.naming.factory.ResourceFactory.getObjectInstance( ResourceFactory.java:118) at javax.naming.spi.NamingManager.getObjectInstance( NamingManager.java:304)
via nabble.com by Unknown author, 1 year ago
Cannot create resource instance at > > org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:143) at > > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
via apache.org by Unknown author, 2 years ago
Cannot create resource instance at > > org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:143) at > > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
via Google Groups by Petr Soudek, 4 months ago
Cannot create resource instance > > at > > org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory. > > java:167) > > at > > javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:299)
javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory] at org.apache.naming.factory.ResourceFactory.getObjectInstance( ResourceFactory.java:118) at javax.naming.spi.NamingManager.getObjectInstance( NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)

Users with the same issue

Once, 1 month ago
9 times, 5 days ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 6 months ago
4 times, 1 year ago
1 more bugmates

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