Problem: The library referenced on the classpath of this
project can only be accessed at run time 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 Java EE Module Dependencies. Select the Web Libraries tab. Select the project from the list, and then click Finish to associate the project with the Web project.