Add localDataSource="true" to the realm when using local database.
Make sure you use the same name for your database everywhere in context.xml.
Try removing the server.xml file and adding it again to the project, and do a Clean Build.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.
- javax.naming.NameNotFoundException: WEB3885: Name java:comp is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811)