Resolution of Exception in thread "main" java.lang.NoSuchMethodError, oracle.fabric.composite.model.CompositeModel.getFolder()Ljava/lang/String;
Tools: JDeveloper11.1.1.3.0, SOA Suite Enterprise Manager 11g (11.1.1.3.0)
When deploying SOA Composite from JDeveloper I was having error.
Exception in thread "main" java.lang.NoSuchMethodError: oracle.fabric.composite.model.CompositeModel.getFolder()Ljava/lang/String;
at oracle.soa.scac.ValidateComposite.loadComposite(ValidateComposite.java:881)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:567)
at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:156)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:141)
It is because; the ORACLE_HOME does not have the updated fabric-runtime.jar file
How to fix this issue, you need to copy the folder “oracle.soa.fabric_11.1.1” from your SOA installation to your ORACLE_HOME
Copy the folder “oracle.soa.fabric_11.1.1”, you will find this folder in your installation directory of SOA, in my case the folder location was C:\Oracle\Middleware1\Oracle_SOA1\soa\modules
Paste this folder to there, where you have your ORACLE_HOME, in my case I have pasted this folder to C:\Oracle\11gR1PS2\jdeveloper\soa\modules, while pasting you will be asked to replace the folder, so replace and copy it. Before doing this you need to close your JDeveloper.
Hope it will work
Cheer..!
When deploying SOA Composite from JDeveloper I was having error.
Exception in thread "main" java.lang.NoSuchMethodError: oracle.fabric.composite.model.CompositeModel.getFolder()Ljava/lang/String;
at oracle.soa.scac.ValidateComposite.loadComposite(ValidateComposite.java:881)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:567)
at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:156)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:141)
It is because; the ORACLE_HOME does not have the updated fabric-runtime.jar file
How to fix this issue, you need to copy the folder “oracle.soa.fabric_11.1.1” from your SOA installation to your ORACLE_HOME
Copy the folder “oracle.soa.fabric_11.1.1”, you will find this folder in your installation directory of SOA, in my case the folder location was C:\Oracle\Middleware1\Oracle_SOA1\soa\modules
Paste this folder to there, where you have your ORACLE_HOME, in my case I have pasted this folder to C:\Oracle\11gR1PS2\jdeveloper\soa\modules, while pasting you will be asked to replace the folder, so replace and copy it. Before doing this you need to close your JDeveloper.
Hope it will work
Cheer..!
Comments
Post a Comment