Я пытаюсь развернуть свой локальный сервер weblogic, хотя я получаю сообщение об ошибке:
The resource-env-ref 'hibernate/PSessionFactory' declared in the standard descriptor or annotation has no JNDI name mapped to it. The resource-env-ref must be mapped to a JNDI name using the resource-env-description element of the weblogic proprietary descriptor or corresponding annotation.
В своем файле web.xml я определил resource-env-ref как:
<resource-env-ref>
<resource-env-ref-name>hibernate/PSessionFactory</resource-env-ref-name>
<resource-env-ref-type>org.hibernate.SessionFactory</resource-env-ref-type>
</resource-env-ref>
Куда мне добавить описание ресурса-env?