Try this
If you create the Dynamic Java Project(In Eclipse)
Check the your build path for respective project
Step 1. Right click on your Project and Select Properties
Step 2. On the right side you will get the Deployment Assembly
Step 3. Click On the add and select Archives from File system
Step 4. Click on the again add and select the your respective database jar files.