check with -X what ends in the classpath

On 6/28/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
One of my webservices class looks as follows :

public class TSAMessageMessage  implements java.io.Serializable,
org.apache.axis.encoding.AnyContentType {....}



Interface org.apache.axis.encoding.AnyContentType is in the
axis-1.0.jar.The dependency looks like :

     <dependency>
      <groupId>axis</groupId>
      <artifactId>axis</artifactId>
      <version>1.0</version>
    </dependency>

In my repository there are also  versions 1.2 and 1.2.1.My build fails
with the message

[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 159 source files to D:\M2-WORK\eportal-webservices\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

D:\M2-WORK\eportal-webservices\src\za\co\mycompany\eai\TSAMessage.java:[17,8
9] cannot find symbol
symbol  : class AnyContentType
location: package org.apache.axis.encoding

Are the other versions confusing M2?



Jeff  Mutonho

GoogleTalk : ejbengine
Skype        : ejbengine
Registered Linux user number 366042

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                            -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to