我们正在尝试将 seam2.2 + jboss4.2.3 迁移到 jboss7.1.1 + seam2.3,我们目前面临:
Caused by: java.lang.LinkageError: loader constraint violation:
when resolving overridden method
"org.jboss.seam.faces.DateConverter.getAsString
(Ljavax/faces/context/FacesContext;
Ljavax/faces/component/UIComponent;Ljava/lang/Object;)Ljava/lang/String;"
the class loader (instance of org/jboss/modules/ModuleClassLoader)
of the current class, org/jboss/seam/faces/DateConverter,
and its superclass loader (instance of org/jboss/modules/ModuleClassLoader),
have different Class objects for the type ext/FacesContext;
Ljavax/faces/component/UIComponent;
Ljava/lang/Object;)
Ljava/lang/String;
used in the signature
根据我在谷歌上找到的文章,我们似乎正在加载 2x jboss-seam jar。1 个来自应用程序,1 个来自 JBoss,但我不是 100% 确定。
知道是什么导致了问题吗?
谢谢,
czetsuya