Hi,

I've checked out trunk and ran the following to get an Eclipse setup:

> mvn -DskipTests=true install eclipse:eclipse

I get lots of projects and stuff and the project "axis2-adb-test" shows
the following error in the following files:

> The method serialize(XMLStreamWriter) is undefined for the type Object

> target\generated-test-sources\xsd2java\helper\org\apache\axis2\schema\testsuite\TestAnyType*Helper.java

>      if (typedBean.localTestValue != null) {
>        for (int i = 0; i < typedBean.localTestValue.length; i++) {
>          if (typedBean.localTestValue[i] != null) {
>            // write null attribute
>            writeStartElement(
>                null, "http://apache.org/axis2/schema/testsuite";, "testValue", 
> xmlWriter);
>            typedBean.localTestValue[i].serialize(xmlWriter);
>            xmlWriter.writeEndElement();
>          } else {

The files TestAnyType* contain the following relevant code:

>   /** field for TestValue This was an Array! */
>   protected java.lang.Object[] localTestValue;

So the error seems to be correct and Eclipse suggests to fix it by
using a CAST to some other types, like "OMSerializable" or such. I've
attached a screenshot.

But what should be the correct result after Maven ran? Is
java.lang.Object only a fallback because of a problem somewhere else I
need to look at or should it really be java.lang.Object? And if so,
how is that supposed to compile? I have one successful run of "mvn
clean && mvn install" on the shell currently.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: [email protected]
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to