Commit 2a3ee468 authored by zihao21's avatar zihao21

Updates 后端开发/deployment.md

Auto commit by GitBook Editor
parent f3b13c7c
...@@ -61,16 +61,17 @@ db.jndiName=hap_dev ...@@ -61,16 +61,17 @@ db.jndiName=hap_dev
### 2. 新增 weblogic.xml ### 2. 新增 weblogic.xml
在 WEB-INF 目录下新增 weblogic.xml 在 WEB-INF 目录下新增 weblogic.xml
```xml
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app> <weblogic-web-app>
<container-descriptor> <container-descriptor>
<!--<prefer-web-inf-classes>true</prefer-web-inf-classes>-->
<prefer-application-packages> <prefer-application-packages>
<package-name>org.springframework.*</package-name> <package-name>org.springframework.*</package-name>
<package-name>org.hibernate.*</package-name> <package-name>org.hibernate.*</package-name>
<package-name>javax.validation.*</package-name> <package-name>javax.validation.*</package-name>
<package-name>javax.validation.spi.*</package-name> <package-name>javax.validation.spi.*</package-name>
<package-name>org.slf4j.*</package-name> <package-name>org.slf4j.*</package-name>
<package-name>com.fasterxml.*</package-name>
</prefer-application-packages> </prefer-application-packages>
<show-archived-real-path-enabled>true</show-archived-real-path-enabled> <show-archived-real-path-enabled>true</show-archived-real-path-enabled>
</container-descriptor> </container-descriptor>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment