javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

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

,
via Stack Overflow by dereck

Add localDataSource="true" to the realm when using local database.

,
via Stack Overflow by john

Make sure you use the same name for your database everywhere in context.xml.

Solutions on the web

via Stack Overflow by Suhail Gupta
, 2 years ago
via spring.io by Unknown author, 1 year ago
via Coderanch by Shishir malviya, 1 year ago
Name sewaDS is not bound in this Context
via Coderanch by Shishir malviya, 11 months ago
Name sewaDS is not bound in this Context
via codedmi.com by Unknown author, 2 years ago
via codeotel.com by Unknown author, 2 years ago
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:803)
at org.apache.naming.NamingContext.lookup(NamingContext.java:159)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:158)
at javax.naming.InitialContext.lookup(InitialContext.java:392)

Users with the same issue

2 times, 2 months ago
6 times, 6 months ago
Once, 10 months ago
Once, 11 months ago
2 times, 1 year ago

Write tip

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