javax.naming.NameNotFoundException: Name [jdbc/mydb] is not bound in this Context
问题 I know this question has been asked several times. I found some links here and here as an example of what I found. But I try their solutions and my problem is not solved yet... So I copy what I have: A J2EE project in Eclipse. I built a new .war to install in an application server I created a Tomcat 7 Server in Eclipse and added my .war to it to deploy it locally So phisically in my project I have a .war project and the Servers project that auto-creates when you create a new Server in Eclipse