javax.naming.NamingException: Cannot create resource instance

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 Oracle Community by 843835, 1 year ago
Cannot create resource instance
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)
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)
javax.naming.NamingException: Cannot create resource instance
at org.apache.naming.NamingContext.lookup(NamingContext.java:837)
at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at foo.DBTest.init(DBTest.java:25)
at org.apache.jsp.test$jsp._jspService(test$jsp.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

Users with the same issue

Once, 1 month ago
9 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 6 months ago
4 times, 1 year ago

Write tip

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