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..!

Comments

Popular posts from this blog

Unable to create a server socket for listening on channel "Default[4]". The address 0:0:0:0:0:0:0:1 might be incorrect or another process is using port 8001: java.net.BindException: Address already in use: JVM_Bind.

[Deployer:149164]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.

Database Connection issues in Jdeveloper with MySQL Database