1 Reply Latest reply on Aug 17, 2006 10:13 AM by CathyM

    Problems Flex & Java

    K_G_
      Hi I´m trying to develop a Stock Portfolio Application that is this site´s sample:
      http://java.sys-con.com/read/210991.htm

      When I was wrinting the ActionScript code that's used on the client (listing 5 from http://res.sys-con.com/story/apr06/210991/source.html ), i found this error
      A file found in a source-path must have the same package structure '', as the definition's package, 'com.theriabook.jms.dto'. Portfolio_RCP StockQuoteDTO.as /Portfolio_RCP/StockQuoteDTO.as 1155827517703 49

      Someone can help me???
      Thanks
        • 1. Re: Problems Flex & Java
          CathyM
          Similar to java, the package name refers to a directory structure. The compile error indicates that the package defined does not match the directory structure.

          myapp/Portfolio.mxml
          myapp/PortfolioView.mxml
          myapp/com/theriabook/jms/dto/StockQuoteDTO.as