The following are the steps and issues when installing Joget Workflow Enterprise Edition v5 on other Java EE application servers. Please do contribute to this article with your experiences. |
GlassFish 运行了一个老版本的 Apache Felix OSGI 容器, 所以有一个 class 加载冲突.
java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.felix.framework.wiring.BundleCapabilityImpl.getResource()Lorg/osgi/resource/Resource;" the class loader (instance of org/glassfish/web/loader/WebappClassLoader) of the current class, org/apache/felix/framework/wiring/BundleCapabilityImpl, and the class loader (instance of java/net/URLClassLoader) for interface org/osgi/resource/Capability have different Class objects for the type tyImpl.getResource()Lorg/osgi/resource/Resource; used in the signature |
要解决这个问题,我们需要将 Apache Felix 类库降级.