' s:RemoteObject ' is not allowed to follow ' fx:Declarations '

Hi,
I am new to Flex.
I have the following hello.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Declarations>
    <s:RemoteObject /></fx:Declarations> 
</s:Application>
 I am getting:Parse error: '<s:RemoteObject>' is not allowed to follow '<fx:Declarations>'. hello.mxml/hello/src line 6 Flex Problem
I am using
FlashBuilder plugin 4.0.1
Flex SDK 4.1
Eclipse Gallileo SR2
I have removed eclipse/flash builder plugin and started with a fresh installation but I still get the same error.
Something must be wrong somewhere.
Thanks.

Hi Levent
After some research, i got discovered a solution for this turkish region spesific problem
Just add these two lines in your mxmlc task as nested parameters.
  <jvmarg value="-Duser.country=US"/>
<jvmarg value="-Duser.language=en"/>
Full build.xml :
<?xml version="1.0" encoding="utf-8"?>
<project name="My Project" default="main" basedir=".">
<taskdef resource="flexTasks.tasks" classpath="../Adobe Flash Builder 4/sdks/4.0.0/ant/lib/flexTasks.jar"/>
<property name="FLEX_HOME" value="../Adobe Flash Builder 4/sdks/4.0.0"/>
<property name="APP_ROOT" value="../My Project"/>
For some valuable information : http://www.likyateknoloji.com/phpBB3/viewtopic.php?f=3&t=16
<target name="main">
     <mxmlc fork="true" file="${APP_ROOT}/src/com/likya/tloslite/TlosLiteWeb.mxml" keep-generated-actionscript="true">
          <jvmarg value="-Duser.country=US"/>
          <jvmarg value="-Duser.language=en"/>
          <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
          <source-path path-element="${FLEX_HOME}/frameworks"/>
     </mxmlc>
</target>
</project>

Similar Messages

  • Help regarding Materialized view ( subquery expression not allowed here )

    Hi all,
    while creating materialized view i got following error
    ORA- 22818
    subquery expression not allowed here
    following is my query
    CREATE  MATERIALIZED VIEW MV_NAV_REC
    BUILD IMMEDIATE
    REFRESH COMPLETE ON DEMAND
    as
    select folio_no FOLIONO,CHKDIGIT as Check_Digit,sch_code SCHEMECODE, sysdate as FOLIODATE ,
         (select case when count(distinct SUBBROKERCODE) =1 then to_char(max(SUBBROKERCODE)) else 'Multiple Broker' end   from transaction_st
         where folio_no = tst.folio_no
         group by  folio_no)  ARN_Number ,
         (select sum(case when tran_type in ('PURCHASE','SWITCH IN') then UNITS else 0 - UNITS end ) from transaction_st
         where folio_no = tst.folio_no AND SCH_CODE = tst.sch_code
         group by  folio_no,sch_code)  NUM_UNITS_NEW ,
    --SUM (case when tran_type NOT in ('REDEMPTION','SWITCH OUT') THEN UNITS ELSE 0 - UNITS END )  AS  Num_Units,
         (select sum(case when tran_type in ('PURCHASE','SWITCH IN') then AMOUNT else 0 - AMOUNT end ) from transaction_st
         where folio_no = tst.folio_no AND SCH_CODE = tst.sch_code
         group by  folio_no,SCH_CODE) as NUM_AMOUNT_NEW ,
    --SUM (case when tran_type NOT in ('REDEMPTION','SWITCH OUT') THEN AMOUNT ELSE 0 -AMOUNT  END )  AS  Scheme_Amount,
    sum(  CASE WHEN upper(tran_type) NOT in ('REDEMPTION','SWITCH OUT') THEN
                 units * (select nav_rs from nav_rec where nav_rec.sch_code = tst.sch_code and nav_rec."Date" = /*trunc(sysdate)*/to_date('23/03/2009','dd/mm/yyyy'))
               ELSE  (0 - units) * (select nav_rs from nav_rec where nav_rec.sch_code = tst.sch_code and nav_rec."Date" = /*trunc(sysdate)*/to_date('23/03/2009','dd/mm/yyyy')) END  ) Scheme_Valuation ,
    null as SCHEMEPHRASEID ,
    null as "Prefered Mode of SOA",
    (  select sum(      case when upper(tran_type) NOT in ('REDEMPTION','SWITCH OUT') THEN AMOUNT ELSE 0 - AMOUNT END  ) from transaction_st t where t.folio_no = tst.folio_no group by folio_no )  as Folio_Amount,
                   select sum(CASE when upper(tran_type) NOT in ('REDEMPTION','SWITCH OUT') THEN
                                              units * ( select nav_rs from nav_rec where nav_rec.sch_code = ts.sch_code and nav_rec."Date" = /*trunc(sysdate)*/to_date('23/03/2009','dd/mm/yyyy'))
                                  ELSE
                                      (0 - units) * ( select nav_rs from nav_rec where nav_rec.sch_code = ts.sch_code and nav_rec."Date" = /*trunc(sysdate)*/to_date('23/03/2009','dd/mm/yyyy')) END     
                                  )  from transaction_st ts where ts.folio_no =tst.folio_no  group by ts.folio_no
    ) as Folio_Valuation
    from transaction_st   tst 
    group by folio_no ,sch_code,CHKDIGIT
    order by folio_no , SCH_CODE
    please help me

    Hi,
    You cannot use scalar subqueries in a materialized view.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4110947624538#22981269011674
    edit
    From 10g doc:
    ORA-22818: subquery expressions not allowed here
    Cause: An attempt was made to use a subquery expression where these are not supported.
    Action: Rewrite the statement without the subquery expression.
    (http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e19400.htm#sthref6020)
    Edited by: hoek on Jun 10, 2009 7:56 AM

  • SQLException: Access not allowed (problem with ACL)

    Hi, I'm getting the following error when I start my Weblogic (7.0) server.
    java.sql.SQLException: weblogic.common.ResourceException: Access not allowed
    I followed these steps to Provide the necessary ACl permisiions:
    1.     Compatibility Security => ACLs
    Create a new ACL:
    name : weblogic.jdbc.connectionPool.yourPoolname
    permission : admin
    group : Administrators
    2. Create a new Connection Pool:
    ACL Name : weblogic.jdbc.connectionPool.yourPoolname
    In 'Target' tab, choose server and click the Apply button.
    I even checked fileRealm.properties, the user admin123 (the user name with which I start the server), is included in all the connectionpool ACL lists. I restarted the server to pick the new changes but it still gives the same errors.
    Please help,
    Thanks

    You need to create the correct ACL for the DataSource following this procedure in the Administration Console:
    1. Compatibility Security => ACLs
    Create a new ACL:
    name : weblogic.jdbc.connectionPool.yourPoolname
    permission : admin
    group : Administrators
    2. Compatibility => click Refresh button
    3. Services => JDBC => Connection Pool
    Create a new Connection Pool:
    ACL Name : weblogic.jdbc.connectionPool.yourPoolname
    In 'Target' tab, choose server and click the Apply button.
    4. Services => JDBC => Data Sources
    You can create a new Data Source using this connection pool successfully
    Regards,
    Prasanna Yalam

  • Having a problem with Firefox using Hotmail email. Inbox - as checking messages it freezes up or a 1 item window follows cursor and does not allow you to enter

    I am having a problem accessing Hotmail email messages via Fireflox server. When I am in the Inbox, reviewing messages, it either freezes up or a "1 item" small icon window follows cursor and does not allow me to enter messages or do anything. Have to log off and start over. Suggestions>?

    Can you detect any pattern to it, whether related to messages with attachments, or particular advertising on the page, etc.?
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    1. Clear Firefox's Cache
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Offline Storage : "Clear Now"
    2. If needed, delete the site's cookies here
    While viewing a page on the site, right-click and choose View Page Info > Security > "View Cookies"
    (Usually the dialog will refer to live.com rather than hotmail.com, that's normal.)
    Then try reloading the page and logging in again. Does that help?

  • I am getting the following error: Unable to authenticate the package: B_SPACE_NUTRITION.itmsp                     ERROR ITMS-9000: "OPS/ibooks.ncx(5): element "content" not allowed yet; missing required element "navLabel"" at Book (MZItmspBookPackage)

    I am getting the following error when attempting to deliver my iBooks Author book package via iTunes Producer: "
    Unable to authenticate the package: B_SPACE_NUTRITION.itmsp
                        ERROR ITMS-9000: "OPS/ibooks.ncx(5): element "content" not allowed yet; missing required element "navLabel"" at Book (MZItmspBookPackage)"
    I understand that there's something wrong with the TOC file (.ncx), but I have tried everything and nothing seems to work. Every section of the TOC is labeled, so not sure why the navLabel issue is happenening.
    Any help is GREATLY appreciated! Thank you.

    Similar issues looks like. Are you using a template other than those in iBooks Author? That's what I did, and that was definitely part of the issue.
    After digging through .ibooks code for hours and still not seeing the problem, I decided to reach out to one of the Apple epub conversion affiliates in iTunes Connect. They said they could repair the file without a problem, started working on it, only to come back a week later and say they couldn't work on .ibooks or .iba files yet.
    So, in complete frustration, I decided to transfer my content page by page from the blank template I downloaded from a vendor online to one of the "textbook" templates in IBA. This was a long process as I had to unlock and clear out the formatting of the template. But, once that was done and content was transferred over, all was good. I submitted/delivered the same content and preview book within the new template and it went right through the first time (all metadata was exactly the same as well).
    Now, the iBookstore approval waiting process begins!
    Good luck!

  • TS1440 I followed all of the directions after seeing that my laptop flashed the folder with the question mark. But when I went to disk utility to repair/ verify issues w/ start up disk it would not allow me to.button to repair/verify is there but cant be

    I followed all of the directions after seeing that my laptop flashed the folder with the question mark. But when I went to disk utility to repair/ verify issues w/ start up disk it would not allow me to. The buttons to repair and modify we're there but they were grey and couldn't be pressed.

    Were you trying to repair the disk you were booted from? You can't do that - you need to boot from your install disk, and choose 'Disk Utility' from the 'install' menu.

  • Has anyone been able to upload an ibooks file with audio only files (m4a) in it? I keep getting the following error message during the upload in iTunes Producer: ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets.

    Has anyone been able to upload an ibooks file with audio only files (m4a) in it? I keep getting the following error message during the upload in iTunes Producer: ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets. then it names the file as an m4p file. Everything works beautifully on the iPad through Preview, and validates through iTunes Producer up until the attempted upload. If you've been able to accomplish this, please let me know how you prepared your audio files. Many thanks.

    Hello Fellow iBook Authors!
    Today I received the same error that you all have been discussing.  I tried selecting the DRM
    and this did not work for me, though I'm glad it did for some.  Here's what I did as a work-around. . .
    Since iBooks Author did not have a problem with Videos, I simply used one of my video programs, ScreenFlow to turn the audio into a video file m4v.  I added an image and extended the length or timing of the image to span the length of the audio file.  Then exported as an .mov.  I then opened QuickTime and opened the file and exported the file to iTunes. 
    You can use iMovie, Camtasia or any other progam that will allow you to export the audio as a movie file.  Does this make sense?  I hope this helps, at least in the short-term.
    Michael Williams

  • TS2621 i'm getting the following message "The recipient was rejected by the server because it does not allow relaying."

    I cant send email.  I get the following message "The recipient was rejected by the server because it does not allow relaying."

    Try going into Settings > Mail, Contacts, Calendars > select the account > account name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email account and password and see if it then works

  • I just bought Adobe Acorbat DC, but it want old series No. or not allow me to use. the question is I have no that kind of No. the old one is a trial, even follow "find your series No" solution, my account & order history was blank, please tell me what sho

    I just bought Adobe Acorbat DC, but it want old series No. or not allow me to use. the question is I have no that kind of No. the old one is a trial, even follow "find your series No" solution, my account & order history was blank, please tell me what should I do now@ !

    this page shows the 'full' version (more expense ~$500 u.s.) and the 'upgrade' version (less expensive ~$200 u.s.), Plans and pricing | Adobe Acrobat DC
    if you bought the less expensive one you must own a qualifying (acrobat X or acrobat XI) version

  • Pages 2.0.2 in Palatino will not allow capital O followed by forward slash but insists on converting it into Sandinavian Ø. How can I stop it?

    Pages 2.0.2 in Palatino will not allow capital O followed by forward slash but insists on converting it into Sandinavian Ø. How can I stop it?

    The best way to stop it is to get rid of the obsolete font.  Palatino 3.8 from 2006 should normally also be present as part of iLife/iWork and it works correctly. 

  • HT1430 When sending a message to some email recipients, appears the following message "The recipient X was rejected by the server because it does not allow relaying.

    When sending a message to some email recipients, appears the following message "The recipient X was rejected by the server because it does not allow relaying.

    See the previous discussions on the right side of the page under the heading "More Like This". The one with the green checkmark was solved.

  • Firefox doesn't know how to open this address, because one of the following protocols (itms-service) isn't associated with any program or is not allowed in this

    Firefox doesn't know how to open this address, because one of the following protocols (itms-services) isn't associated with any program or is not allowed in this context.
    You might need to install other software to open this address."
    tried to fix in about:config but itms-services not foundn; also tried to fix using network.protocol-handler.external.foo but that wasn't listed either
    trying to download an app related to a rewards gift card
    firefox and os versions are up to date on MacBook Air

    Hello!
    Would you please provide the link you were trying to visit?
    Also, you may want to post this question to the [https://support.mozilla.org/en-US/questions/new/desktop Firefox for Desktop Support Forum] . The Mozilla Support volunteers there may be able to better assist you.
    I hope we can help you solve your problem.

  • I keep getting the following message when trying to send email, email rejected by server because it does not allow relaying

    when trying to send emails on my Iphone i get the message
    email rejected by server because it does not allow relaying
    can anyone help me with this problem

    Go into Settings>Mail, Contacts, Calendars>your account>Outgoing mail ServerSMTP>Primary Server then turn Server ON and fill in both User Name +Passwordunder Outgoing Mail Server.

  • HT200189 Updated 10.9.1 but will not allow me to install VPN Update

    Updated OS X to to v. 10.9.1 and restarted computer twice, but will not allow me to select a destination for VPN Update for OS X Server software; error says "VPN Update for OS Server can't be installed on this disk (MacIntosh HD). This volume does not meet requirements for this update.
    I also updated OS X Server from the App Store to latest 3.0.1. and still does not allow me to install the VPN update.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select
    /var/log ▹ install.log
    from the hierarchical list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar. Then select the messages from the last installation or update attempt, starting from the time when you initiated it. If you're not sure when that was, start over and note the time. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • Not allowing to change the plants in me51n transaction

    hi all,
    my requirement is to not allow the user to use different plants at item level(10,20 etc) . for that i have used the user exit MEREQ001 in the function module EXIT_SAPLMEREQ_010
    i have written following code
    DATA : WA_EBAN LIKE EBAN,
           WA_EBAN1 LIKE EBAN.
    IF SY-TCODE EQ 'ME51N'.
      READ TABLE IM_T_EBAN INTO WA_EBAN INDEX 1 TRANSPORTING WERKS .
      IF SY-SUBRC EQ 0.
        LOOP AT IM_T_EBAN INTO WA_EBAN1 WHERE WERKS NE WA_EBAN-WERKS.
          IF SY-SUBRC EQ 0.
             MESSAGE ID 'ZM' TYPE 'E' NUMBER '305'.
          ENDIF.
          ENDLOOP.
    ENDIF.
    ENDIF.
    iam able to trigger tha error message when we use diffferent plants at item level.but after that iam not able to change the plants in iten level.so please can anyone suggest me how to solve this problem
    thanks in advance
    rama.

    This OSS [Note 383725 - Enhancement MEREQ001 various problems|https://service.sap.com/sap/support/notes/383725] may help you.
    Regards

Maybe you are looking for

  • E 72 memory card problem

    I just got a E 72 on contract europian version, The phone was supplied with 4 GB memory card but acording to file manager it is full only 929 mb is free space, event this does not actually having more than a few kb's of pre-installed data. Few of my

  • I am a total beginner - I have the i Mac, now I need the program.

    Hi I need to decide which program is best for me.  I am a freehand illustrator and this has been fine in the past but now I am entering the world of publishing I need to be able to make changes to my art quickly and ensure correct colour representati

  • Problem resizing ITunes Window

    Somehow my ITunes window has gotten supersized, adn I can't get to the bottom toresize it. Using the button only gives me an abbreviated ITunes window which can't be resized. What can I do?

  • (Minor?) Bug:  ACR Preferences file does not match ACR version number

    This may be of no major consequence (I don't know one way or the other) but the preferences file for ACR 4.2 on my Mac shows up as "Adobe Camera Raw 4.1 Prefs", even after trashing it and letting ACR rebuild it.

  • STO for semi finished product along with returnable package

    Dear Experts, I am transferring semi finished product along with returnable package from Manufacturing to depot, for that i am creating purchase order (two line items in po, one is semi finish and other is returnable package) and creating delivery th