Apache

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Build failed

    5 answers - 2488 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    btw, when I checked the soource repository
    does not have the method getMetaInfoMap() .
    So is this latest XmlSchemaType not checked into svn or a problem with
    ExtensionUtility?
    A quick fix is appreciated :-)
    -Regards
    Rajith
    7/6/06, Rajith Attapattu <rajith77 (AT) gmail (DOT) comwrote:
    Hi All,
    I get the following compilation errors and would be gratefull if somebody
    can shed some light !!
    Is there an updated XmlSchema version on maven repos? or is the
    ExtensionUtility out of date?
    Btw I am on the lates revision.
    -Rajith
    java:compile:
    [echo] Compiling to
    /
    [javac] Compiling 14 source files to
    /
    [javac]
    /
    cannot find symbol
    [javac] symbol : method getMetaInfoMap()
    [javac] location: class
    [javac] Map metaInfoMap = eltSchemaType.getMetaInfoMap();
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.String
    )
    [javac] location: class
    [javac] xsElt.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String ,
    java.lang.String)
    [javac] location: class
    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,
    java.lang.Boolean)
    [javac] location: class
    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo( java.lang.String,
    java.lang.String)
    [javac] location: class
    [javac] xsElt.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.String
    )
    [javac] location: class
    [javac] referencedElement.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo( java.lang.String,
    java.lang.String)
    [javac] location: class
    [javac] complexType.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String ,
    java.lang.String)
    [javac] location: class
    [javac] simpleType.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,
    java.lang.Boolean)
    [javac] location: class
    [javac] simpleType.addMetaInfo(
    ,
    [javac] ^
    [javac] 9 errors
    --
  • No.1 | | 2145 bytes | |

    Hi All,

    I get the following compilation errors and would be gratefull if somebody
    can shed some light !!
    Is there an updated XmlSchema version on maven repos? or is the
    ExtensionUtility out of date?

    Btw I am on the lates revision.
    -Rajith

    java:compile:
    [echo] Compiling to
    /
    [javac] Compiling 14 source files to
    /
    [javac]
    /
    cannot find symbol
    [javac] symbol : method getMetaInfoMap()
    [javac] location: class
    [javac] Map metaInfoMap = eltSchemaType.getMetaInfoMap();
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class
    [javac] xsElt.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class
    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class
    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class
    [javac] xsElt.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class
    [javac] referencedElement.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class

    [javac] complexType.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class
    [javac] simpleType.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class
    [javac] simpleType.addMetaInfo(
    ,
    [javac] ^
    [javac] 9 errors
  • No.2 | | 2834 bytes | |

    Hi Rajith,

    Please make sure you have the latest XmlSchema-SNAPSHT.jar in you
    local maven repo.

    If you were building with the "-o" options please try without it.

    Thanks,
    Ruchith

    7/7/06, Rajith Attapattu <rajith77 (AT) gmail (DOT) comwrote:
    btw, when I checked the soource repository

    does not have the method getMetaInfoMap() .

    So is this latest XmlSchemaType not checked into svn or a problem with
    ExtensionUtility?

    A quick fix is appreciated :-)

    -Regards

    Rajith
    --
    7/6/06, Rajith Attapattu <rajith77 (AT) gmail (DOT) com wrote:

    Hi All,

    I get the following compilation errors and would be gratefull if somebody
    can shed some light !!
    Is there an updated XmlSchema version on maven repos? or is the
    ExtensionUtility out of date?

    Btw I am on the lates revision.

    -Rajith

    java:compile:
    [echo] Compiling to
    /
    [javac] Compiling 14 source files to
    /
    [javac]
    /
    cannot find symbol
    [javac] symbol : method getMetaInfoMap()
    [javac] location: class

    [javac] Map metaInfoMap = eltSchemaType.getMetaInfoMap();
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    xsElt.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String
    ,java.lang.String)
    [javac] location: class

    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class

    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(
    java.lang.String,java.lang.String)
    [javac] location: class

    [javac] xsElt.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    referencedElement.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(
    java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    complexType.addMetaInfo(,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String
    ,java.lang.String)
    [javac] location: class

    [javac]
    simpleType.addMetaInfo(,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class

    [javac]
    simpleType.addMetaInfo(,
    [javac] ^
    [javac] 9 errors
    >
    >
    >
    >
  • No.3 | | 3661 bytes | |

    Hi,
    I think I know the problem here.
    I modified the XMLSchema project to add a few new methods and fix some
    bugs. However the XMLSchema had two builds for maven 1 and maven 2 and
    these build scripts were putting the jars in two different repo
    locations. Hence I changed the maven 1 build script to have the
    correct group id ("org.apache.ws.commons").Somehow it seems that the
    snapshots are not built according to the new script.

    Rajitha, What you can do for now is to get the latest source from SVN
    from here [1] and run maven on it. that should copy the jar to the
    correct repo location. Meanwhile I'll buzz dims and see what is wrong
    with the automatic build.

    Ajith

    [1]

    7/7/06, Ruchith Fernando <ruchith.fernando (AT) gmail (DOT) comwrote:
    Hi Rajith,

    Please make sure you have the latest XmlSchema-SNAPSHT.jar in you
    local maven repo.

    If you were building with the "-o" options please try without it.

    Thanks,
    Ruchith

    7/7/06, Rajith Attapattu <rajith77 (AT) gmail (DOT) comwrote:
    btw, when I checked the soource repository

    does not have the method getMetaInfoMap() .

    So is this latest XmlSchemaType not checked into svn or a problem with
    ExtensionUtility?

    A quick fix is appreciated :-)

    -Regards

    Rajith
    --
    7/6/06, Rajith Attapattu <rajith77 (AT) gmail (DOT) com wrote:

    Hi All,

    I get the following compilation errors and would be gratefull if somebody
    can shed some light !!
    Is there an updated XmlSchema version on maven repos? or is the
    ExtensionUtility out of date?

    Btw I am on the lates revision.

    -Rajith

    java:compile:
    [echo] Compiling to
    /
    [javac] Compiling 14 source files to
    /
    [javac]
    /
    cannot find symbol
    [javac] symbol : method getMetaInfoMap()
    [javac] location: class

    [javac] Map metaInfoMap = eltSchemaType.getMetaInfoMap();
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    xsElt.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String
    ,java.lang.String)
    [javac] location: class

    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class

    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(
    java.lang.String,java.lang.String)
    [javac] location: class

    [javac] xsElt.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    referencedElement.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(
    java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    complexType.addMetaInfo(,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String
    ,java.lang.String)
    [javac] location: class

    [javac]
    simpleType.addMetaInfo(,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class

    [javac]
    simpleType.addMetaInfo(,
    [javac] ^
    [javac] 9 errors
    >
    >
    >
    >
    >
    >
  • No.4 | | 3768 bytes | |

    Please check now
    -- dims

    7/7/06, Ajith Ranabahu <ajith.ranabahu (AT) gmail (DOT) comwrote:
    Hi,
    I think I know the problem here.
    I modified the XMLSchema project to add a few new methods and fix some
    bugs. However the XMLSchema had two builds for maven 1 and maven 2 and
    these build scripts were putting the jars in two different repo
    locations. Hence I changed the maven 1 build script to have the
    correct group id ("org.apache.ws.commons").Somehow it seems that the
    snapshots are not built according to the new script.

    Rajitha, What you can do for now is to get the latest source from SVN
    from here [1] and run maven on it. that should copy the jar to the
    correct repo location. Meanwhile I'll buzz dims and see what is wrong
    with the automatic build.

    Ajith

    [1]

    7/7/06, Ruchith Fernando <ruchith.fernando (AT) gmail (DOT) comwrote:
    Hi Rajith,

    Please make sure you have the latest XmlSchema-SNAPSHT.jar in you
    local maven repo.

    If you were building with the "-o" options please try without it.

    Thanks,
    Ruchith

    7/7/06, Rajith Attapattu <rajith77 (AT) gmail (DOT) comwrote:
    btw, when I checked the soource repository

    does not have the method getMetaInfoMap() .

    So is this latest XmlSchemaType not checked into svn or a problem with
    ExtensionUtility?

    A quick fix is appreciated :-)

    -Regards

    Rajith
    --
    7/6/06, Rajith Attapattu <rajith77 (AT) gmail (DOT) com wrote:

    Hi All,

    I get the following compilation errors and would be gratefull if somebody
    can shed some light !!
    Is there an updated XmlSchema version on maven repos? or is the
    ExtensionUtility out of date?

    Btw I am on the lates revision.

    -Rajith

    java:compile:
    [echo] Compiling to
    /
    [javac] Compiling 14 source files to
    /
    [javac]
    /
    cannot find symbol
    [javac] symbol : method getMetaInfoMap()
    [javac] location: class

    [javac] Map metaInfoMap = eltSchemaType.getMetaInfoMap();
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    xsElt.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String
    ,java.lang.String)
    [javac] location: class

    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class

    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(
    java.lang.String,java.lang.String)
    [javac] location: class

    [javac] xsElt.addMetaInfo(
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    referencedElement.addMetaInfo(
    ,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(
    java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    complexType.addMetaInfo(,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String
    ,java.lang.String)
    [javac] location: class

    [javac]
    simpleType.addMetaInfo(,
    [javac] ^
    [javac]
    /
    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class

    [javac]
    simpleType.addMetaInfo(,
    [javac] ^
    [javac] 9 errors
    >
    >
    >
    >
    >
    >
  • No.5 | | 6544 bytes | |

    Brian,

    The build was sucessfull for me. Maybe try again.

    thanks Ajith and dims for the support

    Regards,

    Rajith

    7/7/06, Brian De Pradine <PRADINE (AT) uk (DOT) ibm.comwrote:
    --
    Hello,

    I can now build the adb-codegen module, but I now get a build error in the
    integration module. Looking at the code it seems that the class
    modules\integration\target\rpc-test2\src\com\example\www\ServiceNameStub.java
    is making the following method call:

    toEnvelope(,int,java.lang.String,
    ,boolean),

    but the only method that exists in the class is:

    toEnvelope(,int,
    ,java.lang.String,boolean).

    Notice that MyComplexType and String are swapped. The details of the
    failure are included below.

    [echo] Running codegen RPC WSDLs - take 2
    [java] log4j:WARN No appenders could be found for logger (
    ).
    [java] log4j:WARN Please initialize the log4j system properly.
    [mkdir] Created dir:
    F:\Drivers\axis2\modules\integration\target\rpc-test2\build
    [mkdir] Created dir:
    F:\Drivers\axis2\modules\integration\target\rpc-test2\build\classes
    [mkdir] Created dir:
    F:\Drivers\axis2\modules\integration\target\rpc-test2\build\lib
    [mkdir] Created dir:
    F:\Drivers\axis2\modules\integration\target\rpc-test2\test
    [echo] Stax Availability= true
    [echo] Axis2 Availability= true
    [javac] Compiling 2 source files to
    F:\Drivers\axis2\modules\integration\target\rpc-test2\build\classes
    F:\Drivers\axis2\modules\integration\target\rpc-test2\src\com\example\www\ServiceNameStub.java:128 :
    cannot find symbol
    symbol : method toEnvelope(,int,
    java.lang.String,,boolean)
    location: class
    env =
    toEnvelope(getFactory(_operationC().getSoapVersion URI()),
    ^
    F:\Drivers\axis2\modules\integration\target\rpc-test2\src\com\example\www\ServiceNameStub.java:234 :
    cannot find symbol
    symbol : method toEnvelope(,int,
    java.lang.String,,boolean)
    location: class
    env =
    toEnvelope(getFactory(_operationC().getSoapVersion URI()),
    ^
    Note:
    F:\Drivers\axis2\modules\integration\target\rpc-test2\src\com\example\www\ServiceNameStub.java
    uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors

    Cheers

    Brian DePradine
    Web Services Development
    IBM Hursley
    External +44 (0) 1962 816319 Internal 246319

    If you can't find the time to do it right the first time, where will you
    find the time to do it again?
    --
    "Davanum Srinivas" <davanum (AT) gmail (DOT) comwrote on 07/07/2006 11:54:03:
    --
    Please check now

    -- dims

    7/7/06, Ajith Ranabahu <ajith.ranabahu (AT) gmail (DOT) comwrote:
    Hi,
    I think I know the problem here.
    I modified the XMLSchema project to add a few new methods and fix some
    bugs. However the XMLSchema had two builds for maven 1 and maven 2 and
    these build scripts were putting the jars in two different repo
    locations. Hence I changed the maven 1 build script to have the
    correct group id ("org.apache.ws.commons").Somehow it seems that the
    snapshots are not built according to the new script.

    Rajitha, What you can do for now is to get the latest source from SVN
    from here [1] and run maven on it. that should copy the jar to the
    correct repo location. Meanwhile I'll buzz dims and see what is wrong
    with the automatic build.

    Ajith

    [1] https://svn.apache.

    7/7/06, Ruchith Fernando <ruchith.fernando (AT) gmail (DOT) comwrote:
    Hi Rajith,

    Please make sure you have the latest XmlSchema-SNAPSHT.jar in you
    local maven repo.

    If you were building with the "-o" options please try without it.

    Thanks,
    Ruchith

    7/7/06, Rajith Attapattu <rajith77 (AT) gmail (DOT) comwrote:
    btw, when I checked the soource repository

    does not have the method getMetaInfoMap() .

    So is this latest XmlSchemaType not checked into svn or a problem
    with
    ExtensionUtility?

    A quick fix is appreciated :-)

    -Regards

    Rajith
    --
    7/6/06, Rajith Attapattu <rajith77 (AT) gmail (DOT) com wrote:

    Hi All,

    I get the following compilation errors and would be
    gratefull if somebody
    can shed some light !!
    Is there an updated XmlSchema version on maven repos? or is the
    ExtensionUtility out of date?

    Btw I am on the lates revision.

    -Rajith

    java:compile:
    [echo] Compiling to
    /
    [javac] Compiling 14 source files to
    /
    [javac]
    /

    cannot find symbol
    [javac] symbol : method getMetaInfoMap()
    [javac] location: class

    [javac] Map metaInfoMap =
    eltSchemaType.getMetaInfoMap();
    [javac] ^
    [javac]
    /

    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    xsElt.addMetaInfo(

    ,
    [javac] ^
    [javac]
    /

    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String
    ,java.lang.String)
    [javac] location: class

    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /

    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class

    [javac] schemaType.addMetaInfo(
    [javac] ^
    [javac]
    /

    cannot find symbol
    [javac] symbol : method addMetaInfo(
    java.lang.String,java.lang.String)
    [javac] location: class

    [javac] xsElt.addMetaInfo(
    [javac] ^
    [javac]
    /

    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    referencedElement.addMetaInfo(SchemaConstants.

    ,
    [javac] ^
    [javac]
    /

    cannot find symbol
    [javac] symbol : method addMetaInfo(
    java.lang.String,java.lang.String)
    [javac] location: class

    [javac]
    complexType.addMetaInfo(SchemaConstants.
    ,
    [javac] ^
    [javac]
    /

    cannot find symbol
    [javac] symbol : method addMetaInfo(java.lang.String
    ,java.lang.String)
    [javac] location: class

    [javac]
    simpleType.addMetaInfo(SchemaConstants.
    ,
    [javac] ^
    [javac]
    /

    cannot find symbol
    [javac] symbol : method
    addMetaInfo(java.lang.String,java.lang.Boolean)
    [javac] location: class

    [javac]
    simpleType.addMetaInfo(SchemaConstants.
    ,
    [javac] ^
    [javac] 9 errors
    >
    >
    >
    >
    >
    >

Re: Build failed


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Apache"

EMSDN.COM