Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Problems Flex & Java

Avatar

Level 2
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 Reply

Avatar

Level 2
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