WebSphere Application Server & Liberty

 View Only

Error "Resource reference with name 'jdbc/example' not found"

  • 1.  Error "Resource reference with name 'jdbc/example' not found"

    Posted 7 days ago
    I'm getting the error "Resource reference with name 'jdbc/example' not found" in ibm-web-bnd.xml
    -I checked org.eclipse.wst.common.project.facet.core.xml and the version <installed facet="jst.web" version="3.0"/>
    matches version in web.xml
    -I'm using <resource-ref> tag in web.xml and in ibm-web-bnd.xml
    -The name in ibm-web-bnd.xml: <resource-ref name="jdbc/example" binding-name="jdbc/exampleT"/>
    matches <res-ref-name>jdbc/example</res-ref-name> in web.xml
    -The binding-name in ibm-web-bnd.xml: <resource-ref name="jdbc/example" binding-name="jdbc/exampleT"/>
    matches jndiName in <dataSource> tag in server.xml
    What else could I check?

    ------------------------------
    Luize Casaretti
    ------------------------------