Thanks Kawai, I had applied your patch, Build is success now. Thanks Rajesh Battala
> -----Original Message----- > From: KAWAI Hiroaki [mailto:ka...@stratosphere.co.jp] > Sent: Wednesday, March 6, 2013 11:38 AM > To: cloudstack-dev@incubator.apache.org > Subject: Re: Building latest master is failing while compiling VMware > > Hi, FYI, I wrote a patch. please see https://reviews.apache.org/r/9768/ > > (2013/03/06 14:09), Chiradeep Vittal wrote: > > For now, there's 2 ways of getting past this: > > A. Switch to JDK 6 > > B. Comment out the code > > > > I discussed this with Min and she's looking for a solution. My > > understanding is that it works for JDK6. If she cannot find a > > workaround quickly she will comment it out herself. > > > > > > On 3/5/13 9:02 PM, "Rajesh Battala" <rajesh.batt...@citrix.com> wrote: > > > >> Hi, > >> Am not able to build the latest master. How to resolve this vmware error. > >> > >> [INFO] Building Apache CloudStack VMware Base 4.2.0-SNAPSHOT [INFO] > >> --------------------------------------------------------------------- > >> --- > >> [INFO] > >> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ > >> cloud-vmware-base --- [INFO] Deleting > >> /home/rajesh/hc_fzf/vmware-base/target > >> [INFO] > >> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ > >> cloud-vmware-base --- [INFO] [INFO] --- > >> maven-resources-plugin:2.5:resources (default-resources) @ > >> cloud-vmware-base --- [debug] execute contextualize [INFO] Using > >> 'UTF-8' encoding to copy filtered resources. > >> [INFO] skip non existing resourceDirectory > >> /home/rajesh/hc_fzf/vmware-base/src/main/resources > >> [INFO] Copying 3 resources > >> [INFO] > >> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ > >> cloud-vmware-base --- [INFO] Compiling 37 source files to > >> /home/rajesh/hc_fzf/vmware-base/target/classes > >> [INFO] ------------------------------------------------------------- > >> [ERROR] COMPILATION ERROR : > >> [INFO] ------------------------------------------------------------- > >> [ERROR] > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[41,52] error: cannot find symbol > >> [ERROR] symbol: class CookieJar > >> location: package com.sun.xml.internal.ws.transport.http.client > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[578,9] error: cannot find symbol > >> [ERROR] symbol: class CookieJar > >> location: class VmwareContext > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[384,2] error: cannot find symbol > >> [ERROR] symbol: class CookieJar > >> location: class VmwareContext > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[540,2] error: cannot find symbol > >> [ERROR] symbol: class CookieJar > >> location: class VmwareContext > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[581,16] error: cannot find symbol [INFO] 5 > >> errors [INFO] > >> ------------------------------------------------------------- > >> [INFO] > >> --------------------------------------------------------------------- > >> --- > >> [INFO] Reactor Summary: > >> [INFO] > >> [INFO] Apache CloudStack ................................. SUCCESS > >> [3.279s] [INFO] Apache CloudStack Utils ........................... > >> SUCCESS [7.448s] [INFO] Apache CloudStack API > >> ............................. SUCCESS [7.981s] [INFO] Apache > >> CloudStack Framework ....................... SUCCESS [0.323s] [INFO] > >> cloud-framework-api ............................... SUCCESS [1.539s] > >> [INFO] Apache CloudStack Framework - REST ................ SUCCESS > >> [2.464s] [INFO] Apache CloudStack Cloud Engine .................... > >> SUCCESS [0.083s] [INFO] Apache CloudStack Cloud Engine API > >> ................ SUCCESS [2.696s] [INFO] Apache CloudStack Core > >> ............................ SUCCESS [4.667s] [INFO] Apache > >> CloudStack Agents .......................... SUCCESS [5.270s] [INFO] > >> Apache CloudStack Framework - Event Notification .. SUCCESS [2.225s] > >> [INFO] Apache CloudStack Server .......................... SUCCESS > >> [17.197s] [INFO] Apache CloudStack Usage Server .................... > >> SUCCESS [4.196s] [INFO] Apache XenSource XAPI > >> ............................. SUCCESS [3.604s] [INFO] Apache > >> CloudStack Framework - IPC ................. SUCCESS [3.726s] [INFO] > >> Apache CloudStack Cloud Engine Internal Components API SUCCESS > >> [1.546s] [INFO] Apache CloudStack Cloud Engine Compute Component .. > >> SUCCESS [1.407s] [INFO] Apache CloudStack Cloud Engine Orchestration > >> Component SUCCESS [3.915s] [INFO] Apache CloudStack Engine Storage > >> Component ........ SUCCESS [2.474s] [INFO] Apache CloudStack Engine > >> Storage Volume Component . SUCCESS [3.154s] [INFO] Apache CloudStack > >> Engine Storage Image Component .. SUCCESS [1.794s] [INFO] Apache > >> CloudStack Engine Storage Image Motion Component SUCCESS [1.640s] > >> [INFO] Apache CloudStack Engine Storage Backup Component . SUCCESS > >> [1.430s] [INFO] Apache CloudStack Engine Storage Snapshot Component > >> SUCCESS [2.633s] [INFO] Apache CloudStack Plugin POM > >> ...................... SUCCESS [0.487s] [INFO] Apache CloudStack > >> Plugin - Open vSwitch ........... SUCCESS [1.845s] [INFO] Apache > >> CloudStack Plugin - Hypervisor Xen ......... SUCCESS [3.540s] [INFO] > >> Apache CloudStack Engine Storage integration test Component SUCCESS > >> [2.454s] [INFO] Apache CloudStack Cloud Engine Schema Component ... > >> SUCCESS [0.680s] [INFO] Apache CloudStack Cloud Engine API > >> ................ SUCCESS [1.281s] [INFO] Apache CloudStack Cloud > >> Engine Service ............ SUCCESS [8.276s] [INFO] Apache CloudStack > >> Plugin - API Rate Limit ......... SUCCESS [3.266s] [INFO] Apache > >> CloudStack Plugin - API Discovery .......... SUCCESS [2.791s] [INFO] > >> Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [1.617s] > >> [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment > >> Planner SUCCESS [1.483s] [INFO] Apache CloudStack Plugin - User > >> Dispersing Deployment Planner SUCCESS [1.563s] [INFO] Apache > >> CloudStack Plugin - Host Allocator Random .. SUCCESS [1.553s] [INFO] > >> Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [2.357s] > >> [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS > >> [4.088s] [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... > >> SUCCESS [1.656s] [INFO] Apache CloudStack Plugin - Hypervisor > >> Simulator ... SUCCESS [2.407s] [INFO] Apache CloudStack Plugin - > >> Hypervisor Baremetal ... SUCCESS [2.646s] [INFO] Apache CloudStack > >> Plugin - Hypervisor UCS ......... SUCCESS [2.159s] [INFO] Apache > >> CloudStack Plugin - Network Elastic Load Balancer SUCCESS [1.791s] > >> [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS > >> [3.697s] [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network > >> Segment SUCCESS [2.972s] [INFO] Apache CloudStack Plugin - Storage > >> Allocator Random SUCCESS [1.401s] [INFO] Apache CloudStack Plugin - > >> User Authenticator LDAP SUCCESS [1.455s] [INFO] Apache CloudStack > >> Plugin - User Authenticator MD5 . SUCCESS [1.387s] [INFO] Apache > >> CloudStack Plugin - User Authenticator Plain Text SUCCESS [1.411s] > >> [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted > >> SUCCESS [2.281s] [INFO] Apache CloudStack Plugin - Dns Notifier > >> Example ... SUCCESS [1.423s] [INFO] Apache CloudStack Plugin - > >> Storage Image S3 ....... SUCCESS [0.456s] [INFO] Apache CloudStack > >> Plugin - Storage Volume solidfire SUCCESS [2.352s] [INFO] Apache > >> CloudStack Plugin - NetApp File System ..... SUCCESS [1.863s] [INFO] > >> Apache CloudStack Plugin - F5 ..................... SUCCESS [1.917s] > >> [INFO] Apache CloudStack Plugin - Network Netscaler ...... SUCCESS > >> [2.365s] [INFO] Apache CloudStack Plugin - Juniper SRX ............ > >> SUCCESS [2.137s] [INFO] Apache CloudStack VMware Base > >> ..................... FAILURE [2.192s] [INFO] Apache CloudStack > >> Plugin - Hypervisor VMware ...... SKIPPED [INFO] Apache CloudStack > >> SystemVM Patches ................ SKIPPED [INFO] Apache CloudStack > >> Cloud Services .................. SKIPPED [INFO] Apache CloudStack > >> Console Proxy Service ........... SKIPPED [INFO] Apache CloudStack > >> Console Proxy Plugin ............ SKIPPED [INFO] Apache CloudStack > >> Console Proxy ................... SKIPPED [INFO] Apache CloudStack > >> Test ............................ SKIPPED [INFO] Apache CloudStack > >> Client UI ....................... SKIPPED [INFO] > >> --------------------------------------------------------------------- > >> --- > >> [INFO] BUILD FAILURE > >> [INFO] > >> --------------------------------------------------------------------- > >> --- > >> [INFO] Total time: 2:46.358s > >> [INFO] Finished at: Wed Mar 06 10:13:37 IST 2013 [INFO] Final Memory: > >> 42M/612M [INFO] > >> --------------------------------------------------------------------- > >> --- > >> [ERROR] Failed to execute goal > >> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > >> (default-compile) on project cloud-vmware-base: Compilation failure: > >> Compilation failure: > >> [ERROR] > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[41,52] error: cannot find symbol > >> [ERROR] symbol: class CookieJar > >> [ERROR] location: package > >> com.sun.xml.internal.ws.transport.http.client > >> [ERROR] > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[578,9] error: cannot find symbol > >> [ERROR] symbol: class CookieJar > >> [ERROR] location: class VmwareContext [ERROR] > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[384,2] error: cannot find symbol > >> [ERROR] symbol: class CookieJar > >> [ERROR] location: class VmwareContext [ERROR] > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[540,2] error: cannot find symbol > >> [ERROR] symbol: class CookieJar > >> [ERROR] location: class VmwareContext [ERROR] > >> /home/rajesh/hc_fzf/vmware-base/src/com/cloud/hypervisor/vmware/util/ > >> Vmwar eContext.java:[581,16] error: cannot find symbol [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 :cloud-vmware-base > >> rajesh@rajesh-HVM-domU:~/hc_fzf$ > >> > >> > >