org.jboss.weld.exceptions.IllegalStateException: WELD-000227 after every change in code

蹲街弑〆低调 提交于 2019-12-03 10:44:57
Xavier Lambros

Disable beanIdentifierIndexOptimization in GlassFish as follows:

  1. Visit the admin console at http://localhost:4848 (or https://127.0.0.1:4848/).
  2. Click Configurations.
  3. Click server-config.
  4. Click System Properties.
  5. Click Add Property.
  6. Set Instance Variable Name to: org.jboss.weld.serialization.beanIdentifierIndexOptimization
  7. Set Default Value to: false
  8. Click Save.

This should help with passivation and resolve the following WELD bug:

WELD-000227: Bean identifier index inconsistency detected.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!