0
我們正在嘗試將seam2.2 + jboss4.2.3遷移到jboss7.1.1 + seam2.3,並且我們當前正面臨:JBoss7 + seam2.3 = java.lang.LinkageError:加載器約束違例:解析覆蓋方法
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
基於我在google上發現的文章,似乎我們正在加載2倍的jboss-seam jar。 1來自應用程序,1來自JBoss,但我不是100%確定。
任何想法是什麼原因造成的問題?
感謝,
czetsuya