0 Replies Latest reply on Oct 31, 2008 1:25 PM by Dean Schulze

    Flex Data Service example from Yakov Fain's book failing

    Dean Schulze
      I'm trying to get the stock portfolio example from the book Rich Internet Applications with Adobe Flex and Java to work with Flex Builder 3 and Flex Data Services 2.6 under JBoss. The book was written for Flex 2 and Flex Data Services 2 so maybe I need to modify something for the latest versions of those products.

      The .war file deploys on JBoss without any problems, but when I go to the URL I get this error:

      Error: No class registered for interface 'mx.styles::IStyleManager2'.
      at mx.core::Singleton$/getInstance()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\ Singleton.as:111]
      at mx.styles::StyleManager$/get impl()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\styles\StyleManager.as:78]
      at mx.styles::StyleManager$/ http://www.adobe.com/2006/flex/mx/internal::initProtoChainRoots()[E:\dev\3.1.0\frameworks\ projects\framework\src\mx\styles\StyleManager.as:144
      at PortfolioView/ http://www.adobe.com/2006/flex/mx/internal::_PortfolioView_StylesInit()[C:\dean\src\flex\f ain.book\ch05\stock-portfolio-lcds-POJO\flex_src\PortfolioView.mxml:0
      at PortfolioView()[C:\dean\src\flex\fain.book\ch05\stock-portfolio-lcds-POJO\flex_src\Portfo lioView.mxml:0]

      I have no idea why it is referring to an E: drive since I don't use one. Maybe this is some artifact from Adobe's build of its libraries.

      Does anyone have any idea what my problem is?

      Thanks.