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 osdir.com by Unknown author, 1 year 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)
via mysql.com by Unknown author, 2 years ago
Cannot create resource instance at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory. java:189)
via osdir.com by Unknown author, 1 year ago
via sourceforge.net by Unknown author, 1 year ago
Cannot create resource instance at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory. java:189)
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)