Buildfile: C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml scac: [scac] Validating composite "C:\JDeveloper\mywork\ApplicationTest\Hello\composite.xml" BUILD FAILED C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml:236: Java returned: 1 Check log file : C:\JDeveloper\mywork\ApplicationTest\Hello\SCA-INF\classes\scac.log for errors Total time: 4 seconds
And within the scac.log file the following message was shown:
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)
After some evaluation, we identified that this error is caused by a version incompatibility of the lib C:\Oracle\Middleware\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar.
But what caused the error if I did a clean install of the jDeveloper?
The answer is: when I installed the jDeveloper, my machine permissions caused that some installation files stay locked (including fabric-runtime.jar). This way, when I installed the SOA Composer plugin, this file couldn't be updated to the new version, necessary to build and deploy SOA Composite applications.
SOLUTION: make sure you have the right permissions during installation. If you are facing this problem, check if the fabric-runtime.jar lib file is locked, change its access permission and try to reinstall the SOA Composer plugin .