# Failed to apply config

**URL:** <https://community.bloomreach.com/t/failed-to-apply-config/231>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [July 27, 2018, 7:03pm UTC](https://community.bloomreach.com/t/failed-to-apply-config/231 "2018-07-27T19:03:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakesh](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rakesh](https://community.bloomreach.com/u/rakesh)\
**Post date:** [July 27, 2018, 7:03pm UTC](https://community.bloomreach.com/t/failed-to-apply-config/231/1 "2018-07-27T19:03:33Z")

</div>

Hi,

I updated one field from image picker to rich text in the document type from my local system. And I commited three files to which reflected update:

- repository-data/application/src/main/resources/hcm-config/namespaces/projectName/doctype.yaml
- site/src/main/java/com/hippo/library/beans/doctype.yaml
- repository-data/application/src/main/resources/hcm-config/namespaces/projectName.cnd

It is working fine on my local system but my application is failing with below error on the server

27.07.2018 18:47:31 ERROR localhost-startStop-1 [ConfigurationServiceImpl.applyConfig:604] Failed to apply config  
[INFO] [talledLocalContainer] javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {[http://www.onehippo.org/jcr/hippo/nt/2.0.4](http://www.onehippo.org/jcr/hippo/nt/2.0.4)}values  
[INFO] [talledLocalContainer] at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:782) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]  
[INFO] [talledLocalContainer] at org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:843) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]  
[INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemManager.getDefinition(ItemManager.java:255) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]  
[INFO] [talledLocalContainer] at org.apache.jackrabbit.core.NodeImpl.setPrimaryType(NodeImpl.java:3333) ~[jackrabbit-core-2.14.0-h2.jar:2.14.0-h2]

Any help would be much appreciated.

Thanks,  
RK

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [July 28, 2018, 10:22am UTC](https://community.bloomreach.com/t/failed-to-apply-config/231/2 "2018-07-28T10:22:46Z")

</div>

> [@rakesh](#):
>
> site/src/main/java/com/hippo/library/beans/doctype.yaml

that is wrong, how did this file ended up in your site source code?

---

<div class="post-metadata">

**Author:** ![rakesh](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rakesh](https://community.bloomreach.com/u/rakesh)\
**Post date:** [July 30, 2018, 2:01pm UTC](https://community.bloomreach.com/t/failed-to-apply-config/231/3 "2018-07-30T14:01:11Z")

</div>

That’s a typo. It should be doctype.java
