Flash Builder 4.5 the import could not be found

I just upgraded from Flash Builder 4 to 4.5 and have imported  one of my FB 4 projects.  I am now seeing an orange question mark in  the gutter next to all of my import statements that are importing local  classes (as well as everywhere the said class methods are used) and an  orange underline appears under the import statement.  When I hover over  the underline it says that the import could not be found. 
The class files do in fact exist and the project compiles and runs without a problem (I use ANT to build this project).
If I open one of the class files in question then change something  (i.e press space bar) and hit save then go back to the file importing it  the orange question mark is gone for that import, I get the code assist  and CTL+Click links me to the class file.  However, if I close that  file and reopen it again cannot find the class file.
The classes in question are stored under my project's src dir as:
- src
  +---com
      +---myappname
          +---services
          +---utils
          etc...
and my import statements look like:
import com.myappname.utils.*;
import com.myappname.services.remoteService;
Any ideas?  Is this a FB 4.5 "enhancement"?  I've tried deleting and  re-importing the project, refreshing the project and am now kind of at a  loss of what to do.  It's annoying enough that I may need to downgrade  to 4.

Thanks for the reply srvikram13, I really appreciate it.
Unfortunately this did not solve my problem.  The application was developed in Flex sdk 4.1 and I have installed the 4.1 sdk and told the Flex Compiler to use that specific sdk to no avail (I even re-tried per your post, but no success).  The fact is that the project compiles fine with either 4.1 or 4.5 sdk, it just has issues finding the imorted classes until I manually open the class files.
Further debugging and info:
I actually thought I had it fixed for a second.  I renamed my "com" directory and right clicked on "src" and chose "New" > "Package" then repeated that for each directory under "com".  I then closed FB and in windows explorer copied my original com directories into the new one created by FB.  When I launched FB and opened the main file all my imports were recognized!  I then closed FB and re-opened again to see if it was truly fixed and ... epic fail.  The squiggly underlines are back and FB doesn't recognize any reference to them.
I also found that even if I navigate to the class files in the Package Explorer then right click on the file and choose properties, then click cancel (never opening or changing anything) the reference to that specific file is now valid... at least until I close and reopen FB.
Any other ideas?

Similar Messages

  • AIR 2.0 SDK installed but Flash Builder still giving error "NetworkInterface could not be found."

    Hi there,
    I am trying to retrieve the users MAC address to implement an authorization process on a AIR application. I have read that this is possible with the latest version of the AIR SDK (2.0).
    I am developing in Flash Builder and have discovered that it does not ship with the latest AIR SDK. Therefore I have tried two seperate solutions:
    1) Following these instructions for overlaying the latest AIR SDK onto the current Flex SDK.
    http://kb2.adobe.com/cps/495/cpsid_49532.html
    2) Downloading the latest Flex SDK (4.1) and using that.
    In both of these cases Flash Builder then recognises the NetworkInterface and NetworkInfo classes implying that the overlaying of the AIR SDK has been successfully. However when I then run the app the debugger throws an error on the following line:
    LINE:
    var results:Vector.<NetworkInterface> = NetworkInfo.networkInfo.findInterfaces();
    Note: I have imported both classes as well.
    ERROR:
    VerifyError: Error #1014: Class flash.net::NetworkInterface could not be found.
    Whilst it throws the above error it also traces the following text to the console:
    outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ Main$]
                           [Main[O] *[A]] {} ()
      0:debugfile "E:\Projects\ABETA\ABETA-AIRapp\flash-air\code;;Main.as"
                           [Main[O] *[A]] {} ()
      2:debugline 73
                           [Main[O] *[A]] {} ()
      4:getlocal0
                           [Main[O] *[A]] {} (Main[O])
      5:pushscope
                           [Main[O] *[A]] {Main[O]} ()
      6:debug
                           [Main[O] *[A]] {Main[O]} ()
      11:debugline 76
                           [Main[O] *[A]] {Main[O]} ()
      13:findpropstrict flash.net::NetworkInfo
                           [Main[O] *[A]] {Main[O]} (Object[A])
      15:getproperty flash.net::NetworkInfo
                           [Main[O] *[A]] {Main[O]} (*[A])
      17:getproperty networkInfo
                           [Main[O] *[A]] {Main[O]} (*[A])
      19:callproperty findInterfaces 0
                           [Main[O] *[A]] {Main[O]} (*[A])
      22:coerce __AS3__.vec::Vector
    I am not sure what steps to take next. I haven't found much about this online. The following adobe forum page is high on the google search results but when you click through it says I am unauthorized despite being logged in:
    http://forums.adobe.com/thread/528538?tstart=0
    I would greatly appreciate any advice.
    Many thanks,
    Gareth

    Be sure to check the namespace in your application.xml descriptor file.  It needs to support "http://ns.adobe.com/air/application/2.0" in order to access AIR 2 APIs at runtime.
    Hope that helps,
    Frank
    AIR Engineering

  • A webpart or web form control on this page cannot be displayed or imported.The type could not be found or it is not registered as safe.

    Hi,
    After moving my files from SP 2010 to SP 2013 , for all my web parts i am getting A webpart or web form control on this page cannot be displayed or imported.The type could not be found or it is not registered as safe. error. I checked web.config files
    and they are there as safe control and trust level is also full. 
    These webparts work in 2010.
    Do i need to tweak something in code or distributed cache to make this thing work? The errors i see are
    Error importing WebPart. Assembly  c , Version=1.0.0.0, Culture=neutral, PublicKeyToken=216eaf49984a9b29, TypeName. C. A Web Part or Web Form Control on this Page cannot be displayed or imported. The type c Version=1.0.0.0, Culture=neutral, PublicKeyToken=216eaf49984a9b29
    could not be found or it is not registered as safe.
    Getting Error Message for Exception Microsoft.SharePoint.ApplicationRuntime.SafeControls+UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type C Version=1.0.0.0, Culture=neutral, PublicKeyToken=216eaf49984a9b29
    could not be found or it is not registered as safe.    
     at Microsoft.SharePoint.WebPartPages.WebPartImporter.CreateWebPart(Boolean clearConnections)    
     at Microsoft.SharePoint.WebPartPages.WebPartImporter.Import(SPWebPartManager manager, XmlReader reader, Boolean clearConnections, Uri webPartPageUri, SPWeb spWeb)    
     at Microsoft.SharePoint.WebPartPages.WebPartGalleryItemBase.InstantiateFromXml(XmlReader reader)    
     at Microsoft.SharePoint.WebPartPages.WebPartAdder.SiteWebPartGalleryProvider.SiteWebPartGalleryItem.Instantiate()    
     at Microsoft.SharePoint.WebPartPages.WebPartGallerySourceBase.AddItemToPage(WebPartZoneBase zone, Int32 zoneIndex, WebPartGalleryItem item, String wpid)    
     at Microsoft.SharePoint.WebPartPages.WebPartAdder.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
    An error occurred while attempting to add the gallery item [Custom] c to the page. The error was: Microsoft.SharePoint.ApplicationRuntime.SafeControls+UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The
    type c Version=1.0.0.0, Culture=neutral, PublicKeyToken=216eaf49984a9b29 could not be found or it is not registered as safe.    
     at Microsoft.SharePoint.WebPartPages.WebPartImporter.CreateWebPart(Boolean clearConnections)    
     at Microsoft.SharePoint.WebPartPages.WebPartImporter.Import(SPWebPartManager manager, XmlReader reader, Boolean clearConnections, Uri webPartPageUri, SPWeb spWeb)    
     at Microsoft.SharePoint.WebPartPages.WebPartGalleryItemBase.InstantiateFromXml(XmlReader reader)    
     at Microsoft.SharePoint.WebPartPages.WebPartAdder.SiteWebPartGalleryProvider.SiteWebPartGalleryItem.Instantiate()    
     at Microsoft.SharePoint.WebPartPages.WebPartGallerySourceBase.AddItemToPage(WebPartZoneBase zone, Int32 zoneIndex, WebPartGalleryItem item, String wpid)    
    Adit

    Hi Adit,
    According to your description, my understanding is that the error occurred when you deployed the .wsp files to SharePoint 2013.
    I recommend to check if all the assemblies are put into the BIN and GAC.
    If above cannot work, you can check the troubleshooting steps in the link below:
    http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/Post.aspx?ID=189
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.

    We have an SharePoint services 3.0 installation that uses custom web parts on 100s of subsites.  The custom web parts on any website is presenting this error
    Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.
    This past weekend we decided to create a new database server and migrate the databases to the new server in an effort to retire an old box. 
    INitially we attempted to go through the configuration wizard which didnt do anything but add a new database server to our farm.  What we have done is remove the new database server from the farm and use an alias on the SP server to continue to use
    the same name but actually get its data from the new database server.
    Everything works with the site except these custom webparts. 
    Any thoughts on where to go to first, should i redeploy what i think are the webparts from VS 2005 (solutions are VS 2005 slns.)? 
    Tony Spaulding

    You need to make Safe Control enteries in your web.config for the particular web application.
    Open web.config
    Locate the SafeControls Tag
    Make a safe control entry
    <SafeControl Assembly="Assembly name, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d8eb6481d8b4beec" Namespace="your webpart namespace" TypeName="*" Safe="True" />
    In order to find the assembly details, Open the GAC. Right click on your dll and then click properties.

  • I'm trying to import a cd to my mac air from my pc. I've downloadedAbout the Migration and DVD/CD Sharing Update. The mac recognized the pc and the cd but fails to play or import it. i get the message the cd could not be found. Suggestions?

    I'm trying to import a cd to my mac air from my pc.  downloadedAbout the Migration and DVD/CD Sharing Update. The mac recognized the pc and the cd , but fails to play or import it. i get the message the cd could not be found. Suggestions?

    You can't share/play a music CD using Remote Disk. It's a limitation that Apple built in.
    "MacBook Air and Mac mini do not support playing DVD movies or audio CD media with Remote Disc."
    Remote Disk is limited to data transfers.
    You will have to use the MBA external superdrive, or another compatible external DVD device hooked directly to the Macbook Air.
    Otherwise, you will need to rip the CD's contents using your PC and transfer the music as data files.

  • Failed to read data from report file Reason: The table could not be found.

    BO Enterprise XI R2, cannot publish crystal reports using the publishing wizard.
    Failed to read data from report file Reason: The table could not be found.
    Any ideas to get around this would really help out.
    Regards

    Connection used Views, ODBC System DSN is setup properly.
    Approach for import from business view manager and import wizard.  both methods failed to import the Business View and underlying reports.
    I figure I may have imported the Business View wrong? From Business View Manager I exported from my dev server then imported to prod server.
    Apparently I learned exporting my business view also includes the Data Connections that the Business Views are dependent upon.
    So which ever folder you specify it copies it there. Originally the all Data Connections Resides on the root folder. To return it to the original location. I deleted what I had exported. Exported this time to the root folder, then only deleted the business views, foundation, elements. Then exported again to the folder where I intended then only deleted the Data Connection.
    Makes any sense? So I then had to re point the business views and all the dependent objects to the data connection that resides in the root folder.
    I tested the connection, it works fine. I properly updated my crystal reports to the business view in production. Did a sample extract it works as expected.
    However when i try to publish, either from Crystal or Publish wizard i get the same error?
    As a work around i am thinking, after updating the business view in the crystal reports, shall i re map the fields?? or reexport the business views again?
    Any help will be surely appreciated.

  • Home sharing problem - "copy of the file could not be found"

    Hi all - I just tried to load about 2700 songs via home sharing from my old laptop to my current one.  At the end of the import, it showed that about 1200 songs did not import because "a copy of the file could not be found", something like that.  To give some context, I quickly scrolled through the songs that would not import, and all the ones I saw were songs I grabbed off of file sharing networks when i was in college years ago.  Thanks for any support - Dan
    PS Both are windows OS, the new computer using windows 7 and the old one maybe xp or something. 

    Normally the cause of this is misplaced or missing files. The iTunes library displayed in iTunes is based on information stored in its library file. One piece of this information is where the actual music file for each song is stored on your system. If the actual music file (*.mp3, *.mp4, etc.) has been moved or deleted manually then iTunes can't find the actual file that contains the music. In iTunes select Get info for these files and see where iTunes thinks they are stored. If the files aren't in that location then that's your problem. If the files have been moved then consolidating your iTunes library may be a good solution. You should read iTunes help on that operation. If the files have been deleted then they are gone and you can delete the song from iTunes. That won't get your music back but it will tidy up your iTunes library.

  • Error -2003: a data handler needed by the movie could not be found

    Hello.
    I just purchased QuickTime Pro and the MPEG-2 add-on for it, for the single purpose of transcoding some MPEG-2 recordings to H.264. However, when I try to open any of my MPEG-2 files in Quicktime, I get the message: "error -2003: a data handler needed by the movie could not be found (my-filename.mpg)"
    I can play these files in a number of different free players--VLC, Mplayer, Windows Media Player, RealPlayer... but not in the player I paid $50 for.
    Can someone please help me?

    That doesn't really help. Besides, I haven't even got to the point where I'm trying to export. I get this error message when I try to open the file. I can't even play back the clip.
    And the MPEG-2 page clearly states: "The QuickTime MPEG-2 Playback Component provides QuickTime users with the ability to import and play back MPEG-2 content, including both multiplexed (a.k.a. muxed, where the audio and video tracks are interleaved together into one track) and non-multiplexed (a.k.a. elementary) streams."
    Also, Streamclip crashes when I try to load my MPEG-2 clips, so that's not going to work (and even if it did, I am trying to find a simple way to take the HDTV content I've recorded off the air and get it onto my AppleTV--I want fewer steps, not more).
    Looks like I'll have to waste some time calling customer service to get a refund, since there's no way to do this via the website.

  • When I open iTunes it is slow to open for one, and two when it does see my iPhone and i go to sync it this is what I get in return... The iPhone "My Name here" could not be synced because the iPhone could not be found on the network. that is a pop up box

    When I open iTunes it is slow to open for one, and two when it does see my iPhone and i go to sync it this is what I get in return... The iPhone "My Name here" could not be synced because the iPhone could not be found on the network. that is a pop up box in middle of screen that says that it does it like every time I go to sync the phone after i do app updates. I am getting very frustrated by this can someone please help. I have made 2 other discussion topics about this and no replies on them. Please if anyone can help I ask for help. This has occurred ever since the iOS 5.1 update and the iTunes 10.6.0 and still continues with the iTunes 10.6.1 update just yesterday and perhaps even worse now. PLEASE HELP IF YOU CAN. I have looked through my network settings etc and everything looks good here on my side.

    When I open iTunes it is slow to open for one, and two when it does see my iPhone and i go to sync it this is what I get in return... The iPhone "My Name here" could not be synced because the iPhone could not be found on the network. that is a pop up box in middle of screen that says that it does it like every time I go to sync the phone after i do app updates. I am getting very frustrated by this can someone please help. I have made 2 other discussion topics about this and no replies on them. Please if anyone can help I ask for help. This has occurred ever since the iOS 5.1 update and the iTunes 10.6.0 and still continues with the iTunes 10.6.1 update just yesterday and perhaps even worse now. PLEASE HELP IF YOU CAN. I have looked through my network settings etc and everything looks good here on my side.

  • Crystal report error (The table '' could not be found)

    Dear Expert,
    As I know, the end user who don't want to edit the crystal report design no need to buy crystal report,right?
    Using the 'Crystal reports for SAP B1', they already view the report.
    But, how about, if I had created one crystal report, and then I want to distribute to end user. When I load the report on user machine that dont have crystal report, the system shown an error (The table '' could not be found).
    I think, maybe because of the database location. When I create the report, of course I made connection to my machine as a source of database location. But, how i'm going to change the database location to user machine?
    Is it when we login into SAP, did SAP auto detect the new location source? And will auto create connection to the crystal report?
    Thanks in advance for any help.

    Hi ,
    We do not create the database connection for the end user. the end user must have the same database connection as it is set up on your machine. The report is looking for the same connection, with the same access into the database.
    Best regards,
    Jadie

  • Error message on boot up: The file could not start C:\Windows\SysWOW64\vidperf.dll. The path could not be found?

    C:\Windows\SysWOW64\vidperf.dll  The path could not be found? What does this mean? How do I re-install this packet and eliminate this error message?
    Dell Laptop inspiron 1525 with Windows 7 Premium with open rights.

    P
    Just to eliminate the possibility please run Malwarebytes
    Please download the free version of Malwarebytes.
    Update it immediately.
    Do a full system scan
    Let us know the results at the end.
    http://www.malwarebytes.org/products
    Wanikiya and Dyami--Team Zigzag

  • I paid for and downloaded a song, but it won't play saying the file could not be found. It says this even when I click on the song IN the itunes store, so I can't even listen to the sample now??

    I paid for and downloaded a song, but it won't play saying the file could not be found. It says this even when I click on the song IN the itunes store, so I can't even listen to the sample now??
    I haven't kept records of the songs I have paid for, and a number of songs have recently been displaying this message, making me search my computer for them. Most I have been able to find, but this one immediately "disappeared" the moment I attempted to play it after downloading...... how do I either get it back or get my money back???

    How did you do this move?  Unless you know what you are doing you have to move the whole, complete iTunes folder.
    iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the new location of the library.
    Windows users see tip at: https://discussions.apple.com/message/18879381

  • The item could not be found? Moved/renamed - TURN OFF?

    So often I get this error message when using the Favorites panel in Adobe Bridge CS4:
    "The item could not be found. It may have been moved or renamed."
    Sometimes it's a misclick, sometimes I forget my external isn't plugged in and am clicking on a folder on an unavailable drive, either way that message pops up then it deletes that entry!
    Is there any way to avoid this? Sure I can readd the item later, but it's a pain to have to remember where it was, and put it back in the favorites (when the drive is reconnected, etc)
    In Mac OS X if you remove the original and have a shortcut/favorite left for it, it doesn't delete it, just puts a question mark - if you should re-insert the drive/folder etc - the ? disappears and your original Shortcut is restored - why doesn't Bridge operate like that? I'm constantly re-adding things to the Favorites panel, why?
    If there isn't a way to avoid it, I'll repost in Feature Requests.. Thanks!

    Hi Ramon-
    I get that same message all the time and the folders in my favorites are always the same and on my internal HDD... yet every time I reopen Bridge and click any favorite, I get this message.
    I wind up using Favorites as a one time use only feature... but even then, it's a PITA since I have to delete all the "moved" ones the next time I open Bridge.
    I thought this was a pref issue and have deleted plist files and recreated them but that hasn't helped.
    any ideas?
    running imac 10.6.1 and mbp 10.6.1 and CS4 (updated)
    thanks,
    tom

  • Yahoo mail starts to open an email (I can see the content) but then a message comes up saying "Whoops! The page could not be found. Try giving it another chanc"

    When i am in Yahoo mail and am opening on an email to open, the email starts to open (I can see the content of the email for a second) and then I get a screen with a message that states 'Whoops! The page could not be found. Try giving it another chance below'. But the email had been there so I don't understand that is happening. This just stated happening about a week or two ago. There is a search bar in the center of the screen and at the bottom of the error page is the following.
    Contact us | Why did I get this page?
    © 2012 Conduit

    Make sure that you access the Yahoo mail page via the Yahoo home page and not via a bookmarked link to a specific page.<br />
    The latter may include POST or GET data that is no longer valid.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    You can also check for issues caused by extensions.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Could not complete the export command because the file could not be found

    When I try to save for web, Photoshop pops up a dialog box that says "could not complete the export command because the file could not be found".
    What is the solution for this?

    Please provide more information (Photoshop version, OS, target volume, …).
    Does the file’s or one of the folders’ name contain problematic letters (slash etc.)?
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by keeping command-alt-shift/ctrl-alt-shift pressed while starting Photoshop after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)?

Maybe you are looking for

  • List View Report (theme 50 - jQuery Mobile Smartphone).

    Hi, I am creating a List View Report (theme 50 - jQuery Mobile Smartphone). I have say the following settings.. Text Column - PRODUCT_DESC Link Target - f?p=111:22:...... my PRODUCT_DESC is too long say 150 to 200 characters. When I run my applicatio

  • How do I get blank spaces out of my Ipod's music library?

    When I go to my music on my Ipod, it has a bunch of blank spaces at the top and then when I scroll down is my music. How do I get these blank spots out?

  • Can I link to specific items in a Spry dataset?

    I have a website for a community festival.  I'm using a spry dataset for the festival events http://www.horizonfest.co.uk/programme/events.html .  Visitors click on an event in the left hand column and it appears on the right. The festival programme

  • Update jar file by removing existing files

    hello, is there a way to update a jar file by removing indicated files within the jar file ? I saw that it is possible to update a jar file by adding files to it: jar uf jar-file input-file(s) I want to avoid: 1)extracting the file 2) remove indicate

  • HELP!  DVD Studio pro shows a 3GB movie as 88GB!

    I am realy in deep troubles! Doing a (volentary) documentation about my city, the final doc movie will be shown at 7.januar 2006. Since 1 1/2 year i am working on DVD projekt and nearly finished.Suddenly DVD Studio pro goes crazy. I have a lot experi