3 Replies Latest reply on Mar 5, 2018 1:46 AM by 3565684

    Jdeveloper 12.2.1 compiling SOA composite using maven - java.lang.NoClassDefFoundError: javax/el/ELContext

    abhishek dabas-sofbang

      I thought I post this solution to community discussion so that anyone running into the same issue take benefit of my search and resolve this issue ASAP. Here is my user case and I resolve this issue.

       

      After installing Jdeveloper 12.2.1. I build a sample SOA composite application using maven. I configure local MDS and while compiling the application I start getting java.lang.NoClassDefFoundError: javax/el/ error.

       

      [exec] May 07, 2016 9:33:01 AM oracle.soa.scac.ValidateComposite loadWSDLs

      [exec] WARNING: Validating WSDLs from WSDLManager....  with option UseSoaInfraMds:false

      [exec] E:\testservice\TestServiceApp\TestProject/SOA//composite.xml: error: javax/el/ELContext

      [exec] javax/el/ELContext

      [exec] java.lang.NoClassDefFoundError: javax/el/ELContext

      [exec] at oracle.mds.internal.net.OraMDSURLConnection.getMDSSession(OraMDSURLConnection.java:159)

      [exec] at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:87)

      [exec] at java.net.URL.openStream(URL.java:1045)

      [exec] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStreamConnection(WSDLReaderImpl.java:677)

      [exec] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:465)

      [exec] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:404)

      [exec] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:1046)

      [exec] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:922)

      [exec] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:821)

      [exec] at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:789)

      [exec] at oracle.fabric.common.wsdl.SchemaBuilder.convDOMElemToWSDLDef(SchemaBuilder.java:1329)

      [exec] at oracle.fabric.common.wsdl.SchemaBuilder.loadEmbeddedSchemas(SchemaBuilder.java:500)

      [exec] at oracle.fabric.common.wsdl.SchemaBuilder.loadSchemasFromWSDL(SchemaBuilder.java:452)

      [exec] at oracle.fabric.common.wsdl.SchemaBuilder.loadAllSchemas(SchemaBuilder.java:249)

      [exec] at oracle.fabric.common.wsdl.SchemaManager.loadAllXSD(SchemaManager.java:414)

      [exec] at oracle.fabric.common.wsdl.SchemaManager.buildXDKSchema(SchemaManager.java:697)

      [exec] at oracle.fabric.common.wsdl.SchemaManager.lookupSchema(SchemaManager.java:548)

      [exec] at oracle.fabric.common.wsdl.SchemaManager.lookupXSDElementDeclaration(SchemaManager.java:873)

      [exec] at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:113)

      [exec] at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)

      [exec] at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:44)

      [exec] at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:1002)

      [exec] at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:589)

      [exec] at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:577)

      [exec] at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:228)

      [exec] at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:209)

      [exec] at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:201)

      [exec] Caused by: java.lang.ClassNotFoundException: javax.el.ELContext

      [exec] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

      [exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

      [exec] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

      [exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

      [exec] ... 27 more

       

      After some research I found that javax.el dependency needs to be added to resolve the issue.So add "javax.el-api" dependency in you Project Pom.xml under com.oracle.soa.plugin plugin like I added in my pom. After adding this dependency run mvn clean & mvn compile.

       

      <plugin>

        <groupId>com.oracle.soa.plugin</groupId>

        <artifactId>oracle-soa-plugin</artifactId>

        <version>12.2.1-0-0</version>

        <dependencies>

         <dependency>

        <groupId>javax.el</groupId>

        <artifactId>javax.el-api</artifactId>

        <version>3.0.0</version>

         </dependency>

        </dependencies>

      </plugin>

       

      Happy Development !!!

      Regards

        • 2. Re: Jdeveloper 12.2.1 compiling SOA composite using maven - java.lang.NoClassDefFoundError: javax/el/ELContext
          3565684

          Hi,

           

          I am facing same issue. But after adding mentioned entry in pom.xml I am still getting same error. Any suggestions please?

           

          <build>

              <plugins>

                <plugin>

                  <groupId>com.oracle.soa.plugin</groupId>

                  <artifactId>oracle-soa-plugin</artifactId>

                  <version>12.2.1-0-0</version>

                  <configuration>

                    <compositeName>${project.artifactId}</compositeName>

                    <composite>${scac.input}</composite>

                    <sarLocation>${scac.output.dir}/sca_${project.artifactId}_rev${version}.jar</sarLocation>

                    <serverUrl>${serverUrl}</serverUrl>

                    <user>${user}</user>

                    <password>${password}</password>

                    <!-- Note: compositeRevision is needed to package, revision is needed to undeploy -->

                    <compositeRevision>${composite.revision}</compositeRevision>

                    <revision>${composite.revision}</revision>

                    <scacInputDir>${scac.input.dir}</scacInputDir>

                    <input>${input}</input>

                  </configuration>

                  <!-- extensions=true is needed to use the custom sar packaging type -->

                  <extensions>true</extensions>

                  <dependencies>

                    <dependency>

                      <groupId>javax.el</groupId>

                      <artifactId>javax.el-api</artifactId>

                      <version>3.0.0</version>

                    </dependency>

                  </dependencies>

                </plugin>

           

          Thanks,

          Kumar.

          • 3. Re: Jdeveloper 12.2.1 compiling SOA composite using maven - java.lang.NoClassDefFoundError: javax/el/ELContext
            3565684

            I am having MDS reference inside composite and it says references not found when compiling.

             

            C:\JDeveloper\mywork\EGMApplication\COAAccountService\pom.xml compile -Denv.ORACLE_HOME=C:\Oracle\Middleware\Oracle_Home

            [WARNING]

            [WARNING] Some problems were encountered while building the effective settings

            [WARNING] 'profiles.profile.id' must be unique but found duplicate profile with id default @ C:\Users\srikamma\.m2\settings.xml

            [WARNING]

            [INFO] Scanning for projects...

            [WARNING] The POM for com.oracle.weblogic:com.bea.core.binxml_1.8.0.0:jar:12.2.1-3-0 is missing, no dependency information available

            [WARNING]

            [WARNING] Some problems were encountered while building the effective model for EGMApplication:COAAccountService:sar:1.0-SNAPSHOT

            [WARNING] 'parent.relativePath' points at EGMApplication:EGMApplication instead of com.oracle.soa:sar-common, please verify your project structure @ line 21, column 11

            [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.

            [WARNING]

            [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

            [WARNING]

            [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

            [WARNING]

            [INFO]                                                                        

            [INFO] ------------------------------------------------------------------------

            [INFO] Building COAAccountService 1.0-SNAPSHOT

            [INFO] ------------------------------------------------------------------------

            [WARNING] The POM for com.oracle.toplink:eclipselink:jar:12.2.1-3-0 is missing, no dependency information available

            [INFO]

            [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ COAAccountService ---

            [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!

            [INFO] skip non existing resourceDirectory C:\JDeveloper\mywork\EGMApplication\COAAccountService\src\main\resources

            [INFO]

            [INFO] --- oracle-soa-plugin:12.2.1-0-0:compile (default-compile) @ COAAccountService ---

            [INFO] ------------------------------------------------------------------------

            [INFO] ORACLE SOA MAVEN PLUGIN - COMPILE

            [INFO] ------------------------------------------------------------------------

            [INFO]

            [INFO] ABOUT TO RUN oracle.soa.scac.ValidateComposite...

            [INFO] The environment variable/property 'oracle.home' or 'soa.oracle.com is not set.

            [INFO] If you want to compile a composite with a component that depends

            on MDS - like a Human Task or Business Rule - AND you want to use a file

            based MDS repository, you will need to specify 'oracle.home' AND 'soa.oracle.com' OR update

            your .adf/META-INF/adf-config.xml to point to your file-based MDS.

            If you specify oracle.home it must point to the SOA Quickstart or

            JDeveloper install directory with '/soa' appended to it, unless you

            update the adf-config.xml to remove the reference to oracle.home.

            [INFO] compile: Executing: [cmd:[C:\Program Files\Java\jdk1.8.0_151\bin\java, -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler, oracle.soa.scac.ValidateComposite, C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml, -level=1]]

            [INFO] Process being executed, waiting for completion.

            [INFO] Process log is being buffered and will only be shown if there is an error executing the process.  If you want to see the logs as the process is run then pass -DshowProcessLog=true

            [INFO] compile: [cmd:[C:\Program Files\Java\jdk1.8.0_151\bin\java, -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler, oracle.soa.scac.ValidateComposite, C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml, -level=1]] exit code=1

            [INFO] processLog: -------------------------------------

            [INFO] [exec] soa.mds.consolidation is set to false

            [exec] Mar 04, 2018 8:42:03 PM oracle.adf.share.ADFContext getCurrent

            [exec] WARNING: Automatically initializing a DefaultContext for getCurrent.

            [exec] Caller should ensure that a DefaultContext is proper for this use.

            [exec] Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.

            [exec] This message may be avoided by performing initADFContext before using getCurrent().

            [exec] For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.

            [exec] Mar 04, 2018 8:42:03 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig

            [exec] INFO: Resource META-INF/adf-config.xml not found on the classpath.

            [exec] Mar 04, 2018 8:42:03 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig

            [exec] INFO: A default implementation of ADFConfig is being created for application. This can lead to unexpected results in some cases. Please add a basic META-INF/adf-config.xml to your classpath to avoid functional errors.

            [exec] 2018-03-04 20:42:04.525/2.681 Oracle Coherence 12.2.1.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/C:/Users/srikamma/.m2/repository/com/oracle/coherence/coherence/12.2.1-0-0/coherence-12.2.1-0-0.jar!/tangosol-coherence.xml"

            [exec] 2018-03-04 20:42:04.640/2.796 Oracle Coherence 12.2.1.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/C:/Users/srikamma/.m2/repository/com/oracle/coherence/coherence/12.2.1-0-0/coherence-12.2.1-0-0.jar!/tangosol-coherence-override-dev.xml"

            [exec] 2018-03-04 20:42:04.643/2.799 Oracle Coherence 12.2.1.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified

            [exec] 2018-03-04 20:42:04.648/2.804 Oracle Coherence 12.2.1.0.0 <D5> (thread=main, member=n/a): Optional configuration override "cache-factory-config.xml" is not specified

            [exec] 2018-03-04 20:42:04.650/2.807 Oracle Coherence 12.2.1.0.0 <D5> (thread=main, member=n/a): Optional configuration override "cache-factory-builder-config.xml" is not specified

            [exec] 2018-03-04 20:42:04.654/2.811 Oracle Coherence 12.2.1.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified

            [exec]

            [exec] Oracle Coherence Version 12.2.1.0.0 Build 60603

            [exec]  Grid Edition: Development mode

            [exec] Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

            [exec]

            [exec] 2018-03-04 20:42:04.759/2.916 Oracle Coherence GE 12.2.1.0.0 <Info> (thread=main, member=n/a): Loaded FMW commons version: 12.2.1-0-0-SNAPSHOT b60603

            [exec] 2018-03-04 20:42:04.768/2.924 Oracle Coherence GE 12.2.1.0.0 <Info> (thread=main, member=n/a): Created cache factory com.tangosol.net.DefaultConfigurableCacheFactory

            [exec] 2018-03-04 20:42:05.347/3.504 Oracle Coherence GE 12.2.1.0.0 <Info> (thread=main, member=n/a): The cluster name has not been configured, a value of "srikamma's cluster" has been automatically generated

            [exec] WARNING: Failed to load WSDL from oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl due to: Error in getting XML input stream: oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl does not exist.

            [exec] C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml:17: error: Load of wsdl "oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl" failed

            [exec] WARNING: Failed to load WSDL from WSDLs/WsMasterDataGL503Wrapper.wsdl due to: WSDLException: faultCode=INVALID_WSDL: Error reading import of file:/C:/JDeveloper/mywork/EGMApplication/COAAccountService/SOA/WSDLs/WsMasterDataGL503Wrapper.wsdl: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl", caused by: java.io.IOException.: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl does not exist.

            [exec] C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml:19: error: Load of wsdl "WSDLs/WsMasterDataGL503Wrapper.wsdl" failed

            [exec] WARNING: Validating WSDLs from WSDLManager....  with option UseSoaInfraMds:false

            [exec] WARNING: Schema load failed due to: Error loading schema from file:/C:/JDeveloper/mywork/EGMApplication/COAAccountService/SOA/WSDLs/COAAccountsBPELProcess.wsdl [Cause=Error in getting XML input stream: oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd does not exist.]

            [exec] oracle.fabric.common.wsdl.XSDException: Error loading schema from file:/C:/JDeveloper/mywork/EGMApplication/COAAccountService/SOA/WSDLs/COAAccountsBPELProcess.wsdl [Cause=Error in getting XML input stream: oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd does not exist.]

            [exec] at oracle.fabric.common.wsdl.SchemaBuilder.loadEmbeddedSchemas(SchemaBuilder.java:580)

            [exec] at oracle.fabric.common.wsdl.SchemaBuilder.loadSchemasFromWSDL(SchemaBuilder.java:452)

            [exec] at oracle.fabric.common.wsdl.SchemaBuilder.loadAllSchemas(SchemaBuilder.java:249)

            [exec] at oracle.fabric.common.wsdl.SchemaManager.loadAllXSD(SchemaManager.java:414)

            [exec] at oracle.fabric.common.wsdl.SchemaManager.buildXDKSchema(SchemaManager.java:697)

            [exec] at oracle.fabric.common.wsdl.SchemaManager.lookupSchema(SchemaManager.java:548)

            [exec] at oracle.fabric.common.wsdl.SchemaManager.lookupXSDElementDeclaration(SchemaManager.java:873)

            [exec] at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:113)

            [exec] at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)

            [exec] at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:44)

            [exec] at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:1002)

            [exec] at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:589)

            [exec] at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:577)

            [exec] at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:228)

            [exec] at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:209)

            [exec] at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:201)

            [exec] Caused by: oracle.fabric.common.FabricException: Error in getting XML input stream: oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd does not exist.

            [exec] at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:361)

            [exec] at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:836)

            [exec] at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStreamUsingUrlResolver(MetadataManagerImpl.java:217)

            [exec] at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStreamUsingCustomization(MDSMetadataManagerImpl.java:553)

            [exec] at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:535)

            [exec] at oracle.fabric.common.wsdl.SchemaBuilder.parseXMLSrc(SchemaBuilder.java:1112)

            [exec] at oracle.fabric.common.wsdl.SchemaBuilder.parseXSDSrc(SchemaBuilder.java:1062)

            [exec] at oracle.fabric.common.wsdl.SchemaBuilder.processSchemaImportsAndInclude(SchemaBuilder.java:915)

            [exec] at oracle.fabric.common.wsdl.SchemaBuilder.loadEmbeddedSchemas(SchemaBuilder.java:576)

            [exec] ... 15 more

            [exec] Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd does not exist.

            [exec] at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStreamWithRetry(AbstractOraMDSURLConnection.java:738)

            [exec] at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:295)

            [exec] at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:89)

            [exec] at java.net.URL.openStream(URL.java:1045)

            [exec] at oracle.fabric.common.metadata.MetadataManagerImpl.openStreamWithRetry(MetadataManagerImpl.java:373)

            [exec] at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:353)

            [exec] ... 23 more

            [exec] Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd does not exist.

            [exec] ... 29 more

            [exec] /C:/JDeveloper/mywork/EGMApplication/COAAccountService/SOA/WSDLs/COAAccountsBPELProcess.wsdl: error: Error in getting XML input stream: oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/Shared/xsd/COAAccounts.xsd does not exist.

            [exec] /C:/JDeveloper/mywork/EGMApplication/COAAccountService/SOA/WSDLs/COAAccountsBPELProcess.wsdl: error: Message part "payload" is undefined [element = ACCOUNT_CF_SYNC

            [exec] C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml:40: error: Cannot find Port Type "{http://soap.sforce.com/schemas/class/WsMasterDataGL503}WsMasterDataGL503PortType" for "GG_MasterDataAccount" in WSDL Manager

            [exec] WARNING: Failed to load WSDL from oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl due to: Error in getting XML input stream: oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl does not exist.

            [exec] C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml:40: warning: Failed to Find Binding "GG_MasterDataAccount":"{http://soap.sforce.com/schemas/class/WsMasterDataGL503}WsMasterDataGL503" in WSDL Manager

            [exec] C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml:40: warning: Failed to Find Binding "GG_MasterDataAccount":"{http://soap.sforce.com/schemas/class/WsMasterDataGL503}WsMasterDataGL503" in WSDL Manager

            [exec] C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml:28: error: Cannot find Port Type "{http://soap.sforce.com/schemas/class/WsMasterDataGL503}WsMasterDataGL503PortType" for "GG_MasterDataAccount" in WSDL Manager

            [exec] WARNING: Failed to load WSDL from oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl due to: Error in getting XML input stream: oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl does not exist.

            [exec] WARNING: JRF is unable to determine the current application server platform.

            [exec] BPEL/COAAccountsBPELProcess.bpel:32: error: Error in getting XML input stream: oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/apps/EGM/GovGrants/wsdl/WsMasterDataGL503.wsdl does not exist.

            [exec] BPEL/COAAccountsBPELProcess.bpel:34: warning: Cannot import type "http://schemas.xmlsoap.org/wsdl/" from location "../WSDLs/RuntimeFault.wsdl"

            [exec] BPEL/COAAccountsBPELProcess.bpel:36: warning: Cannot import type "http://www.w3.org/2001/XMLSchema" from location "../Schemas/LocalGGSessionHeader.xsd"

            [exec] BPEL/COAAccountsBPELProcess.bpel:37: warning: Cannot import type "http://schemas.xmlsoap.org/wsdl/" from location "../WSDLs/COAAccountsBPELProcess.wsdl"

            [exec] BPEL/COAAccountsBPELProcess.bpel:50: error: "partnerLinkType" is set to "client:COAAccountsBPELProcess" on this <bpel:partnerLink>  but it cannot be resolved (check value of "partnerLinkType", imports, WSDLs or XSDs).

            [exec] BPEL/COAAccountsBPELProcess.bpel:52: error: "partnerLinkType" is set to "ns2:GG_MasterDataAccount" on this <bpel:partnerLink>  but it cannot be resolved (check value of "partnerLinkType", imports, WSDLs or XSDs).

            [exec] BPEL/COAAccountsBPELProcess.bpel:63: error: "messageType" is set to "client:COAAccountsBPELProcessRequestMessage" on this <bpel:variable>  but it cannot be resolved (check value of "messageType", imports, WSDLs or XSDs).

            [exec] BPEL/COAAccountsBPELProcess.bpel:64: error: "element" is set to "ns3:SessionHeader" on this <bpel:variable>  but it cannot be resolved (check value of "element", imports, WSDLs or XSDs).

            [exec] BPEL/COAAccountsBPELProcess.bpel:65: error: "messageType" is set to "ns2:processMasterDataRequest" on this <bpel:variable>  but it cannot be resolved (check value of "messageType", imports, WSDLs or XSDs).

            [exec] BPEL/COAAccountsBPELProcess.bpel:66: error: "messageType" is set to "ns2:processMasterDataResponse" on this <bpel:variable>  but it cannot be resolved (check value of "messageType", imports, WSDLs or XSDs).

            [exec] BPEL/COAAccountsBPELProcess.bpel:79: warning: The activity <bpel:receive> refers to a bpel:partnerLink (via the attribute "partnerLink") - this bpel:partnerLink needs to be defined correctly.

            [exec] BPEL/COAAccountsBPELProcess.bpel:79: error: "portType" is set to "client:COAAccountsBPELProcess" on this <bpel:receive> activity but it cannot be resolved (check value of "portType", imports, WSDLs or XSDs).

            [exec] BPEL/COAAccountsBPELProcess.bpel:79: warning: The activity <bpel:receive> refers to a bpel:variable (via the attribute "variable") - this bpel:variable needs to be defined correctly.

            [exec] BPEL/COAAccountsBPELProcess.bpel:98: warning: The node <bpel:to> refers to a bpel:variable (via the attribute "variable") - this bpel:variable needs to be defined correctly.

            [exec] BPEL/COAAccountsBPELProcess.bpel:105: warning: The activity <bpel:invoke> refers to a bpel:partnerLink (via the attribute "partnerLink") - this bpel:partnerLink needs to be defined correctly.

            [exec] BPEL/COAAccountsBPELProcess.bpel:105: warning: The activity <bpel:invoke> refers to a bpel:variable (via the attribute "inputVariable") - this bpel:variable needs to be defined correctly.

            [exec] BPEL/COAAccountsBPELProcess.bpel:105: warning: The activity <bpel:invoke> refers to a bpel:variable (via the attribute "outputVariable") - this bpel:variable needs to be defined correctly.

            [exec] BPEL/COAAccountsBPELProcess.bpel:105: error: "portType" is set to "ns2:WsMasterDataGL503PortType" on this <bpel:invoke> activity but it cannot be resolved (check value of "portType", imports, WSDLs or XSDs).

            [exec] C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml:53: error: Cannot find Port Type "{http://soap.sforce.com/schemas/class/WsMasterDataGL503}WsMasterDataGL503PortType" for "COAAccountsBPELProcess" in WSDL Manager

            [exec] C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml:53: error: Cannot find Port Type "{http://soap.sforce.com/schemas/class/WsMasterDataGL503}WsMasterDataGL503PortType" for "GG_MasterDataAccount" in WSDL Manager

            [exec] C:\JDeveloper\mywork\EGMApplication\COAAccountService/SOA//composite.xml:53: warning: Schema validation failed with exception "null"

            [exec] Schema validation failed with exception "null"

            [exec] oracle.xml.parser.schema.XSDException

            [exec] at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:1127)

            [exec] at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:633)

            [exec] at oracle.soa.scac.ValidationFaultUtil.validateSourceWithSchema(ValidationFaultUtil.java:182)

            [exec] at oracle.soa.scac.ValidationFaultUtil.validateWithSchema(ValidationFaultUtil.java:241)

            [exec] at oracle.soa.scac.ValidationFaultUtil.validateWithSchema(ValidationFaultUtil.java:225)

            [exec] at oracle.soa.scac.ValidateComposite.validateFaultPolicy(ValidateComposite.java:1399)

            [exec] at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:604)

            [exec] at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:577)

            [exec] at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:228)

            [exec] at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:209)

            [exec] at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:201)

             

             

            [INFO] ------------------------------------------------------------------------

            [INFO] BUILD FAILURE

            [INFO] ------------------------------------------------------------------------

            [INFO] Total time: 12.286 s

            [INFO] Finished at: 2018-03-04T20:42:08-05:00

            [INFO] Final Memory: 9M/245M

            [INFO] ------------------------------------------------------------------------

            [ERROR] Failed to execute goal com.oracle.soa.plugin:oracle-soa-plugin:12.2.1-0-0:compile (default-compile) on project COAAccountService: SOA COMPILE FAILED with value: 1 -> [Help 1]

            [ERROR]

            [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

            [ERROR] Re-run Maven using the -X switch to enable full debug logging.

            [ERROR]

            [ERROR] For more information about the errors and possible solutions, please read the following articles:

            [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

            Process exited with exit code 1.

             

            Thanks,

            Kumar.