Hi

Some hints:
- do you have in your local repository exactly one jar with BeanUtil
class or do you have many?

- run maven with -X command line option and check which version of the
jar is really used (by reading the classpath of the compile goal).

- do the BeanUtil class really used defines the method getUniquePrefix()?

Hope this helps

Raphaël

2007/4/26, Petr V. <[EMAIL PROTECTED]>:
Hi All,

I have got stubs that were genbarted via ADB(Axis Databinding). Now I am trying 
to use stubs in my client code. I added axis dependencies in my pom file.

I did not know which was essential dependencies so I included all following 
dependencies. Now I am getting this error

C:\ncp\NCP\main\component\ClientTests\src\main\java\com\comp\cp\stubs\auth\AuthorizationServiceStub.java:[1459,101]
 cannot find symbol
symbol  : method getUniquePrefix()
location: class org.apache.axis2.databinding.utils.BeanUtil

I open the dependency folder and see that there is BeauUtil class is present in 
axis2 jar which was downloaded. Any idea what am i doing wrong ??? Any HELP 
would be REALLY appreciated.


<dependency>
    <groupId>org.codehaus.wadi</groupId>
    <artifactId>wadi-axis2</artifactId>
    <version>2.0M2</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-adb-codegen</artifactId>
    <version>1.1</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-codegen</artifactId>
    <version>1.1</version>
</dependency>

<dependency>
    <groupId>org.apache.ws.commons.axiom</groupId>
    <artifactId>axiom-api</artifactId>
    <version>1.2.4</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-adb</artifactId>
    <version>1.0</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-kernel</artifactId>
    <version>1.1</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-java2wsdl</artifactId>
    <version>1.1</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2.maven2</groupId>
    <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
    <version>1.1</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2.maven2</groupId>
    <artifactId>axis2-aar-maven-plugin</artifactId>
    <version>1.1</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-xmlbeans</artifactId>
    <version>1.0</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2</artifactId>
    <version>1.1</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-tools</artifactId>
    <version>1.0</version>
</dependency>

<dependency>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-jibx</artifactId>
    <version>1.0</version>
</dependency>

<!--<dependency>
    <groupId>axis2</groupId>
    <artifactId>addressing</artifactId>
    <version>0.94</version>
</dependency> -->


<dependency>
    <groupId>axis2</groupId>
    <artifactId>axis2-codegen</artifactId>
    <version>0.94</version>
</dependency>

<dependency>
    <groupId>axis2</groupId>
    <artifactId>axis2-doom</artifactId>
    <version>0.94</version>
</dependency>

<dependency>
    <groupId>axis2</groupId>
    <artifactId>axis2-core</artifactId>
    <version>0.94</version>
</dependency>




---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Reply via email to