|
|
此文章用于水滴信用项目能够在开发环境(本地)正常运行
|
|
|
<br />
|
|
|
请确保项目代码已经从git上check out下来,以及maven环境搭建成功
|
|
|
水滴项目,ucs_project下面分为3个模块,ucs_base(项目通用模块),ucs_develope(项目业务模块),ucs_site(web模块)
|
|
|
<br />
|
... | ... | @@ -8,10 +7,9 @@ |
|
|

|
|
|
<br />
|
|
|
找到 profiles标签,下面有两个profile,一个id为 release(生产环境),一个id为dev(开发环境)
|
|
|
将release中的activeByDefault设置为false
|
|
|

|
|
|
将dev中的activeByDefault设置为true
|
|
|
|
|
|
将release中的activeByDefault设置为false,将dev中的activeByDefault设置为true
|
|
|

|
|
|

|
|
|
2修改spring-solr-config.xml
|
|
|
在ucs_site项目的 src/main/resources目录下,打开spring-solr-config.xml
|
|
|
 |