Hi Sinthuja, I tried to update and build "platform/4.0.0/service-stubs/org.wso2.carbon.analytics.hive.stub/4.0.1". But build time it gives following error and because of that I'm still getting the previous build failure.
[INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @ org.wso2.carbon.analytics.hive.stub --- [INFO] Executing tasks [java] Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/WSDLException [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) [java] Caused by: java.lang.ClassNotFoundException: javax.wsdl.WSDLException [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [java] ... 2 more [java] Java Result: 1 [java] Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/WSDLException [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) [java] Caused by: java.lang.ClassNotFoundException: javax.wsdl.WSDLException [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [java] ... 2 more [java] Java Result: 1 [INFO] Executed tasks On Thu, Aug 23, 2012 at 4:21 PM, Sinthuja Ragendran <sinth...@wso2.com>wrote: > Hi, > > updated the analytics and toolbox stub. > > > On Thu, Aug 23, 2012 at 3:51 PM, Ranga Siriwardena <ra...@wso2.com> wrote: > >> Hi, >> >> Now I'm getting following error. I think this is the same reason as >> Pradeep explains. >> Please let me know If I missed anything. >> > > Can you please take up in analytics stub and build? > > Thanks, > Sinthuja. > > >> >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile >> (default-compile) on project org.wso2.carbon.analytics.hive.ui: Compilation >> failure: Compilation failure: >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/servlet/SaveScriptProcessor.java:[25,42] >> package org.wso2.carbon.analytics.hive.stub does not exist >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[27,42] >> package org.wso2.carbon.analytics.hive.stub does not exist >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[28,42] >> package org.wso2.carbon.analytics.hive.stub does not exist >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[29,67] >> package org.wso2.carbon.analytics.hive.stub.HiveExecutionServiceStub does >> not exist >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[37,12] >> cannot find symbol >> [ERROR] symbol : class HiveExecutionServiceStub >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveExecutionClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[64,11] >> cannot find symbol >> [ERROR] symbol : class QueryResult >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveExecutionClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[64,78] >> cannot find symbol >> [ERROR] symbol : class HiveExecutionServiceHiveExecutionException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveExecutionClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/servlet/ScriptNameChecker.java:[23,42] >> package org.wso2.carbon.analytics.hive.stub does not exist >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveScriptStoreClient.java:[25,42] >> package org.wso2.carbon.analytics.hive.stub does not exist >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveScriptStoreClient.java:[26,42] >> package org.wso2.carbon.analytics.hive.stub does not exist >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveScriptStoreClient.java:[34,12] >> cannot find symbol >> [ERROR] symbol : class HiveScriptStoreServiceStub >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveScriptStoreClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveScriptStoreClient.java:[47,81] >> cannot find symbol >> [ERROR] symbol : class HiveScriptStoreServiceHiveScriptStoreException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveScriptStoreClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveScriptStoreClient.java:[51,47] >> cannot find symbol >> [ERROR] symbol : class HiveScriptStoreServiceHiveScriptStoreException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveScriptStoreClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveScriptStoreClient.java:[55,54] >> cannot find symbol >> [ERROR] symbol : class HiveScriptStoreServiceHiveScriptStoreException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveScriptStoreClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveScriptStoreClient.java:[59,55] >> cannot find symbol >> [ERROR] symbol : class HiveScriptStoreServiceHiveScriptStoreException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveScriptStoreClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveScriptStoreClient.java:[63,62] >> cannot find symbol >> [ERROR] symbol : class HiveScriptStoreServiceHiveScriptStoreException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveScriptStoreClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/servlet/SaveScriptProcessor.java:[68,21] >> cannot find symbol >> [ERROR] symbol : class HiveScriptStoreServiceHiveScriptStoreException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.servlet.SaveScriptProcessor >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[43,19] >> cannot find symbol >> [ERROR] symbol : class HiveExecutionServiceStub >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveExecutionClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[66,12] >> cannot find symbol >> [ERROR] symbol : class QueryResult >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveExecutionClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[71,17] >> cannot find symbol >> [ERROR] symbol : class HiveExecutionServiceHiveExecutionException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveExecutionClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveExecutionClient.java:[73,22] >> cannot find symbol >> [ERROR] symbol : class HiveExecutionServiceHiveExecutionException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveExecutionClient >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/servlet/ScriptNameChecker.java:[70,17] >> cannot find symbol >> [ERROR] symbol : class HiveScriptStoreServiceHiveScriptStoreException >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.servlet.ScriptNameChecker >> [ERROR] >> /home/ranga/carbon/branch400/platform/4.0.0/components/analytics/org.wso2.carbon.analytics.hive.ui/4.0.1/src/main/java/org/wso2/carbon/analytics/hive/ui/client/HiveScriptStoreClient.java:[40,19] >> cannot find symbol >> [ERROR] symbol : class HiveScriptStoreServiceStub >> [ERROR] location: class >> org.wso2.carbon.analytics.hive.ui.client.HiveScriptStoreClient >> [ERROR] -> [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/MojoFailureException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :org.wso2.carbon.analytics.hive.ui >> >> >> On Wed, Aug 22, 2012 at 8:22 PM, Suhothayan Sriskandarajah <s...@wso2.com >> > wrote: >> >>> updated the cep stud >>> >>> >>> On Wed, Aug 22, 2012 at 6:56 PM, Kishanthan Thangarajah < >>> kishant...@wso2.com> wrote: >>> >>>> updated webapp mgt stub. >>>> >>>> >>>> On Wed, Aug 22, 2012 at 6:40 PM, Miyuru Wanninayaka <miy...@wso2.com>wrote: >>>> >>>>> >>>>> Fixed rest-api and mediation-libs >>>>> >>>>> On Wed, Aug 22, 2012 at 5:21 PM, Pradeep Fernando <prad...@wso2.com>wrote: >>>>> >>>>>> hi, >>>>>> >>>>>> the root cause of this error: >>>>>> >>>>>> >>>>>> People have copy-pasted the stub generation pom files. However the >>>>>> axis2-client / axiom / axis2 dependencies still refers to old versions. >>>>>> However, those will not get downloaded in to your local repo, until you >>>>>> refer them as a dependency. >>>>>> >>>>>> hence build failure (Only in a clean repo). Please update all the new >>>>>> stub generation pom files with new versions. >>>>>> >>>>>> >>>>>> here is the list of stub jars. >>>>>> >>>>>> <module>../../../service-stubs/org.wso2.carbon.rest. >>>>>> api.stub/4.0.1</module> >>>>>> <module>../../../service-stubs/org.wso2.carbon. >>>>>> mediation.library.stub/4.0.1</module> >>>>>> >>>>>> >>>>>> <module>../../../service-stubs/org.wso2.carbon.analytics.hive.stub/4.0.1</module> >>>>>> >>>>>> >>>>>> <module>../../../service-stubs/org.wso2.carbon.bam.toolbox.deployer.stub/4.0.1</module> >>>>>> >>>>>> >>>>>> <module>../../../service-stubs/org.wso2.carbon.webapp.mgt.stub/4.0.1</module> >>>>>> >>>>>> >>>>>> <module>../../../service-stubs/org.wso2.carbon.identity.sso.saml.stub/4.0.1</module> >>>>>> >>>>>> >>>>>> <module>../../../service-stubs/org.wso2.carbon.cloud.gateway.stub/4.0.1</module> >>>>>> >>>>>> <module>../../../service-stubs/org.wso2.carbon.cloud.gateway.agent.stub/4.0.1</module> >>>>>> <module>../../../service-stubs/org.wso2.carbon.cep.stub/4.0.1</module> >>>>>> >>>>>> >>>>>> >>>>>> @Maheshika : are we building the packs with a clean repo, if so, why >>>>>> the bamboo builder does not encounter these issues. It is really >>>>>> important >>>>>> to build the patch-releases with a clean repo in each and every build. >>>>>> >>>>>> >>>>>> thanks, >>>>>> --Pradeep >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Thanks, >>>>> Miyuru >>>>> >>>> >>>> >>>> >>>> -- >>>> *Kishanthan Thangarajah* >>>> Software Engineer, >>>> Development Technologies Team, >>>> WSO2, Inc. >>>> lean.enterprise.middleware >>>> >>>> Mobile - +94773426635 >>>> Blog - *http://kishanthan.wordpress.com* >>>> Twitter - *http://twitter.com/kishanthan* >>>> >>>> >>> >>> >>> -- >>> *S. Suhothayan >>> * >>> Software Engineer, >>> Data Technologies Team, >>> *WSO2, Inc. **http://wso2.com >>> <http://wso2.com/>* >>> *lean.enterprise.middleware.* >>> >>> *email: **s...@wso2.com* <s...@wso2.com>* cell: (+94) 779 756 757 >>> blog: **http://suhothayan.blogspot.com/*<http://suhothayan.blogspot.com/> >>> * >>> twitter: **http://twitter.com/suhothayan*<http://twitter.com/suhothayan> >>> * >>> linked-in: **http://lk.linkedin.com/in/suhothayan* >>> * >>> * >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> Thank You. >> Ranga. >> -- >> Ranga Siriwardena >> Software Engineer >> WSO2 Inc. >> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > Thank You. Ranga. -- Ranga Siriwardena Software Engineer WSO2 Inc.
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev