|
| Hi All,
I have been using EMF 2.0.1 and recently migrated to EMF 2.2.1.
Our application is deployed and run on WebSphere (IBM WebSphere Application Server, 6.0.2.5). The issue is though my shared libry contains the ecore-2.2.1.jar file (org.eclipse.emf.ecore_2.2.1.v200609141116.jar) , it complains of misiing method as follows
;
"java.lang.NoSuchMethodError: org.eclipse.emf.ecore.EPackage$Registry: method getEFactory(Ljava/lang/StringLorg/eclipse/emf/ecore/EFactory; not found"
I found that with websphere installation there is emf.jar file in WAS_HOME\AppServer\lib folder which is a older emf.jar file that come with WebSphere. EPackage$Registry class this jar file the getEFactory method is missing. (getEFactory method is availab
le in ecore-2.2.1.jar file in my shared libry.).
So the issue my application uses older emf.jar in WAS_HOME\AppServer\lib to load EPackage$Registry class.
How can I get around this isuue?
I tried with "Parent Last" option without luck.
How can get prefernce to emf-2.2.1.jar in my sharedlib over emf.jar in WAS_HOME\AppServer\lib
Regards,
Nalaka
http://javatouch.googlepages.com
|
|