Results 1 to 3 of 3

Thread: Problems using JAXB, JAXME2 to create classes in Schema 1.4

  1. #1
    trungz
    Guest

    Problems using JAXB, JAXME2 to create classes in Schema 1.4

    Hello there,

    I was wondering if anyone has had any problems generating the java classes of the collada schema 1.4.1 using the apache implementation of JAXB?. i.e. JAXME

    Ive tried building the classes and i keep getting this error

    BUILD FAILED
    collada_schema_1_4.xsd: The global type {http://www.w3.org/2001/XMLSchema}IDREFS is no list type.

    Anyone had or know of how to fix this problem?
    Any help will be appreciated thanks

    Regards,
    Trungsta

  2. #2
    trungz
    Guest
    I also tried the Sun implementation of JAXB and i get a different error

    [echo] Compiling the schema...
    [xjc] Compiling file:/C:/SunJAXB/collada_schema_1_4.xsd
    [xjc] [WARNING] warning: "blockDefault" attribute of <schema> is not supported
    [xjc] line 3 of xml.xsd
    [xjc] [WARNING] warning: "finalDefault" attribute of <schema> is not supported
    [xjc] line 3 of xml.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.StencilTestEn ableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6878 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "StencilTestEnableType" is generated from here.
    [xjc] line 9673 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ScissorTestEn ableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6872 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ScissorTestEnableType" is generated from here.
    [xjc] line 9667 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.SampleCoverag eEnableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6866 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "SampleCoverageEnableType" is generated from here.
    [xjc] line 9661 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.SampleAlphaTo OneEnableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6860 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "SampleAlphaToOneEnableType" is generated from here.
    [xjc] line 9655 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.SampleAlphaTo CoverageEnableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6854 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "SampleAlphaToCoverageEnableType" is generated from here.
    [xjc] line 9649 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.RescaleNormal EnableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6848 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "RescaleNormalEnableType" is generated from here.
    [xjc] line 9643 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.PolygonOffset FillEnableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6818 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "PolygonOffsetFillEnableType" is generated from here.
    [xjc] line 9637 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.PointSmoothEn ableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6812 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "PointSmoothEnableType" is generated from here.
    [xjc] line 9631 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.NormalizeEnab leType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6806 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "NormalizeEnableType" is generated from here.
    [xjc] line 9625 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.MultisampleEn ableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6800 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "MultisampleEnableType" is generated from here.
    [xjc] line 9619 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LineSmoothEna bleType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6782 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LineSmoothEnableType" is generated from here.
    [xjc] line 9613 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightModelTwo SideEnableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6776 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightModelTwoSideEnableType" is generated from here.
    [xjc] line 9607 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightingEnabl eType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6596 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightingEnableType" is generated from here.
    [xjc] line 9601 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightEnableTy pe" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6317 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightEnableType" is generated from here.
    [xjc] line 9594 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.FogEnableType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6764 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "FogEnableType" is generated from here.
    [xjc] line 9582 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.DitherEnableT ype" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6758 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "DitherEnableType" is generated from here.
    [xjc] line 9576 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.DepthTestEnab leType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6752 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "DepthTestEnableType" is generated from here.
    [xjc] line 9570 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.CullFaceEnabl eType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6734 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "CullFaceEnableType" is generated from here.
    [xjc] line 9564 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ColorMaterial EnableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6728 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ColorMaterialEnableType" is generated from here.
    [xjc] line 9558 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ColorLogicOpE nableType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6722 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ColorLogicOpEnableType" is generated from here.
    [xjc] line 9552 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ClipPlaneEnab leType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6511 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ClipPlaneEnableType" is generated from here.
    [xjc] line 9545 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.BlendEnableTy pe" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6716 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "BlendEnableType" is generated from here.
    [xjc] line 9539 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.AlphaTestEnab leType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6704 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "AlphaTestEnableType" is generated from here.
    [xjc] line 9533 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.StencilOpType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6215 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "StencilOpType" is generated from here.
    [xjc] line 9509 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.StencilMaskTy pe" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6698 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "StencilMaskType" is generated from here.
    [xjc] line 9503 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.StencilFuncTy pe" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6191 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "StencilFuncType" is generated from here.
    [xjc] line 9479 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ShadeModelTyp e" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6185 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ShadeModelType" is generated from here.
    [xjc] line 9473 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ScissorTy pe" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6692 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ScissorType" is generated from here.
    [xjc] line 9467 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ProjectionMat rixType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6686 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ProjectionMatrixType" is generated from here.
    [xjc] line 9461 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.PolygonOffset Type" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6680 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "PolygonOffsetType" is generated from here.
    [xjc] line 9455 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.PointSizeMaxT ype" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6674 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "PointSizeMaxType" is generated from here.
    [xjc] line 9449 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.PointSizeMinT ype" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6668 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "PointSizeMinType" is generated from here.
    [xjc] line 9443 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.PointSizeType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6662 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "PointSizeType" is generated from here.
    [xjc] line 9437 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.PointFadeThre sholdSizeType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6656 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "PointFadeThresholdSizeType" is generated from here.
    [xjc] line 9431 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.PointDistance AttenuationType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6650 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "PointDistanceAttenuationType" is generated from here.
    [xjc] line 9425 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ModelViewMatr ixType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6644 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ModelViewMatrixType" is generated from here.
    [xjc] line 9419 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.MaterialSpecu larType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6638 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "MaterialSpecularType" is generated from here.
    [xjc] line 9413 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.MaterialShini nessType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6632 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "MaterialShininessType" is generated from here.
    [xjc] line 9407 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.MaterialEmiss ionType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6626 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "MaterialEmissionType" is generated from here.
    [xjc] line 9401 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.MaterialDiffu seType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6620 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "MaterialDiffuseType" is generated from here.
    [xjc] line 9395 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.MaterialAmbie ntType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6614 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "MaterialAmbientType" is generated from here.
    [xjc] line 9389 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LineWidthType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6608 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LineWidthType" is generated from here.
    [xjc] line 9383 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightModelAmb ientType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6590 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightModelAmbientType" is generated from here.
    [xjc] line 9377 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightSpotExpo nentType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6387 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightSpotExponentType" is generated from here.
    [xjc] line 9370 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightSpotDire ctionType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6380 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightSpotDirectionType" is generated from here.
    [xjc] line 9363 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightSpotCuto ffType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6373 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightSpotCutoffType" is generated from here.
    [xjc] line 9356 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightQuadrati cAttenuationType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6366 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightQuadraticAttenuationType" is generated from here.
    [xjc] line 9349 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightConstant AttenuationType" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6352 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightConstantAttenuationType" is generated from here.
    [xjc] line 9335 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightPosition Type" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6345 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightPositionType" is generated from here.
    [xjc] line 9328 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightSpecular Type" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6338 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightSpecularType" is generated from here.
    [xjc] line 9321 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightDiffuseT ype" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6331 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightDiffuseType" is generated from here.
    [xjc] line 9314 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LightAmbientT ype" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6324 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LightAmbientType" is generated from here.
    [xjc] line 9307 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.LogicOpTy pe" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6161 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "LogicOpType" is generated from here.
    [xjc] line 9301 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.FrontFaceType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6149 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "FrontFaceType" is generated from here.
    [xjc] line 9287 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.FogEndTyp e" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6578 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "FogEndType" is generated from here.
    [xjc] line 9281 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.FogStartT ype" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6572 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "FogStartType" is generated from here.
    [xjc] line 9275 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.FogModeTy pe" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6137 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "FogModeType" is generated from here.
    [xjc] line 9269 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.FogDensityTyp e" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6566 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "FogDensityType" is generated from here.
    [xjc] line 9263 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.FogColorT ype" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6584 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "FogColorType" is generated from here.
    [xjc] line 9257 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.DepthRangeTyp e" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6560 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "DepthRangeType" is generated from here.
    [xjc] line 9251 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.DepthMaskType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6554 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "DepthMaskType" is generated from here.
    [xjc] line 9245 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.DepthFuncType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6131 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "DepthFuncType" is generated from here.
    [xjc] line 9239 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.CullFaceT ype" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6125 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "CullFaceType" is generated from here.
    [xjc] line 9233 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ColorMaskType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6542 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ColorMaskType" is generated from here.
    [xjc] line 9227 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ClipPlaneType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6504 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ClipPlaneType" is generated from here.
    [xjc] line 9220 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ClearDepthTyp e" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6536 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ClearDepthType" is generated from here.
    [xjc] line 9214 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ClearStencilT ype" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6530 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ClearStencilType" is generated from here.
    [xjc] line 9208 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.ClearColorTyp e" is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6524 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "ClearColorType" is generated from here.
    [xjc] line 9202 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.BlendFuncType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6035 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "BlendFuncType" is generated from here.
    [xjc] line 9184 of collada_schema_1_4.xsd
    [xjc] [ERROR] A class/interface with the same name "org.collada._2005._11.colladaschema.AlphaFuncType " is already in use. Use a class customization to resolve this conflict.
    [xjc] line 6017 of collada_schema_1_4.xsd
    [xjc] [ERROR] (Relevant to above error) another "AlphaFuncType" is generated from here.
    [xjc] line 9166 of collada_schema_1_4.xsd
    [xjc] failure in the XJC task. Use the Ant -verbose switch for more details

    BUILD FAILED


    Anyone seen this before?

  3. #3
    trungz
    Guest
    Okay, so i fixed the sun jaxb implementation problem.

    Appears that the collada 1.4.1 schema doesnt like java 1.4 or jwsdl 1.4

    If you change the compiler to 5.0 and wsdl to the new 2.0 it compiles smoothly,

    But does anyone still know how to make the apache jaxb work ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •