Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Maven build issue for Oracle SOA 12.2.1

CH.ADITYAAug 18 2016 — edited Sep 2 2016

Hello All,

I'm trying to build the code built on top of SOA Suite v12.2.1 version using Maven v3.3.9. When I do that I'm getting below error, but when I try to build from Jdeveloper it is building fine. Can anyone please help me on this? I'm able to build other projects that are developed using the same version of SOA using Maven. This is the only project that is facing issues.

bash-3.2$ mvn clean package

[INFO] Scanning for projects...

[INFO]

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

[INFO] Building GENERIC_MAIL_RESPONSE_PROCESSOR 1.0

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

[WARNING] The POM for com.oracle.legacy_oc4j_xml_schemas:com.oracle.webservices.fmw.web-common-schemas-impl:jar:12.2.1-0-0 is missing, no dependency information available

[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ GENERIC_MAIL_RESPONSE_PROCESSOR ---

[INFO]

[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ GENERIC_MAIL_RESPONSE_PROCESSOR ---

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

[INFO] skip non existing resourceDirectory /apps/opt/scmfs/Devops/deploy_git/vsii_mw/Code/GENERIC_MAIL_RESPONSE_PROCESSOR/src/main/resources

[INFO]

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

[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:[/apps/opt/scmfs/Devops/jdk1.8.0_65/bin/java, -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler, oracle.soa.scac.ValidateComposite, /apps/opt/scmfs/Devops/deploy_git/vsii_mw/Code/GENERIC_MAIL_RESPONSE_PROCESSOR/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:[/apps/opt/scmfs/Devops/jdk1.8.0_65/bin/java, -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler, oracle.soa.scac.ValidateComposite, /apps/opt/scmfs/Devops/deploy_git/vsii_mw/Code/GENERIC_MAIL_RESPONSE_PROCESSOR/SOA//composite.xml, -level=1]] exit code=1

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

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

[exec] Aug 18, 2016 9:10:46 AM oracle.soa.scac.ValidateComposite loadWSDLs

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

[exec] Aug 18, 2016 9:10:46 AM oracle.fabric.common.wsdl.SchemaManager isIncrementalBuildSupported

[exec] INFO: XMLSchema incremental build enabled.

[exec] Aug 18, 2016 9:10:48 AM oracle.integration.platform.blocks.PlatformConfigurationProvider getPlatformConfigurationProvider

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

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:209: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:221: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:424: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:426: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:427: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:429: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:430: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:432: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:433: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:435: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:436: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:438: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:439: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:441: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:442: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:444: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:445: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:447: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:448: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:450: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:451: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:513: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:526: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:556: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:569: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:599: warning: Validator error on <bpel:to> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] BPEL/GEM_RESPONSE_PROCESSOR_BPEL.bpel:611: warning: Validator error on <bpel:from> while running rule "ScriptExpressionValidator.CheckExpressionSyntax.2" - exception "java.lang.ClassNotFoundException: org.mozilla.javascript.ErrorReporter" near (URLClassLoader.java:381).

[exec] /apps/opt/scmfs/Devops/deploy_git/vsii_mw/Code/GENERIC_MAIL_RESPONSE_PROCESSOR/SOA/SCA-INF/bpel/GEM_RESPONSE_PROCESSOR_BPEL/src/orabpel/gem_response_processor_bpel/ExecLetBxExe0.java:3: error: package oracle.xml.parser.v2 does not exist

[exec] /apps/opt/scmfs/Devops/deploy_git/vsii_mw/Code/GENERIC_MAIL_RESPONSE_PROCESSOR/SOA/SCA-INF/bpel/GEM_RESPONSE_PROCESSOR_BPEL/src/orabpel/gem_response_processor_bpel/ExecLetBxExe0.java:4: error: package com.collaxa.cube.engine.ext.bpel.v1.nodes does not exist

[exec] /apps/opt/scmfs/Devops/deploy_git/vsii_mw/Code/GENERIC_MAIL_RESPONSE_PROCESSOR/SOA/SCA-INF/bpel/GEM_RESPONSE_PROCESSOR_BPEL/src/orabpel/gem_response_processor_bpel/ExecLetBxExe0.java:6: error: package com.oracle.bpel.client does not exist

[exec] /apps/opt/scmfs/Devops/deploy_git/vsii_mw/Code/GENERIC_MAIL_RESPONSE_PROCESSOR/SOA/SCA-INF/bpel/GEM_RESPONSE_PROCESSOR_BPEL/src/orabpel/gem_response_processor_bpel/ExecLetBxExe0.java:294: error: cannot find symbol

[exec]   symbol:   method getVariableData(java.lang.String)

[exec]   location: class orabpel.gem_response_processor_bpel.ExecLetBxExe0

[exec] /apps/opt/scmfs/Devops/deploy_git/vsii_mw/Code/GENERIC_MAIL_RESPONSE_PROCESSOR/SOA/SCA-INF/bpel/GEM_RESPONSE_PROCESSOR_BPEL/src/orabpel/gem_response_processor_bpel/ExecLetBxExe0.java:315: error: cannot find symbol

[exec]   symbol:   method setVariableData(java.lang.String,java.lang.String)

[exec]   location: class orabpel.gem_response_processor_bpel.ExecLetBxExe0

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

[INFO] BUILD FAILURE

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

[INFO] Total time: 9.675 s

[INFO] Finished at: 2016-08-18T09:10:50-04:00

[INFO] Final Memory: 11M/236M

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

[ERROR] Failed to execute goal com.oracle.soa.plugin:oracle-soa-plugin:12.2.1-0-0:compile (default-compile) on project GENERIC_MAIL_RESPONSE_PROCESSOR: 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

This post has been answered by Srinivas Y on Aug 30 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2016
Added on Aug 18 2016
5 comments
2,386 views