java.lang.NoClassDefFoundError:
org/apache/commons/cli/ParseException in SOA 11G
java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
at
oracle.integration.platform.blocks.deploy.servlet.client.ant.DeployCompositeTask.execute(DeployCompositeTask.java:95)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at
sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at
org.apache.tools.ant.Task.perform(Task.java:348)
at
org.apache.tools.ant.Target.execute(Target.java:392)
at
org.apache.tools.ant.Target.performTasks(Target.java:413)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at
org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at
org.apache.tools.ant.Main.runBuild(Main.java:811)
at
org.apache.tools.ant.Main.startAnt(Main.java:217)
at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.cli.ParseException
at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Solution:
"commons-cli-1.1.jar"
is missing from SOA Suite installation.
The library can be copied from another machine following this steps:
1.Copy from another machine the "commons-cli-1.1.jar" file. This can be found in another SOA install or with JDeveloper 11g.
2. Place it under your <MW_HOME>/oracle_common/soa/modules.
You can
download from the below link: Download
For more details, please see Ramsblog
No comments:
Post a Comment