Hi Chintana, I copied all those files to the identity/lib folder (I got them from http://builder.wso2.org/~carbon/2.0.1/), but I am still getting the same compilation errors.
Downloading: http://ws.zones.apache.org/repository2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/) Downloading: http://repo1.maven.org/maven2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository maven2 (http://repo1.maven.org/maven2/) Downloading: http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://ws.zones.apache.org/repository2//opensaml/opensaml/1.1/opensaml-1.1.pom [INFO] Unable to find resource 'opensaml:opensaml:pom:1.1' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/) Downloading: http://repo1.maven.org/maven2//opensaml/opensaml/1.1/opensaml-1.1.pom [INFO] Unable to find resource 'opensaml:opensaml:pom:1.1' in repository maven2 (http://repo1.maven.org/maven2/) Downloading: http://repo1.maven.org/maven2/opensaml/opensaml/1.1/opensaml-1.1.pom [INFO] Unable to find resource 'opensaml:opensaml:pom:1.1' in repository central (http://repo1.maven.org/maven2) Downloading: http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/) Downloading: http://repo1.maven.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository maven2 (http://repo1.maven.org/maven2/) Downloading: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository central (http://repo1.maven.org/maven2) [INFO] [compiler:compile {execution: default-compile}] Compiling 59 source files to C:\src\wsas\business_service\target\classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[83,88] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[97,88] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[853,149] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[869,55] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[877,55] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[885,63] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[894,64] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[601,88] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[615,88] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1371,149] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1387,55] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1395,55] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1403,63] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1412,64] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\apache\stonehenge\stocktrader\services\TradeServiceImpl.java:[71,38] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\apache\stonehenge\stocktrader\services\TradeServiceImpl.java:[72,38] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[88,86] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[102,86] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[858,119] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[887,55] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[887,146] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[895,63] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[895,154] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[1392,51] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[1394,95] package com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifier does not exist C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[1399,51] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOnly.java:[1401,103] package com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifierResponse does not exist C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[62,47] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[63,56] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[64,93] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[66,67] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[181,51] reference to toEnvelope is ambiguous, both method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.LoginResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut and method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifierResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut match C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[205,51] reference to toEnvelope is ambiguous, both method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.EmptyMethodActionResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut and method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifierResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut match C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[231,51] reference to toEnvelope is ambiguous, both method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetMarketSummaryResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut and method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifierResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut match C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[415,51] reference to toEnvelope is ambiguous, both method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetHoldingsResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut and method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifierResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut match C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[475,51] reference to toEnvelope is ambiguous, both method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.SellEnhancedResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut and method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifierResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut match C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[503,51] reference to toEnvelope is ambiguous, both method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetAccountProfileDataResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut and method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifierResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut match C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[529,51] reference to toEnvelope is ambiguous, both method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.LogoutResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut and method toEnvelope(org.apache.axiom.soap.SOAPFactory,com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifierResponse,boolean) in org.tempuri.TradeServiceWcfMessageReceiverInOut match C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[606,86] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[620,86] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1376,119] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1405,55] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1405,146] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1413,63] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1413,154] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1910,51] cannot find symbol symbol : class GetProfileIdFromStsIdentifier location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1912,95] package com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifier does not exist C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1917,51] cannot find symbol symbol : class GetProfileIdFromStsIdentifierResponse location: package com.ibm.websphere.samples.trade C:\src\wsas\business_service\src\org\tempuri\TradeServiceWcfMessageReceiverInOut.java:[1919,103] package com.ibm.websphere.samples.trade.GetProfileIdFromStsIdentifierResponse does not exist Thanks Pablo. -----Original Message----- From: Chintana Wilamuna [mailto:[email protected]] Sent: Friday, September 25, 2009 12:34 AM To: [email protected] Subject: Re: Build errors in Java WSAS On Thu, Sep 24, 2009 at 11:21 PM, Pablo Cibraro <[email protected]> wrote: > I am getting some compilation errors while trying to build the WSAS Java > implementation with Mavan. It looks like some dependencies are not available > in the mavan repository, > > [INFO] Unable to find resource 'opensaml:opensaml:pom:1.1' in repository > apache- > ws-snapshots2 (http://ws.zones.apache.org/repository2/) > Downloading: > http://repo1.maven.org/maven2//opensaml/opensaml/1.1/opensaml-1.1.p > om > [INFO] Unable to find resource 'opensaml:opensaml:pom:1.1' in repository > maven2 > (http://repo1.maven.org/maven2/) > Downloading: > http://repo1.maven.org/maven2/opensaml/opensaml/1.1/opensaml-1.1.po > m > [INFO] Unable to find resource 'opensaml:opensaml:pom:1.1' in repository > central > (http://repo1.maven.org/maven2) > Downloading: > http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/1 > 32/bcprov-jdk13-132.pom > [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in > repository > apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/) > Downloading: > http://repo1.maven.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov > -jdk13-132.pom > > For instance, http://repo1.maven.org/maven2/opensaml/ does not exists in that > server. I am a .NET dev, so I am not sure how this exactly works. > > I will appreciate any information about how to solve this issue. Pablo, I for the moment, if you're not interested in getting the WSO2 Identity Server component built, please remove the identity folder and build using maven. If you want to compile this, I suggest you download WSO2 Identity Server - http://wso2.org/projects/identity and copy the following files from <identity server root>/repository/components/plugins to identity/lib folder axiom-1.2.7.wso2v1.jar axis2-1.5.0.wso2v2.jar opensaml2-2.0.0.alpha1-wso2v1.jar org.wso2.carbon.identity.provider-2.0.1.jar org.wso2.carbon.identity.sts.passive-2.0.1.jar org.wso2.carbon.identity.sts-2.0.1.jar org.wso2.carbon.security.rahas-2.0.1.jar org.wso2.carbon.security.rampart-2.0.1.jar Bye, -Chintana -- http://engwar.com/
