3 Replies Latest reply on Mar 5, 2012 12:20 AM by venky_123

    Can not resolve a multiname reference unambiguously- OSMF build from scratch

    venky_123

      Hi

       

      I am trying to build OSMF from scratch and I have been following the Building OSMF and OSMF based projects guide published by adobe.

       

      I've been doing everything by the guide but when I try to compile the project, which is the unmodified trunk from SVN, I get the following error (see below). I did a fair bit of googling but to no avail. Please Help me out!

       

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\D

      RMAdditionalHeaderParser.as: Error: Can not resolve a multiname reference unambi

      guously. org.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk

      \buildtools\sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Bas

      e64Decoder)) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\frame

      work\OSMF\org\osmf\utils\Base64Decoder.as) are available.

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      anifestParser.as(137): col: 26 Error: Access of undefined property DateUtil.

          [compc]

          [compc]                             manifest.startTime = DateUtil.parseW3CDT

      F(root.nmsp::startTime.text());

          [compc]                                                  ^

          [compc]

          [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

      anifestParser.as(680): col: 18 Error: Type was not found or was not a compile-ti

      me constant: Base64Decoder.

          [compc]

          [compc]                                     var decoder:Base64Decoder = new

      Base64Decoder();

          [compc]                                                 ^

          [compc]

       

       

       

      Thanks!!

        • 1. Re: Can not resolve a multiname reference unambiguously- OSMF build from scratch
          venky_123 Level 1

          This is my entire log on compilation-

           

          E:\OSMF\OSMF SVN\trunk>ant

          Buildfile: E:\OSMF\OSMF SVN\trunk\build.xml

           

           

          all:

           

           

          build:

           

           

          compile.osmf:

           

           

          clean-bin:

           

           

          build:

             [delete] Deleting: E:\OSMF\OSMF SVN\trunk\framework\OSMF\OSMF-build-config.tm

          p.xml

               [copy] Copying 1 file to E:\OSMF\OSMF SVN\trunk\framework\OSMF

              [compc] Loading configuration file E:\OSMF\OSMF SVN\trunk\framework\OSMF\OSM

          F-build-config.tmp.xml

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          anifestParser.as: Error: Can not resolve a multiname reference unambiguously. or

          g.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\buildtools

          \sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base64Decoder)

          ) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\o

          rg\osmf\utils\Base64Decoder.as) are available.

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\B

          ootstrapInfoParser.as: Error: Can not resolve a multiname reference unambiguousl

          y. org.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\build

          tools\sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base64Dec

          oder)) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\O

          SMF\org\osmf\utils\Base64Decoder.as) are available.

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          ediaParser.as: Error: Can not resolve a multiname reference unambiguously. org.o

          smf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\buildtools\sd

          ks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base64Decoder)) a

          nd org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\

          osmf\utils\Base64Decoder.as) are available.

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\D

          RMAdditionalHeaderParser.as: Error: Can not resolve a multiname reference unambi

          guously. org.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk

          \buildtools\sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Bas

          e64Decoder)) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\frame

          work\OSMF\org\osmf\utils\Base64Decoder.as) are available.

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          anifestParser.as: Error: Can not resolve a multiname reference unambiguously. or

          g.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\buildtools

          \sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base64Decoder)

          ) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\o

          rg\osmf\utils\Base64Decoder.as) are available.

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          anifestParser.as: Error: Can not resolve a multiname reference unambiguously. or

          g.osmf.elements.f4mClasses:DateUtil (from E:\OSMF\OSMF SVN\trunk\buildtools\sdks

          \4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:DateUtil)) and org.

          osmf.utils:DateUtil (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\utils\D

          ateUtil.as) are available.

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\B

          ootstrapInfoParser.as: Error: Can not resolve a multiname reference unambiguousl

          y. org.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\build

          tools\sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base64Dec

          oder)) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\O

          SMF\org\osmf\utils\Base64Decoder.as) are available.

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          ediaParser.as: Error: Can not resolve a multiname reference unambiguously. org.o

          smf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\buildtools\sd

          ks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Base64Decoder)) a

          nd org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\

          osmf\utils\Base64Decoder.as) are available.

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\D

          RMAdditionalHeaderParser.as: Error: Can not resolve a multiname reference unambi

          guously. org.osmf.elements.f4mClasses:Base64Decoder (from E:\OSMF\OSMF SVN\trunk

          \buildtools\sdks\4.5.1\frameworks\libs\osmf.swc(org.osmf.elements.f4mClasses:Bas

          e64Decoder)) and org.osmf.utils:Base64Decoder (from E:\OSMF\OSMF SVN\trunk\frame

          work\OSMF\org\osmf\utils\Base64Decoder.as) are available.

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          anifestParser.as(137): col: 26 Error: Access of undefined property DateUtil.

              [compc]

              [compc]                             manifest.startTime = DateUtil.parseW3CDT

          F(root.nmsp::startTime.text());

              [compc]                                                  ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          anifestParser.as(680): col: 18 Error: Type was not found or was not a compile-ti

          me constant: Base64Decoder.

              [compc]

              [compc]                                     var decoder:Base64Decoder = new

          Base64Decoder();

              [compc]                                                 ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          anifestParser.as(680): col: 38 Error: Call to a possibly undefined method Base64

          Decoder.

              [compc]

              [compc]                                     var decoder:Base64Decoder = new

          Base64Decoder();

              [compc]

          ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\B

          ootstrapInfoParser.as(92): col: 17 Error: Type was not found or was not a compil

          e-time constant: Base64Decoder.

              [compc]

              [compc]                             var decoder:Base64Decoder = new Base64De

          coder();

              [compc]                                         ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\B

          ootstrapInfoParser.as(92): col: 37 Error: Call to a possibly undefined method Ba

          se64Decoder.

              [compc]

              [compc]                             var decoder:Base64Decoder = new Base64De

          coder();

              [compc]                                                             ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          ediaParser.as(67): col: 16 Error: Type was not found or was not a compile-time c

          onstant: Base64Decoder.

              [compc]

              [compc]                     var decoder:Base64Decoder;

              [compc]                                 ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          ediaParser.as(147): col: 19 Error: Call to a possibly undefined method Base64Dec

          oder.

              [compc]

              [compc]                             decoder = new Base64Decoder();

              [compc]                                           ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          ediaParser.as(154): col: 19 Error: Call to a possibly undefined method Base64Dec

          oder.

              [compc]

              [compc]                             decoder = new Base64Decoder();

              [compc]                                           ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\M

          ediaParser.as(187): col: 19 Error: Call to a possibly undefined method Base64Dec

          oder.

              [compc]

              [compc]                             decoder = new Base64Decoder();

              [compc]                                           ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\D

          RMAdditionalHeaderParser.as(91): col: 17 Error: Type was not found or was not a

          compile-time constant: Base64Decoder.

              [compc]

              [compc]                             var decoder:Base64Decoder = new Base64De

          coder();

              [compc]                                         ^

              [compc]

              [compc] E:\OSMF\OSMF SVN\trunk\framework\OSMF\org\osmf\elements\f4mClasses\D

          RMAdditionalHeaderParser.as(91): col: 37 Error: Call to a possibly undefined met

          hod Base64Decoder.

              [compc]

              [compc]                             var decoder:Base64Decoder = new Base64De

          coder();

              [compc]                                                             ^

              [compc]

           

           

          BUILD FAILED

          E:\OSMF\OSMF SVN\trunk\build.xml:15: The following error occurred while executin

          g this line:

          E:\OSMF\OSMF SVN\trunk\build.xml:22: The following error occurred while executin

          g this line:

          E:\OSMF\OSMF SVN\trunk\build.xml:53: The following error occurred while executin

          g this line:

          E:\OSMF\OSMF SVN\trunk\framework\OSMF\build.xml:14: The following error occurred

          while executing this line:

          E:\OSMF\OSMF SVN\trunk\buildtools\utils.xml:107: compc task failed

           

           

          Total time: 56 seconds

          • 2. Re: Can not resolve a multiname reference unambiguously- OSMF build from scratch
            Flex harUI Adobe Employee

            There’s a Base64Decoder in the rpc.swc.  You may need to modify the imports, libraries, or some code to get around the error.

            • 3. Re: Can not resolve a multiname reference unambiguously- OSMF build from scratch
              venky_123 Level 1

              Hi

               

              I had to remove this file to get it working - buildtools\sdks\4.5.1\frameworks\libs\osmf.swc

               

              Thanks!