You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Aman Nanner/MxI Technologies <am...@mxi.com> on 2008/02/14 15:44:34 UTC

Error building Geronimo CXF in 2.0.2

I sometimes build Geronimo 2.0.2 from scratch.  Just today, I started
getting the following error during the build:

---------
org\apache\geronimo\modules\geronimo-axis2-builder\2.0.2
\geronimo-axis2-builder-2.0.2.jar
     [exec] [INFO]
----------------------------------------------------------------------------
     [exec] [INFO] Building Geronimo :: CXF
     [exec] [INFO]    task-segment: [clean, install]
     [exec] [INFO]
----------------------------------------------------------------------------
     [exec] [INFO] [clean:clean]
     [exec] [INFO] Deleting directory D:\g20\g\modules\geronimo-cxf\target
     [exec] [INFO] Deleting directory
D:\g20\g\modules\geronimo-cxf\target\classes
     [exec] [INFO] Deleting directory
D:\g20\g\modules\geronimo-cxf\target\test-classes
     [exec] [INFO] [enforcer:enforce {execution: default}]
     [exec] [INFO] [tools:copy-legal-files {execution:
install-legal-files}]
     [exec] [INFO] Created dir:
D:\g20\g\modules\geronimo-cxf\target\classes\META-INF
     [exec] [INFO] Copying 2 files to
D:\g20\g\modules\geronimo-cxf\target\classes\META-INF
     [exec] [INFO] [resources:resources]
     [exec] [INFO] Using default encoding to copy filtered resources.
     [exec] [INFO] [compiler:compile]
     [exec] [INFO] Compiling 24 source files to
D:\g20\g\modules\geronimo-cxf\target\classes
     [exec] [INFO]
------------------------------------------------------------------------
     [exec] [ERROR] BUILD FAILURE
     [exec] [INFO]
------------------------------------------------------------------------
     [exec] [INFO] Compilation failure

     [exec]
D:\g20\g\modules\geronimo-cxf\src\main\java\org\apache\geronimo\cxf\ejb\EJBEndpoint.java:[46,7]
 org.apache.g
eronimo.cxf.ejb.EJBEndpoint is not abstract and does not override abstract
method <T>getEndpointReference(java.lang.Clas
s<T>,org.w3c.dom.Element...) in javax.xml.ws.Endpoint

     [exec]
D:\g20\g\modules\geronimo-cxf\src\main\java\org\apache\geronimo\cxf\pojo\POJOEndpoint.java:[40,7]
 org.apache
.geronimo.cxf.pojo.POJOEndpoint is not abstract and does not override
abstract method <T>getEndpointReference(java.lang.
Class<T>,org.w3c.dom.Element...) in javax.xml.ws.Endpoint


     [exec] [INFO]
------------------------------------------------------------------------
     [exec] [INFO] For more information, run Maven with the -e switch
     [exec] [INFO]
------------------------------------------------------------------------
     [exec] [INFO] Total time: 2 minutes 48 seconds
     [exec] [INFO] Finished at: Thu Feb 14 09:21:39 EST 2008
     [exec] [INFO] Final Memory: 99M/188M
---------


The build was working fine yesterday.....was there anything changed in the
Maven repository that could perhaps have affected this?

Thanks,
Aman

__________________________________________________________________________________
* This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose the message or any information contained in the message. If you have received this message in error, please advise the sender by reply e-mail , and delete the message, or call (collect) 001 613 747 4698. *


Re: Error building Geronimo CXF in 2.0.2

Posted by Aman Nanner/MxI Technologies <am...@mxi.com>.
Thanks, rebuilding the m2 repository seems to have rectified the problem.

Donald Woods <dw...@apache.org> wrote on 02-14-2008 10:27:53 AM:

> Are you using Java 5 or 6?  I've seen the below type of error if you try
> building with Java 6.
>
> Also, try rebuilding with a clean m2 repository directory, in case
> you've mixed other project depends in....
>
>
> -Donald
>
>
> Aman Nanner/MxI Technologies wrote:
> > I sometimes build Geronimo 2.0.2 from scratch.  Just today, I started
> > getting the following error during the build:
> >
> > ---------
> > org\apache\geronimo\modules\geronimo-axis2-builder\2.0.2
> > \geronimo-axis2-builder-2.0.2.jar
> >      [exec] [INFO]
> >
----------------------------------------------------------------------------

> >      [exec] [INFO] Building Geronimo :: CXF
> >      [exec] [INFO]    task-segment: [clean, install]
> >      [exec] [INFO]
> >
----------------------------------------------------------------------------

> >      [exec] [INFO] [clean:clean]
> >      [exec] [INFO] Deleting directory
D:\g20\g\modules\geronimo-cxf\target
> >      [exec] [INFO] Deleting directory
> > D:\g20\g\modules\geronimo-cxf\target\classes
> >      [exec] [INFO] Deleting directory
> > D:\g20\g\modules\geronimo-cxf\target\test-classes
> >      [exec] [INFO] [enforcer:enforce {execution: default}]
> >      [exec] [INFO] [tools:copy-legal-files {execution:
> > install-legal-files}]
> >      [exec] [INFO] Created dir:
> > D:\g20\g\modules\geronimo-cxf\target\classes\META-INF
> >      [exec] [INFO] Copying 2 files to
> > D:\g20\g\modules\geronimo-cxf\target\classes\META-INF
> >      [exec] [INFO] [resources:resources]
> >      [exec] [INFO] Using default encoding to copy filtered resources.
> >      [exec] [INFO] [compiler:compile]
> >      [exec] [INFO] Compiling 24 source files to
> > D:\g20\g\modules\geronimo-cxf\target\classes
> >      [exec] [INFO]
> >
------------------------------------------------------------------------
> >      [exec] [ERROR] BUILD FAILURE
> >      [exec] [INFO]
> >
------------------------------------------------------------------------
> >      [exec] [INFO] Compilation failure
> >
> >      [exec]
> > D:\g20\g\modules\geronimo-
> cxf\src\main\java\org\apache\geronimo\cxf\ejb\EJBEndpoint.java:[46,7]
> >  org.apache.g
> > eronimo.cxf.ejb.EJBEndpoint is not abstract and does not override
abstract
> > method <T>getEndpointReference(java.lang.Clas
> > s<T>,org.w3c.dom.Element...) in javax.xml.ws.Endpoint
> >
> >      [exec]
> > D:\g20\g\modules\geronimo-
> cxf\src\main\java\org\apache\geronimo\cxf\pojo\POJOEndpoint.java:[40,7]
> >  org.apache
> > .geronimo.cxf.pojo.POJOEndpoint is not abstract and does not override
> > abstract method <T>getEndpointReference(java.lang.
> > Class<T>,org.w3c.dom.Element...) in javax.xml.ws.Endpoint
> >
> >
> >      [exec] [INFO]
> >
------------------------------------------------------------------------
> >      [exec] [INFO] For more information, run Maven with the -e switch
> >      [exec] [INFO]
> >
------------------------------------------------------------------------
> >      [exec] [INFO] Total time: 2 minutes 48 seconds
> >      [exec] [INFO] Finished at: Thu Feb 14 09:21:39 EST 2008
> >      [exec] [INFO] Final Memory: 99M/188M
> > ---------
> >
> >
> > The build was working fine yesterday.....was there anything changed in
the
> > Maven repository that could perhaps have affected this?
> >
> > Thanks,
> > Aman
> >
> >
>
__________________________________________________________________________________

> > * This message is intended only for the use of the individual or
> entity to which it is addressed, and may contain information that is
> privileged, confidential and exempt from disclosure under applicable
> law. Unless you are the addressee (or authorized to receive for the
> addressee), you may not use, copy or disclose the message or any
> information contained in the message. If you have received this
> message in error, please advise the sender by reply e-mail , and
> delete the message, or call (collect) 001 613 747 4698. *
> >
> >

__________________________________________________________________________________
* This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose the message or any information contained in the message. If you have received this message in error, please advise the sender by reply e-mail , and delete the message, or call (collect) 001 613 747 4698. *


Re: Error building Geronimo CXF in 2.0.2

Posted by Donald Woods <dw...@apache.org>.
Are you using Java 5 or 6?  I've seen the below type of error if you try 
building with Java 6.

Also, try rebuilding with a clean m2 repository directory, in case 
you've mixed other project depends in....


-Donald


Aman Nanner/MxI Technologies wrote:
> I sometimes build Geronimo 2.0.2 from scratch.  Just today, I started
> getting the following error during the build:
> 
> ---------
> org\apache\geronimo\modules\geronimo-axis2-builder\2.0.2
> \geronimo-axis2-builder-2.0.2.jar
>      [exec] [INFO]
> ----------------------------------------------------------------------------
>      [exec] [INFO] Building Geronimo :: CXF
>      [exec] [INFO]    task-segment: [clean, install]
>      [exec] [INFO]
> ----------------------------------------------------------------------------
>      [exec] [INFO] [clean:clean]
>      [exec] [INFO] Deleting directory D:\g20\g\modules\geronimo-cxf\target
>      [exec] [INFO] Deleting directory
> D:\g20\g\modules\geronimo-cxf\target\classes
>      [exec] [INFO] Deleting directory
> D:\g20\g\modules\geronimo-cxf\target\test-classes
>      [exec] [INFO] [enforcer:enforce {execution: default}]
>      [exec] [INFO] [tools:copy-legal-files {execution:
> install-legal-files}]
>      [exec] [INFO] Created dir:
> D:\g20\g\modules\geronimo-cxf\target\classes\META-INF
>      [exec] [INFO] Copying 2 files to
> D:\g20\g\modules\geronimo-cxf\target\classes\META-INF
>      [exec] [INFO] [resources:resources]
>      [exec] [INFO] Using default encoding to copy filtered resources.
>      [exec] [INFO] [compiler:compile]
>      [exec] [INFO] Compiling 24 source files to
> D:\g20\g\modules\geronimo-cxf\target\classes
>      [exec] [INFO]
> ------------------------------------------------------------------------
>      [exec] [ERROR] BUILD FAILURE
>      [exec] [INFO]
> ------------------------------------------------------------------------
>      [exec] [INFO] Compilation failure
> 
>      [exec]
> D:\g20\g\modules\geronimo-cxf\src\main\java\org\apache\geronimo\cxf\ejb\EJBEndpoint.java:[46,7]
>  org.apache.g
> eronimo.cxf.ejb.EJBEndpoint is not abstract and does not override abstract
> method <T>getEndpointReference(java.lang.Clas
> s<T>,org.w3c.dom.Element...) in javax.xml.ws.Endpoint
> 
>      [exec]
> D:\g20\g\modules\geronimo-cxf\src\main\java\org\apache\geronimo\cxf\pojo\POJOEndpoint.java:[40,7]
>  org.apache
> .geronimo.cxf.pojo.POJOEndpoint is not abstract and does not override
> abstract method <T>getEndpointReference(java.lang.
> Class<T>,org.w3c.dom.Element...) in javax.xml.ws.Endpoint
> 
> 
>      [exec] [INFO]
> ------------------------------------------------------------------------
>      [exec] [INFO] For more information, run Maven with the -e switch
>      [exec] [INFO]
> ------------------------------------------------------------------------
>      [exec] [INFO] Total time: 2 minutes 48 seconds
>      [exec] [INFO] Finished at: Thu Feb 14 09:21:39 EST 2008
>      [exec] [INFO] Final Memory: 99M/188M
> ---------
> 
> 
> The build was working fine yesterday.....was there anything changed in the
> Maven repository that could perhaps have affected this?
> 
> Thanks,
> Aman
> 
> __________________________________________________________________________________
> * This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose the message or any information contained in the message. If you have received this message in error, please advise the sender by reply e-mail , and delete the message, or call (collect) 001 613 747 4698. *
> 
>