Problem: The library referenced on the classpath of this project can only be accessed at runtime if this project is part of a web application and the web application's weblogic.xml deployment descriptor references this library.
Resolution 1: Remove the library from the project classpath. For instructions on how to do this, see Removing a library reference from the project classpath.
Resolution 2: Create a new Dynamic Web project (or use an existing one). In the web project’s Properties (right-click the web project and select Properties) select the page labeled J2EE Module Dependencies. Switch to the Web Libraries tab. Locate the project in the list and place a checkmark next to it. Click Finish to associate the project with the web project.