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 grokbase.com by Unknown author, 2 years ago
Could not create resource factory instance [Root exception is java.lang.ClassCastException: oracle.jdbc.pool.OracleDataSource cannot be cast to javax.naming.spi.ObjectFactory] at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
via Google Groups by Petr Soudek, 9 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)
via nabble.com 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 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 grokbase.com by Unknown author, 1 year ago
Cannot create resource instance K> at org.apache.naming.NamingContext.lookup(NamingContext.java:837)
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)
javax.naming.NamingException: Could not create resource factory instance
[Root exception is java.lang.ClassCastException:
oracle.jdbc.pool.OracleDataSource cannot be cast to
javax.naming.spi.ObjectFactory]
at
org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:102)
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:153)	at TestServlet.doGet(TestServlet.java:37)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)