Thanks everyone for the answers Regards, Sohani
Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Tue, Aug 5, 2014 at 11:16 AM, Prasanna Dangalla <prasa...@wso2.com> wrote: > +1 chamila. Me too fix this using Oracle jdk 1.6 and Maven 3.0.5. If your > are using another maven version change the maven version and m2 home and > build again. > > Prasanna Dangalla > > Software Engineer, WSO2, Inc.; http://wso2.com/ > > lean.enterprise.middleware > > cell: +94 777 55 80 30 | +94 718 11 27 51 > twitter: @prasa77 > > > On Tue, Aug 5, 2014 at 11:12 AM, Chamila De Alwis <chami...@wso2.com> > wrote: > >> I came across the same error when I was building Carbon a while back. You >> need to build all three with Oracle jdk 1.6 and Maven 3.0.5. >> >> >> Regards, >> Chamila de Alwis >> Software Engineer | WSO2 | +94772207163 >> Blog: code.chamiladealwis.com >> >> >> >> >> On Tue, Aug 5, 2014 at 11:07 AM, Tishan Dahanayakage <tis...@wso2.com> >> wrote: >> >>> Hi Sohani, >>> Make sure you are using oracle jdk. May be you are using OpenJDK and it >>> might be the problem according to [1] >>> >>> [1]http://mail.wso2.org/mailarchive/dev/2014-February/027293.html >>> >>> >>> On Tue, Aug 5, 2014 at 10:26 AM, Sohani Weerasinghe <soh...@wso2.com> >>> wrote: >>> >>>> Thanks for the reply Senduran. Yes I am using java 1.6 >>>> >>>> Sohani Weerasinghe >>>> Software Engineer >>>> WSO2, Inc: http://wso2.com >>>> >>>> Mobile : +94 716439774 >>>> Blog :http://christinetechtips.blogspot.com/ >>>> Twitter : https://twitter.com/sohanichristine >>>> >>>> >>>> On Tue, Aug 5, 2014 at 10:24 AM, Senduran Balasubramaniyam < >>>> sendu...@wso2.com> wrote: >>>> >>>>> Hi, >>>>> can you please make sure you are using oracle java 1.6 >>>>> >>>>> >>>>> On Tue, Aug 5, 2014 at 10:13 AM, Sohani Weerasinghe <soh...@wso2.com> >>>>> wrote: >>>>> >>>>>> Hi Senduran, >>>>>> >>>>>> The full error log is as follows: >>>>>> >>>>>> [ERROR] Failed to execute goal >>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.1:compile >>>>>> (default-compile) on project wss4j: Compilation failure: Compilation >>>>>> failure: >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[10,24] >>>>>> EncryptionKey is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[11,33] >>>>>> EncTicketPart is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[12,33] >>>>>> Ticket is internal proprietary API and may be removed in a future release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[13,40] >>>>>> KeyUsage is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[14,24] >>>>>> DerInputStream is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[15,24] >>>>>> DerValue is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[50,2] >>>>>> EncryptionKey is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[57,9] >>>>>> EncryptionKey is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[58,2] >>>>>> DerInputStream is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[58,36] >>>>>> DerInputStream is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[59,2] >>>>>> DerValue is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[64,3] >>>>>> DerValue is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[66,19] >>>>>> DerValue is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[74,34] >>>>>> DerInputStream is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[74,9] >>>>>> EncryptionKey is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[76,2] >>>>>> DerValue is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[78,2] >>>>>> DerValue is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[81,3] >>>>>> DerValue is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[90,27] >>>>>> Ticket is internal proprietary API and may be removed in a future release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[93,37] >>>>>> Ticket is internal proprietary API and may be removed in a future release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[93,9] >>>>>> EncryptionKey is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[97,2] >>>>>> EncryptionKey is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[99,51] >>>>>> KeyUsage is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[105,30] >>>>>> error: method reset in class EncryptedData cannot be applied to given >>>>>> types; >>>>>> [ERROR] >>>>>> [ERROR] actual and formal argument lists differ in length >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[106,2] >>>>>> EncTicketPart is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[106,30] >>>>>> EncTicketPart is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[111,9] >>>>>> EncryptionKey is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] >>>>>> [ERROR] >>>>>> /home/sohani/carbon/kernel/branches/4.2.0/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[114,13] >>>>>> EncryptionKey is internal proprietary API and may be removed in a future >>>>>> release >>>>>> [ERROR] -> [Help 1] >>>>>> >>>>>> Sohani Weerasinghe >>>>>> Software Engineer >>>>>> WSO2, Inc: http://wso2.com >>>>>> >>>>>> Mobile : +94 716439774 >>>>>> Blog :http://christinetechtips.blogspot.com/ >>>>>> Twitter : https://twitter.com/sohanichristine >>>>>> >>>>>> >>>>>> On Tue, Aug 5, 2014 at 10:06 AM, Senduran Balasubramaniyam < >>>>>> sendu...@wso2.com> wrote: >>>>>> >>>>>>> Hi Sohani, >>>>>>> Since it is saying compilation failure can you please add some more >>>>>>> lines from the build failure output, >>>>>>> >>>>>>> Regards, >>>>>>> Senduran >>>>>>> >>>>>>> >>>>>>> On Tue, Aug 5, 2014 at 9:31 AM, Sohani Weerasinghe <soh...@wso2.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Can someone please provide an answer? >>>>>>>> >>>>>>>> Regards, >>>>>>>> Sohani >>>>>>>> >>>>>>>> Sohani Weerasinghe >>>>>>>> Software Engineer >>>>>>>> WSO2, Inc: http://wso2.com >>>>>>>> >>>>>>>> Mobile : +94 716439774 >>>>>>>> Blog :http://christinetechtips.blogspot.com/ >>>>>>>> Twitter : https://twitter.com/sohanichristine >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Aug 5, 2014 at 9:29 AM, Sohani Weerasinghe <soh...@wso2.com >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> When I try to build kernal- 4.2.0 branch, I am getting the >>>>>>>>> exception : Failed to execute goal >>>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.1:compile >>>>>>>>> (default-compile) on project wss4j: Compilation failure: Compilation >>>>>>>>> failure: >>>>>>>>> >>>>>>>>> Please note that I have built orbit before building the kernal and >>>>>>>>> using java 1.6 >>>>>>>>> >>>>>>>>> >>>>>>>>> Sohani Weerasinghe >>>>>>>>> Software Engineer >>>>>>>>> WSO2, Inc: http://wso2.com >>>>>>>>> >>>>>>>>> Mobile : +94 716439774 >>>>>>>>> Blog :http://christinetechtips.blogspot.com/ >>>>>>>>> Twitter : https://twitter.com/sohanichristine >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Dev mailing list >>>>>>>> Dev@wso2.org >>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *Senduran * >>>>>>> Software Engineer, >>>>>>> WSO2, Inc.; http://wso2.com/ <http://wso2.com/> >>>>>>> Mobile: +94 77 952 6548 >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Senduran * >>>>> Software Engineer, >>>>> WSO2, Inc.; http://wso2.com/ <http://wso2.com/> >>>>> Mobile: +94 77 952 6548 >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Tishan Dahanayakage >>> Software Engineer >>> WSO2, Inc. >>> Mobile:+94 716481328 >>> >>> Disclaimer: This communication may contain privileged or other >>> confidential information and is intended exclusively for the addressee/s. >>> If you are not the intended recipient/s, or believe that you may have >>> received this communication in error, please reply to the sender indicating >>> that fact and delete the copy you received and in addition, you should not >>> print, copy, re-transmit, disseminate, or otherwise use the information >>> contained in this communication. Internet communications cannot be >>> guaranteed to be timely, secure, error or virus-free. The sender does not >>> accept liability for any errors or omissions. >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev