Dispatcher initialization failed. java.lang.ClassNotFoundException: org.apache.struts2.views.gxp.inject.InjectedObjectContainer

会有一股神秘感。 提交于 2019-11-27 09:38:04

If you are not using GXP plugin, then remove it from classpath. The referenced class is org.apache.struts2.views.gxp.inject.InjectedObjectContainer absent in the distribution. But you could download it from the SVN repositories if required.

You must not use plugin libraries unless:

  1. They're actually needed; some change S2 behavior in fundamental ways.
  2. Their dependencies are satisfied; some plugins require additional libraries.
  3. Their version matches the S2 core libraries versions; mixing-and-matching versions may fail.

Using Maven or equivalent solves version and dependency issues.

Using only the plugins your app needs solves the others.

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