[flexcoders] Re: Could not resolve * to a component implementation.
The point is that creating 2 files in the same folder, with the same case-sensitive name, is ambiguous. When you import one of the files into a component, how do you suppose that the compiler would know which one to use? It doesn't matter if its a file or class or interface or whatever. The compiler can't read your mind; yet :) Your approach of abstracting the view script code out of the view is a good idea; especially for unit tests. Just use a different name and you'll be fine. -TH --- In flexcoders@yahoogroups.com, "Brian J. Ackermann" wrote: > > So, its a class, even thought it doesn't declare a class inside the text? > > -- > Brian J. Ackermann > brian.ackerm...@... > 952.373.1626 > -- > > > > > > On Thu, Jul 1, 2010 at 10:21 PM, turbo_vb wrote: > > > > > > > Glad that you were able to resolve the problem. The AS file IS a class, and > > if it lives in the same package as the mxml component, the compiler will > > balk; because it doesn't know which one to import elsewhere. Adobe best > > practice would have you use Uppercase for the first letter of all classes. > > Renaming the script class to something like FooScript.as or FooModel.as > > might be a better way to go. > > > > Cheers, > > > > -TH > > > > --- In flexcoders@yahoogroups.com , "Brian > > J. Ackermann" wrote: > > > > > > Here's what the problem was. > > > > > > I had originally had a file called "Foo.mxml" which contained a lot of > > > ActionScript Code. I decided to create a new ActionScript FILE to contain > > > that script code. I named the file "Foo.as", to indicate the correlation > > > with the mxml file. > > > > > > Renaming this new as file to "foo.as" (lowercase f), resolves the issue. > > > > > > I'm not at all sure why this would have caused a conflict with the > > compiler, > > > since it wasn't a classbut at least I've resolved the issue. > > > > > > On Thu, Jul 1, 2010 at 7:57 AM, valdhor wrote: > > > > > > > > > > > > > > > One other thing to check. Make sure you are not using a reserved name > > for > > > > your component. > > > > > > > > > > > > --- In flexcoders@yahoogroups.com > > > > > 40yahoogroups.com>, > > > > > > "turbo_vb" wrote: > > > > > > > > > > A couple things that you can check that might help: > > > > > > > > > > Make sure that you have an import statement for the component in > > the > > > > parent class. > > > > > If your component is an AS class, make sure that the package, at > > the > > > > top of the class, is correct. > > > > > If your component is an AS component make sure that the class name, > > > > within the component, is correct. If you are using a constructor check > > that > > > > too. > > > > > > > > > > -TH > > > > > > > > > > --- In flexcoders@yahoogroups.com > > > > > > 40yahoogroups.com>, "Brian > > > > > > J. Ackermann" wrote: > > > > > > > > > > > > Hi, > > > > > > > > > > > > I'm a wee bit stuck on this, and was hoping you might have some > > input > > > > to > > > > > > help me. > > > > > > > > > > > > I'm getting the "Could not resolve * to a component > > implementation." > > > > error > > > > > > message. However, everything I've read about this via Google hasn't > > > > helped > > > > > > my case in the slightest. I presume I'm just missing something > > obvious, > > > > but > > > > > > maybe its something more serious. > > > > > > > > > > > > So, to solve this problem, I've tried two things, and both work, as > > far > > > > as > > > > > > they take me. First, I added a new component, of the exact same > > > > variety, > > > > > > and then copied the contents of the erroring component into it. I > > > > replace > > > > > > the viewstack 'page' with the new component (which as near as I can > > > > tell is > > > > > > IDENTICAL, but with a different name), and the compiler error goes > > > > away. > > > > > > > > > > > > I can also solve this by simply renaming the original component & > > > > letting > > > > > > FB4 refactor for me. The error goes away again. But if I then > > re-rename > > > > > > back to the original name, I get the compiler error again. > > > > > > > > > > > > I've tried to clean the project several times, and that doesn't > > help. > > > > > > > > > > > > I'd really like to understand what I've done wrong here. What am I > > > > missing? > > > > > > > > > > > > Thanks much! > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: [flexcoders] Re: Could not resolve * to a component implementation.
So, its a class, even thought it doesn't declare a class inside the text? -- Brian J. Ackermann brian.ackerm...@gmail.com 952.373.1626 -- On Thu, Jul 1, 2010 at 10:21 PM, turbo_vb wrote: > > > Glad that you were able to resolve the problem. The AS file IS a class, and > if it lives in the same package as the mxml component, the compiler will > balk; because it doesn't know which one to import elsewhere. Adobe best > practice would have you use Uppercase for the first letter of all classes. > Renaming the script class to something like FooScript.as or FooModel.as > might be a better way to go. > > Cheers, > > -TH > > --- In flexcoders@yahoogroups.com , "Brian > J. Ackermann" wrote: > > > > Here's what the problem was. > > > > I had originally had a file called "Foo.mxml" which contained a lot of > > ActionScript Code. I decided to create a new ActionScript FILE to contain > > that script code. I named the file "Foo.as", to indicate the correlation > > with the mxml file. > > > > Renaming this new as file to "foo.as" (lowercase f), resolves the issue. > > > > I'm not at all sure why this would have caused a conflict with the > compiler, > > since it wasn't a classbut at least I've resolved the issue. > > > > On Thu, Jul 1, 2010 at 7:57 AM, valdhor wrote: > > > > > > > > > > > One other thing to check. Make sure you are not using a reserved name > for > > > your component. > > > > > > > > > --- In flexcoders@yahoogroups.com > > > 40yahoogroups.com>, > > > > "turbo_vb" wrote: > > > > > > > > A couple things that you can check that might help: > > > > > > > > • Make sure that you have an import statement for the component in > the > > > parent class. > > > > • If your component is an AS class, make sure that the package, at > the > > > top of the class, is correct. > > > > • If your component is an AS component make sure that the class name, > > > within the component, is correct. If you are using a constructor check > that > > > too. > > > > > > > > -TH > > > > > > > > --- In flexcoders@yahoogroups.com > > > > 40yahoogroups.com>, "Brian > > > > J. Ackermann" wrote: > > > > > > > > > > Hi, > > > > > > > > > > I'm a wee bit stuck on this, and was hoping you might have some > input > > > to > > > > > help me. > > > > > > > > > > I'm getting the "Could not resolve * to a component > implementation." > > > error > > > > > message. However, everything I've read about this via Google hasn't > > > helped > > > > > my case in the slightest. I presume I'm just missing something > obvious, > > > but > > > > > maybe its something more serious. > > > > > > > > > > So, to solve this problem, I've tried two things, and both work, as > far > > > as > > > > > they take me. First, I added a new component, of the exact same > > > variety, > > > > > and then copied the contents of the erroring component into it. I > > > replace > > > > > the viewstack 'page' with the new component (which as near as I can > > > tell is > > > > > IDENTICAL, but with a different name), and the compiler error goes > > > away. > > > > > > > > > > I can also solve this by simply renaming the original component & > > > letting > > > > > FB4 refactor for me. The error goes away again. But if I then > re-rename > > > > > back to the original name, I get the compiler error again. > > > > > > > > > > I've tried to clean the project several times, and that doesn't > help. > > > > > > > > > > I'd really like to understand what I've done wrong here. What am I > > > missing? > > > > > > > > > > Thanks much! > > > > > > > > > > > > > > > > > > > > > > >
[flexcoders] Re: Could not resolve * to a component implementation.
Glad that you were able to resolve the problem. The AS file IS a class, and if it lives in the same package as the mxml component, the compiler will balk; because it doesn't know which one to import elsewhere. Adobe best practice would have you use Uppercase for the first letter of all classes. Renaming the script class to something like FooScript.as or FooModel.as might be a better way to go. Cheers, -TH --- In flexcoders@yahoogroups.com, "Brian J. Ackermann" wrote: > > Here's what the problem was. > > I had originally had a file called "Foo.mxml" which contained a lot of > ActionScript Code. I decided to create a new ActionScript FILE to contain > that script code. I named the file "Foo.as", to indicate the correlation > with the mxml file. > > Renaming this new as file to "foo.as" (lowercase f), resolves the issue. > > I'm not at all sure why this would have caused a conflict with the compiler, > since it wasn't a classbut at least I've resolved the issue. > > On Thu, Jul 1, 2010 at 7:57 AM, valdhor wrote: > > > > > > > One other thing to check. Make sure you are not using a reserved name for > > your component. > > > > > > --- In flexcoders@yahoogroups.com , > > "turbo_vb" wrote: > > > > > > A couple things that you can check that might help: > > > > > > Make sure that you have an import statement for the component in the > > parent class. > > > If your component is an AS class, make sure that the package, at the > > top of the class, is correct. > > > If your component is an AS component make sure that the class name, > > within the component, is correct. If you are using a constructor check that > > too. > > > > > > -TH > > > > > > --- In flexcoders@yahoogroups.com , "Brian > > J. Ackermann" wrote: > > > > > > > > Hi, > > > > > > > > I'm a wee bit stuck on this, and was hoping you might have some input > > to > > > > help me. > > > > > > > > I'm getting the "Could not resolve * to a component implementation." > > error > > > > message. However, everything I've read about this via Google hasn't > > helped > > > > my case in the slightest. I presume I'm just missing something obvious, > > but > > > > maybe its something more serious. > > > > > > > > So, to solve this problem, I've tried two things, and both work, as far > > as > > > > they take me. First, I added a new component, of the exact same > > variety, > > > > and then copied the contents of the erroring component into it. I > > replace > > > > the viewstack 'page' with the new component (which as near as I can > > tell is > > > > IDENTICAL, but with a different name), and the compiler error goes > > away. > > > > > > > > I can also solve this by simply renaming the original component & > > letting > > > > FB4 refactor for me. The error goes away again. But if I then re-rename > > > > back to the original name, I get the compiler error again. > > > > > > > > I've tried to clean the project several times, and that doesn't help. > > > > > > > > I'd really like to understand what I've done wrong here. What am I > > missing? > > > > > > > > Thanks much! > > > > > > > > > > > > > >
Re: [flexcoders] Re: Could not resolve * to a component implementation.
Here's what the problem was. I had originally had a file called "Foo.mxml" which contained a lot of ActionScript Code. I decided to create a new ActionScript FILE to contain that script code. I named the file "Foo.as", to indicate the correlation with the mxml file. Renaming this new as file to "foo.as" (lowercase f), resolves the issue. I'm not at all sure why this would have caused a conflict with the compiler, since it wasn't a classbut at least I've resolved the issue. On Thu, Jul 1, 2010 at 7:57 AM, valdhor wrote: > > > One other thing to check. Make sure you are not using a reserved name for > your component. > > > --- In flexcoders@yahoogroups.com , > "turbo_vb" wrote: > > > > A couple things that you can check that might help: > > > > • Make sure that you have an import statement for the component in the > parent class. > > • If your component is an AS class, make sure that the package, at the > top of the class, is correct. > > • If your component is an AS component make sure that the class name, > within the component, is correct. If you are using a constructor check that > too. > > > > -TH > > > > --- In flexcoders@yahoogroups.com , "Brian > J. Ackermann" wrote: > > > > > > Hi, > > > > > > I'm a wee bit stuck on this, and was hoping you might have some input > to > > > help me. > > > > > > I'm getting the "Could not resolve * to a component implementation." > error > > > message. However, everything I've read about this via Google hasn't > helped > > > my case in the slightest. I presume I'm just missing something obvious, > but > > > maybe its something more serious. > > > > > > So, to solve this problem, I've tried two things, and both work, as far > as > > > they take me. First, I added a new component, of the exact same > variety, > > > and then copied the contents of the erroring component into it. I > replace > > > the viewstack 'page' with the new component (which as near as I can > tell is > > > IDENTICAL, but with a different name), and the compiler error goes > away. > > > > > > I can also solve this by simply renaming the original component & > letting > > > FB4 refactor for me. The error goes away again. But if I then re-rename > > > back to the original name, I get the compiler error again. > > > > > > I've tried to clean the project several times, and that doesn't help. > > > > > > I'd really like to understand what I've done wrong here. What am I > missing? > > > > > > Thanks much! > > > > > > > >
[flexcoders] Re: Could not resolve * to a component implementation.
One other thing to check. Make sure you are not using a reserved name for your component. --- In flexcoders@yahoogroups.com, "turbo_vb" wrote: > > A couple things that you can check that might help: > > Make sure that you have an import statement for the component > in the parent class. > If your component is an AS class, make sure that the package, > at the top of the class, is correct. > If your component is an AS component make sure that the class > name, within the component, is correct. If you are using a constructor check > that too. > > -TH > > --- In flexcoders@yahoogroups.com, "Brian J. Ackermann" > wrote: > > > > Hi, > > > > I'm a wee bit stuck on this, and was hoping you might have some input to > > help me. > > > > I'm getting the "Could not resolve * to a component implementation." error > > message. However, everything I've read about this via Google hasn't helped > > my case in the slightest. I presume I'm just missing something obvious, but > > maybe its something more serious. > > > > So, to solve this problem, I've tried two things, and both work, as far as > > they take me. First, I added a new component, of the exact same variety, > > and then copied the contents of the erroring component into it. I replace > > the viewstack 'page' with the new component (which as near as I can tell is > > IDENTICAL, but with a different name), and the compiler error goes away. > > > > I can also solve this by simply renaming the original component & letting > > FB4 refactor for me. The error goes away again. But if I then re-rename > > back to the original name, I get the compiler error again. > > > > I've tried to clean the project several times, and that doesn't help. > > > > I'd really like to understand what I've done wrong here. What am I missing? > > > > Thanks much! > > >
[flexcoders] Re: Could not resolve * to a component implementation.
A couple things that you can check that might help: Make sure that you have an import statement for the component in the parent class. If your component is an AS class, make sure that the package, at the top of the class, is correct. If your component is an AS component make sure that the class name, within the component, is correct. If you are using a constructor check that too. -TH --- In flexcoders@yahoogroups.com, "Brian J. Ackermann" wrote: > > Hi, > > I'm a wee bit stuck on this, and was hoping you might have some input to > help me. > > I'm getting the "Could not resolve * to a component implementation." error > message. However, everything I've read about this via Google hasn't helped > my case in the slightest. I presume I'm just missing something obvious, but > maybe its something more serious. > > So, to solve this problem, I've tried two things, and both work, as far as > they take me. First, I added a new component, of the exact same variety, > and then copied the contents of the erroring component into it. I replace > the viewstack 'page' with the new component (which as near as I can tell is > IDENTICAL, but with a different name), and the compiler error goes away. > > I can also solve this by simply renaming the original component & letting > FB4 refactor for me. The error goes away again. But if I then re-rename > back to the original name, I get the compiler error again. > > I've tried to clean the project several times, and that doesn't help. > > I'd really like to understand what I've done wrong here. What am I missing? > > Thanks much! >
[flexcoders] Re: Could not resolve to a component implementation.
Hi Gaurav, I checked for the file (flex-sdk-description.xml) and i couldn't find it in my web app. I have the following Structure in my web app.. /WEB-INF/ -classes -flex lib -- Common JARS libs .swc files locale en_US *_rb.swc data-management-config.xml flash-unicode-table.xml flex-config.xml flex-webtier-config.xml messaging-config.xml mxml-manifest.xml proxy-config.xml remoting-config.xml services-config.xml -lib As i am able to compile the .swf files from my FlexBuilder ( I have set the default SDK to 3.0.0 in my FlexBuilder) I copied the flex-sdk-description.xml to /WEB-INF/flex/ and retsrated the tomcat but still getting the same error: ( unable to load the .swc file) unable to load SWC rpc.swc It is clear that it is trying to use Flex2 SDK ..But from where it is getting this info i am not sure.. How can i configure so that it uses Flex 3. Thanks Mars
RE: [flexcoders] Re: Could not resolve to a component implementation.
AFAIK, blazeDS doesn't include the web tier compiler - which is what you are using as per the stack trace. Can you check the flex-sdk-description.xml, I suspect you are using flex 2.0.1 and the error you are getting is due to SDK version mismatch. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sk_acura Sent: Friday, April 18, 2008 10:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Could not resolve to a component implementation. Hi Gaurav, Thanks for your response.. I have copied both thw .swc files and when i tried to run the app i am getting the Error: unable to load SWC datavisualization.swc Does this mean there is some thing wrong with the .swc File or unable to find the file itself ( I have copied the .swc files in /WEB-INF/flex/libs/ as this is where all the other .swc files are located).. Also in my flex-config.xml the library path is specified as ./user_classes ./libs ./locale/{locale} /flex I guess i am copying the .swc files in the correct location.. [ERROR] ERROR unable to load SWC datavisualization.swc at flex2.compiler.swc.SwcCache.getSwc(SwcCache.java:230) at flex2.compiler.swc.SwcCache.getSwcs(SwcCache.java:174) at flex2.compiler.swc.SwcCache.getSwcGroup(SwcCache.java:78) at flex2.compiler.swc.SwcCache.getSwcGroup(SwcCache.java:67) at flex2.compiler.CompilerSwcContext.load(CompilerSwcContext.java:52) at flex2.server.j2ee.IncrementalCompileFilter.fullCompile(IncrementalCompil eFilter.java:182) at flex2.server.j2ee.IncrementalCompileFilter.compileMxml(IncrementalCompil eFilter.java:109) at flex2.server.j2ee.BaseCompileFilter.mxmlToSwf(BaseCompileFilter.java:318 ) at flex2.server.j2ee.BaseCompileFilter.invoke(BaseCompileFilter.java:60) at flex2.server.j2ee.RecompileFilter.invoke(RecompileFilter.java:37) at flex2.server.j2ee.PathExistsFilter.invoke(PathExistsFilter.java:42) at flex2.server.j2ee.AboutFilter.invoke(AboutFilter.java:48) at flex2.server.j2ee.MxmlServlet.doGet(MxmlServlet.java:158) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at flex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:85) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2 12) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 4) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:619) [/ERROR] Regards Mars --- In flexcoders@yahoogroups.com, "Gaurav. Jain" <[EMAIL PROTECTED]> wrote: > > ADG is part of datavisualization.swc - it's not shipped with SDK, you > need to copy it from flex builder. > > You would need to enter the flex builder serial number in the > flex-config file - in order to remove the watermark. Also you will have > to copy datavisualization_rb.swc > > ~Gaurav > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of sk_acura > Sent: Friday, April 18, 2008 9:52 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Could not resolve to a > component implementation. > > Hi All, > > I am using AdvancedDataGrid in my Flex app and the SDK version i am > using is flex_sdk_3.0.0.477. > > When i build my project in FlexBuilder it doesn't give any errors. > > How ever when i deplo this App in Tomcat (with BlazeDS Jars) i am > getting the Error: > > Could not resolve to a component implementation. > > It seems the ADG is not part of SDK any more..What do i need to do > in order to resolve this.. > > I tried copying the latest .swc files (flex, utilities, framework, > rpc) from Flex SDK to My web apps > > /WEB-INF/flex/lib and i was getting the error. > > Unable to load the flex.swc > > Whe
[flexcoders] Re: Could not resolve to a component implementation.
Hi Gaurav, Thanks for your response.. I have copied both thw .swc files and when i tried to run the app i am getting the Error: unable to load SWC datavisualization.swc Does this mean there is some thing wrong with the .swc File or unable to find the file itself ( I have copied the .swc files in /WEB-INF/flex/libs/ as this is where all the other .swc files are located).. Also in my flex-config.xml the library path is specified as ./user_classes ./libs ./locale/{locale} /flex I guess i am copying the .swc files in the correct location.. [ERROR] ERROR unable to load SWC datavisualization.swc at flex2.compiler.swc.SwcCache.getSwc(SwcCache.java:230) at flex2.compiler.swc.SwcCache.getSwcs(SwcCache.java:174) at flex2.compiler.swc.SwcCache.getSwcGroup(SwcCache.java:78) at flex2.compiler.swc.SwcCache.getSwcGroup(SwcCache.java:67) at flex2.compiler.CompilerSwcContext.load(CompilerSwcContext.java:52) at flex2.server.j2ee.IncrementalCompileFilter.fullCompile(IncrementalCompileFilter.java:182) at flex2.server.j2ee.IncrementalCompileFilter.compileMxml(IncrementalCompileFilter.java:109) at flex2.server.j2ee.BaseCompileFilter.mxmlToSwf(BaseCompileFilter.java:318) at flex2.server.j2ee.BaseCompileFilter.invoke(BaseCompileFilter.java:60) at flex2.server.j2ee.RecompileFilter.invoke(RecompileFilter.java:37) at flex2.server.j2ee.PathExistsFilter.invoke(PathExistsFilter.java:42) at flex2.server.j2ee.AboutFilter.invoke(AboutFilter.java:48) at flex2.server.j2ee.MxmlServlet.doGet(MxmlServlet.java:158) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at flex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:85) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) at java.lang.Thread.run(Thread.java:619) [/ERROR] Regards Mars --- In flexcoders@yahoogroups.com, "Gaurav. Jain" <[EMAIL PROTECTED]> wrote: > > ADG is part of datavisualization.swc - it's not shipped with SDK, you > need to copy it from flex builder. > > You would need to enter the flex builder serial number in the > flex-config file - in order to remove the watermark. Also you will have > to copy datavisualization_rb.swc > > ~Gaurav > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of sk_acura > Sent: Friday, April 18, 2008 9:52 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Could not resolve to a > component implementation. > > Hi All, > > I am using AdvancedDataGrid in my Flex app and the SDK version i am > using is flex_sdk_3.0.0.477. > > When i build my project in FlexBuilder it doesn't give any errors. > > How ever when i deplo this App in Tomcat (with BlazeDS Jars) i am > getting the Error: > > Could not resolve to a component implementation. > > It seems the ADG is not part of SDK any more..What do i need to do > in order to resolve this.. > > I tried copying the latest .swc files (flex, utilities, framework, > rpc) from Flex SDK to My web apps > > /WEB-INF/flex/lib and i was getting the error. > > Unable to load the flex.swc > > When i used the one that i got with old version of Blaze it didn't > complain abt the .swc files but giving the error Could not resolve > > > Thanks > Mars > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links >
[flexcoders] Re: Could not resolve to a component implementation." problem
Hi it may be a late message but JVM causes problems on some operating systems in other than English Locale (My os is in Turkish Locale) . The workaround for this problem is to add two arguments to the jvm.config file. Those arguments overrides the local settings of the operating systems and forces jvm to run in English locale. For this workaround locate jvm.config file its generally under C:\fds2\jrun4\bin open it and add following arguments located under # Arguments to VM line to add: -Duser.language=en -Duser.region=US Best Regards Bora ÜNAL Advanced ColdFusion Developer This solves the "Could not resolve > > to a component implementation." error. --- In flexcoders@yahoogroups.com, "iamthelf" <[EMAIL PROTECTED]> wrote: > > ok i find it :] > it is because of windows's language for non-Unicode programs. somehow > it changed to Turkish. Now it is english and there is no problem. i > think it is because of the locale setting of flex compiler. > > oktay > > --- In flexcoders@yahoogroups.com, "iamthelf" wrote: > > > > hi; > > yesterday suddenly flex builder start to give "Could not resolve > > to a component implementation." error and didnt compile my > > apps. i couldnt find any solution to this. what is the problem. i also > > uninstall and reinstall the flex builder. > > here is a simple code: > > --- > > > > http://www.adobe.com/2006/mxml"; > > layout="absolute"> > > > > > > > > > > > > > > > > --- > > but it shows the same error for that code too. i need help urgently. > > > > oktay > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Could not resolve to a component implementation." problem
ok i find it :] it is because of windows's language for non-Unicode programs. somehow it changed to Turkish. Now it is english and there is no problem. i think it is because of the locale setting of flex compiler. oktay --- In flexcoders@yahoogroups.com, "iamthelf" <[EMAIL PROTECTED]> wrote: > > hi; > yesterday suddenly flex builder start to give "Could not resolve > to a component implementation." error and didnt compile my > apps. i couldnt find any solution to this. what is the problem. i also > uninstall and reinstall the flex builder. > here is a simple code: > --- > > http://www.adobe.com/2006/mxml"; > layout="absolute"> > > > > > > > > --- > but it shows the same error for that code too. i need help urgently. > > oktay > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: "Could not resolve to a component implementation." problem
You have a space between " and http You have xmlns:mx=" http://www.adobe.com/2006/mxml"; Should be xmlns:mx="http://www.adobe.com/2006/mxml"; Jeremy --- In flexcoders@yahoogroups.com, "oktay nba" <[EMAIL PROTECTED]> wrote: > > i un/reinstall the flex builder again but the problem still exists. > > On 7/18/06, oktay nba <[EMAIL PROTECTED]> wrote: > > > > hi; > > yesterday suddenly flex builder start to give "Could not resolve > > to a component implementation." error and didnt compile my > > codes. i couldnt find any solution to this. what is the problem. > > here is a simple code: > > --- > > > > http://www.adobe.com/2006/mxml"; > > layout="absolute"> > > > > > > > > > > > > > > > > --- > > but it shows 1 error for that code too. i need help urgently. > > > > oktay > > > Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: "Could not resolve to a component implementation." problem
i un/reinstall the flex builder again but the problem still exists.On 7/18/06, oktay nba <[EMAIL PROTECTED] > wrote:hi;yesterday suddenly flex builder start to give "Could not resolve to a component implementation." error and didnt compile my codes. i couldnt find any solution to this. what is the problem. here is a simple code:--- http://www.adobe.com/2006/mxml" layout="absolute"> ---but it shows 1 error for that code too. i need help urgently.oktay __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Re: Could not resolve to a component implementation
Did you import this project. I was getting this exact same error when I tried to import a project from f2b1 into f2b2. If you are importing this is what I did. I would create a new project, then take all the mxml code only and dump it into my new project, and it would build just fine. Something else you might have wrong is if you have custom namespaces. Make sure that all your namesspaces are correct for the custom namespaces. --- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > Hi Chris, > i've seen this error before because of a wrong namespace. > I'm not sure what the correct namepace is, doublecheck it with the docs. > Cheers, > Ralf. > > On 4/29/06, Chris Velevitch <[EMAIL PROTECTED]> wrote: > > > > I'm using Flex 2 Beta 2 and I create an empty project and the default > > created application contains the error:- > > > > Could not resolve to a component implementation > > > > for the line > > > > http://www.adobe.com/2006/mxml" > > > > > Why is this error occurring? > > > > > > Chris > > -- > > Chris Velevitch > > Manager - Sydney Flash Platform Developers Group > > www.flashdev.org.au > > > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > > Yahoo! Groups Links > > > > > > > > > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Could not resolve to a component implementation ??
sorry its itemrenderer. flex2docs are out-of-date --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote: > > flex2? cellrenderer is now listItemRenderer > --- In flexcoders@yahoogroups.com, Arnaud GARCIA > wrote: > > > > hi all, > > > > Any Idea for this error: > > Could not resolve to a component > implementation ?? > > > > I use a simple datagrid > > > > > > > > headerText="Pourcentage"> > >ERROR > > > > > > > > > label="{dataObject.PERCENT}" > > direction="right" /> > > > > > > > > > > > > > > many thanks for help, > > > > Arnaud > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Could not resolve to a component implementation ??
flex2? cellrenderer is now listItemRenderer --- In flexcoders@yahoogroups.com, Arnaud GARCIA <[EMAIL PROTECTED]> wrote: > > hi all, > > Any Idea for this error: > Could not resolve to a component implementation ?? > > I use a simple datagrid > > > > >ERROR > > > > > direction="right" /> > > > > > > > many thanks for help, > > Arnaud > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/