Error: A file found in a source-path must have the same package structure

I use Adobe Flex Compiler (mxmlc) Version 4.1.0 build 16032,I have a file,named CustomGraphContainerController.as,it's directory is c:\controllers,and the GCController.as file is under the same directory,CustomGraphContainerController.as file like follows
package controllers{
import ui.GraphControlContainer;
public class CustomGraphContainerController extends GCController {
  public function CustomGraphContainerController(a_graphControlContainer:GraphControlContainer) {
   super(a_graphControlContainer);
Then I want to use mxmlc command to compile it,like follows:
C:\>mxmlc c:\controllers\CustomGraphContainerController.as
But it raise compile errors,like follows:
Loading configuration file C:\sdk\frameworks\flex-config.xml
C:\controllers\GCController.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'controllers'.
I don't know how to compile the as file with package controllers? Where is wrong? How to use mxmlc to compile it?
Thanks

HI,
     You should have one main application class to compile this as code to swf.. So that main application path should be in your proper package structure.. then you can compile you app and as files also...
Thanks
Ram..

Similar Messages

  • I get this error, A file found in the source-path must have the same package structure" (As CG)

    I took a pic
    It's really holding my project im working back. I don't know how to fix this, Someone please help me. I can do screen shareing or anything I have Teamviewer installed. Thank you soo much whoever takes the time out to help me out ! P.S I had to switch from Windows to IOS Computer, So I switched from flashDevelop to FlashBuilder. I only got this error when i converted my project to flashbuilder basically copying and pasteing the source.

    Can anybody help?

  • Error: Ref.pers.nos. must have the same legal person

    Hi All,
    I keep getting this error message when setting up a Multiple Employment for an employee.
    When I get to infotype 0121 (create RefPerNo) I get the above message.
    I only get it for a couple of employees I have tried to create a second position for and others work fine.
    I don't understand the message as the action copies all the personnel data from the primary record, so it is the same person!?! Details are identical on 0002.
    Please Help
    Sam<b></b>

    Hi SAM,
    There might be some mismatch in data or might be because of authorization.
    Let us assume, that you are using Reference Personnel number to assign different assignment for the employee, if so, you no need to maintain it in Reference number, do your Personnel Action as usual and assign different Position for the employee, so that, system recognize it as, different assignment for the same employee.
    Let us know the exact error message, you are getting while executing.
    Good Luck
    Om
    Reward it, if u feel helpful.

  • Adobe Bridge CC with OSX Yosemite - and i cant open RAW Files in Camera Raw. Does anybody have the same Problem?

    If i try to open any File with Camera Raw exactly nothing happens.

    What exact camera make and model?
    What specific, exact version of Adobe Camera Raw (ACR) plug-in?
    What specific, exact versions of Bridge and of Yosemite?
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • I found out that my 2 desktops have the same Firefox windows.

    When I opened Firefox, I found a duplicate window on my other desktop on my Mac. I tried to delete the duplicate but it ended up deleting both. Funny thing is that whenever I type something on the first one, the second one also follows it. How could I get rid of it?

    Sounds like one computer is watch-dogging the other.
    ./Has someone installed a key press spy program?

  • TS5376 I did as this article described.  The download was going smoothly until I got this error message "Click OK or enter alternate path to folder in installation package containing the file itunes.msi"   Where can I get "itunes.msi"  ??

    I did as this article described.  The download was going smoothly until I got this error message "Click OK or enter alternate path to folder in installation package containing the file itunes.msi"   Where can I get "itunes.msi"  ??

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I have an error message: "Windows cannot access the specific device, path, or file. You may not have the appropriate permission to access the item." I have re-installed and I have the same message.

    My husband click a disallow button that came up and now I can't get Firefox to work again. I uninstalled and re-installed, I upgraded to Windows 7 and still have the same error message.

    Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.<br />
    Don't remove personal data when uninstalling.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • HT1926 Have the same problem as many other users: tried to update iTunes on Windows 7 today; first message "unable to locate component- MSVCR80.dll was not found" then "iTunes was not installed correctly. Please reinstall iTunes - Error 7 (Windows error 1

    I have the same problem as many other users: updated iTunes on Windows 7 on Jan 26, 2014 and iTunes does not open.  First message "unable to locate component- MSVCR80.dll was not found" then "iTunes was not installed correctly. Please reinstall iTunes - Error 7 (Windows error 126)". When will Apple fix this? Don’t feel like uninstalling all Apple software and then re-installing it as suggested, as I am on a terribly slow internet connection while travelling in the DR Congo.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall press on)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Itunes 10 will not load on windows 7 64 bit. Error code 2324. Old Itunes is gone or not working. Cannot play anything although files are still there. What the ??? is error 2324. Seems like alot of people ar ehaving the same problem

    Itunes 10 will not load on windows 7 64 bit. Error code 2324. Old Itunes is gone or not working. Cannot play anything although files are still there. What the ??? is error 2324. Seems like alot of people ar ehaving the same problem

    I have had this problem with Windows 7 and iTunes updates for some time. Each time it takes hours to solve but with the over the air upgrade to IOS6 on my iPhone and iPad, I was determined to solve and remember what I did, So here it is:
    http://www.care4pcs.co.uk/2012/09/pear-shaped-apple-ios-6-for-iphone-ipad.html
    I hope this helps you and any other users.

  • Web Matrix FTP Remote Connection Error - "Connection Error - Failure to get file list from server. An entry with the same key already exists."

    Does anyone have experience with this issue when connecting to a Linux FTP Web Server running a FTP Site?
    "Connection Error - Failure to get file list from server. An entry with the same key already exists."
    I cannot access the root directory of the ftp file server using Web Matrix 3. The site is .php based, and
    is accessible when connecting with FileZilla or Remote Connecting via FTP with Visual Studio.
    All sites have been deleted from Web Matrix, the user Application Data has been cleared and Web Matrix has been reinstalled.
    Issue Persists....
    Thanks in advance,
    Justin

    Turns out that the program leaves metadata in your app data folder that is not removed upon uninstallation of the software.
    This is incorporated to communicate with a file that uploaded into the ftp directory when publishing pages.

  • HT2914 Hello: I am very much a novice with Final Cut. I am trying to import some video files from my desktop but keep getting an error message that says, "File error 1 file recognized, 0 access denied, 1 unknown". The file type is .mov, 35MB, 1920 x 1080,

    Hello:
    I am very much a novice with Final Cut.  I am trying to import some video files from  my desktop but keep getting an error message that says, "File error  1 file recognized, 0 access denied, 1 unknown".  The file type is .mov, 35MB, 1920 x 1080, Codec MPEG-2 video linear PCM timecode, color profile HD (1+1+1).  Can someone help?  Thanks, Paul

    You can't import MPEG-2 files directly to FCP X.
    Can you play this file in Quicktime Player? If so, then you can use the free program MPEG Streamclip to convert this to Quicktime. Use the ProRes codec.

  • Updates for PhotoshopCC and Lightroom having trouble with downloads. error , corupt files under learn more. First time in the year that I have Photoshop CC

    Download trouble today Got the message for new updates for Lightroom and Photoshop CC.   Download fails, under learn more ,, corupt files  Fist time this hapened in a year Whats the remedy?

    There's a number of potential problems here, and they may not necessarily be at your end.
    First of all, it should be clear that CMYK is not so much a generic "image mode" as it is a description of specific press conditions. If you produce final CMYK, you must have the right profile. Don't use Image > Mode, use Convert to Profile.
    Given that, I would question anyone who doesn't accept Adobe RGB photographs for a magazine article, because it implies a process that isn't properly color managed and generally not up to date. A standard workflow today would use InDesign, where images are normally placed in their original RGB space whatever that is. Then the conversion to final output CMYK is done as the last step, when producing a press-ready PDF from InDesign.
    It helps tremendously if you know that final CMYK, because then you can proof to that so your file survives the CMYK conversion with the least possible damage (we're talking gamut clipping here; not general color shifts). But it's not absolutely required, which is why this workflow is relaitively safe.
    Third, CMYK jpeg is in itself risky, because many jpeg decoders (in some software) don't have proper CMYK support. The result can be weird colors. This could well be the problem here, because it sounds as if your client uses a non-standard workflow.
    So what to do? I would send two files. One sRGB as reference, which is guaranteed to come through correctly. Then find a way to send TIFF for the CMYK version if they insist, or ask them to try opening it in different software. Of course you should have a calibrated and profiled display, but I agree that's probably not the immediate problem here. There's no particular reason a CMYK file should come back with twisted colors if it's opened and processed in properly color managed software.

  • I am trying to update itunes but keep getting 'The feature you are trying to use is on a network resource that is unavailable - Click OK to try again, or enter an alternate path folder containing the installation package 'itunes64msi' in the box below'. ,

    I am trying to update itunes but keep getting 'The feature you are trying to use is on a network resource that is unavailable - Click OK to try again, or enter an alternate path folder containing the installation package 'itunes64msi' in the box below'.
    I am unable to install and also i cannot uninstall itunes, can anyone HELP PLEASSSSSSEEEEEE!!

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Running file in the same package problem

    I have 2 java file packed in the same package:
    DBConnection.classpackage main;
    import java.sql.*;
    public class DBConnection {
    }t1.class
    package main;
    import main.DBConnection;
    import java.util.ArrayList;
    import java.util.regex.Pattern;
    import java.util.regex.Matcher;
    import java.sql.*;
    public class t1 {
    }They are packed in the same directory, the path is:
    D:\java\project1\main\DBConnection.class
    D:\java\project1\main\t1.class
    When i was in command prompt (window), I tried both of these but encounterd the following error
    D:\java\project1\main>java t1
    D:\java\project1\main>java -cp D:\java\project1\main t1
    I encountered the following errors:
    Exception in thread "main" java.lang.NoClassDefFoundError: t1 (wrong name: main/t1)
    When I tried:
    D:\java\project1\main>java -cp D:\java\project1 t1
    I got this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: t1
    Can anyone tell me the reason? Thx.

    package main;
    import main.DBConnection;You don't need to import a class in the same package.

  • How can I transfer iPhoto files from one admin user to another on the same Mac?

    i created a new admin user on my computer, so now my husband has one and so do i. how can i transfer our iphoto files from his admin user to mine as a shared file? i was able to do this with itunes easily but i am not able to do it with iphoto.

    You want to share the Library?
    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

Maybe you are looking for

  • Error 2343 when installing Photoshop Elements 10

    Error 2343: Specified path is empty. Using Windows 7 (x86)  platform I received the above error message when attempting to reinstall PSE 10.  Wizard did not give any install options but rather 1st attempted to uninstall prior PSE 10 install and fails

  • INI: XOQ-01600: OLAP DML error "ORA-4030: out of process memory" OLAP PGA S

    Hi All , While executing the cube generation I am getting an error. Anybody knows the reason ? I have amended the olap_page_pool_size to 200MB and it doesn't help at all . INI: error creating a definition manager, Generic at TxsOqConnection::generic<

  • Spotlight Search not returning future calendar entries

    I upgraded both my iPod touch and iPhone to 3.0. When I do a search for Doctors name to find both past and future appointments on my calendar, Spotlight only returns the past appointments. I know that the future appointment is in my calendar. Anyone

  • How to delete a chatroom with AIM

    I use my Aol Instant Messenger account in iChat. I've recently created a chatroom (by going to file> go to chatroom). I do not wish to be a part of this chat room anymore. Is there any way I can delete it?

  • How to Build Attribute Dimension Dynamically & Load with LCM?

    Hi, I'm trying to modify the existing outline at cilent's site. For some reason, when I pulled the outline with extractor, it didnt come out in the format that is compatible with Outline Load Utility. I was told to use LCM so I may still load with mi