I am getting the build error when I am building the Carbon Core. But when I
do a build on the component itself, it builds successfully.

On Tue, Oct 5, 2010 at 2:16 PM, Heshan Suriyaarachchi <hes...@wso2.com>wrote:

> [INFO] Building WSO2 Carbon - Default Authenticator Proxy
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] artifact org.codehaus.mojo:build-helper-maven-plugin: checking for
> updates from wso2-maven2-repository
> [INFO] [clean:clean]
> [INFO] Deleting directory
> /home/heshan/Dev/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/target
> [INFO] [build-helper:add-source {execution: add-source}]
> [INFO] Source directory:
> /home/heshan/Dev/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/target/generated-code/src
> added.
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-mail/1.1.0-SNAPSHOT/axis2-transport-mail-1.1.0-SNAPSHOT.jar
> [INFO] snapshot org.wso2.carbon:org.wso2.carbon.core.common:3.1.0-SNAPSHOT:
> checking for updates from wso2-maven2-snapshot-repository
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-mail:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-tcp/1.1.0-SNAPSHOT/axis2-transport-tcp-1.1.0-SNAPSHOT.jar
> [INFO] snapshot org.wso2.carbon:org.wso2.carbon.core.common:3.1.0-SNAPSHOT:
> checking for updates from jboss
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-tcp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-udp/1.1.0-SNAPSHOT/axis2-transport-udp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-udp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-xmpp/1.1.0-SNAPSHOT/axis2-transport-xmpp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-xmpp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-mail/1.1.0-SNAPSHOT/axis2-transport-mail-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-mail:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-tcp/1.1.0-SNAPSHOT/axis2-transport-tcp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-tcp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-udp/1.1.0-SNAPSHOT/axis2-transport-udp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-udp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-xmpp/1.1.0-SNAPSHOT/axis2-transport-xmpp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-xmpp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> [INFO] [antrun:run {execution: source-code-generation}]
> [INFO] Executing tasks
>      [java] Retrieving document at
> 'src/main/resources/AuthenticationAdmin.wsdl'.
>      [java] log4j:WARN No appenders could be found for logger
> (org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
>      [java] log4j:WARN Please initialize the log4j system properly.
>      [java] Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/axiom/util/UIDGenerator
>      [java]     at
> org.apache.axis2.description.AxisOperation.<init>(AxisOperation.java:90)
>      [java]     at
> org.apache.axis2.description.InOnlyAxisOperation.<init>(InOnlyAxisOperation.java:46)
>      [java]     at
> org.apache.axis2.description.AxisOperationFactory.getOperationDescription(AxisOperationFactory.java:114)
>      [java]     at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOperations(WSDL11ToAxisServiceBuilder.java:1379)
>      [java]     at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortType(WSDL11ToAxisServiceBuilder.java:598)
>      [java]     at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:475)
>      [java]     at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:365)
>      [java]     at
> org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107)
>      [java]     at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:152)
>      [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:
> org.apache.axiom.util.UIDGenerator
>      [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>      [java]     at java.security.AccessController.doPrivileged(Native
> Method)
>      [java]     at
> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>      [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
>      [java]     at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>      [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>      [java]     at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>      [java]     ... 11 more
>      [java] Java Result: 1
> [INFO] Executed tasks
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-mail/1.1.0-SNAPSHOT/axis2-transport-mail-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-mail:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-tcp/1.1.0-SNAPSHOT/axis2-transport-tcp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-tcp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-udp/1.1.0-SNAPSHOT/axis2-transport-udp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-udp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-xmpp/1.1.0-SNAPSHOT/axis2-transport-xmpp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-xmpp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-mail/1.1.0-SNAPSHOT/axis2-transport-mail-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-mail:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-tcp/1.1.0-SNAPSHOT/axis2-transport-tcp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-tcp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-udp/1.1.0-SNAPSHOT/axis2-transport-udp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-udp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/axis2/axis2-transport-xmpp/1.1.0-SNAPSHOT/axis2-transport-xmpp-1.1.0-SNAPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.axis2:axis2-transport-xmpp:jar:1.1.0-SNAPSHOT' in repository
> wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2)
> [INFO] [compiler:compile]
> Compiling 1 source file to
> /home/heshan/Dev/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/heshan/Dev/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[36,12]
> cannot find symbol
> symbol  : class AuthenticationAdminStub
> location: class
> org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient
>
> /home/heshan/Dev/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[45,19]
> cannot find symbol
> symbol  : class AuthenticationAdminStub
> location: class
> org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 42 minutes 22 seconds
> [INFO] Finished at: Tue Oct 05 14:11:42 IST 2010
> [INFO] Final Memory: 264M/630M
> [INFO]
> ------------------------------------------------------------------------
>
>
> --
> Regards,
> Heshan Suriyaarachchi
> Software Engineer
> WSO2 Inc.; http://wso2.com/
>
> Blog: http://heshans.blogspot.com/
>



-- 
Regards,
Heshan Suriyaarachchi
Software Engineer
WSO2 Inc.; http://wso2.com/

Blog: http://heshans.blogspot.com/
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to