This content has been marked as final. Show 8 replies
I'm having the same problem. I'm running flex builder 2.0 and have installed LiveCycle Data Services ES. Worse yet, if I select the option to have the server compile the project builder throws an error when switching to design view "An unknown item is declared as the root of your MXML document. Switch to source mode to correct it."
You need to update to Flex Builder 2.0.1 Hotfix 2 or at the very least update
your underlying SDK's /lib/flex-messaging-common.jar to that from LCDS 2.5.
Peter, does this hotfix work for FlexBuilder 2.0.1 with Charting?? I was comparing the sizes of my licensed sdk and the hotfix...and the one from the hotfix is smaller..should just wanted to be sure that i wasnt loosing anything...or is the safest bet to just update the flex-messaging-common-jar?
I updated to Hot Fix 2 and I'm still getting the error:
Unexpected attribute 'url' found in 'endpoint' from file: services-config.xml.
Does anyone know another possible fix besides upgrading? Reinstall LCDS, Eclipse, Hibernate Tools, GEF, WTP, FB2, rebuild my application from ground zero? Ugh. I really don't want to do that (again). Sorry for the mini-rant.
Of course as soon as you post/beg for help, your problem goes away...
I tried another tact and re-applied Hot Fix2 using executable instead of Zip file. I went into Flex and deleted my App including contents. Rebuilt the app. Still got same error. Exited Flex again, reopened. This time it prompted for Serial Number. I entered my serial number. I no longer see the error.
The main thing that Flex Builder is getting from LCDS is a flex-messaging-common.jar
file that allows it to read the services-config.xml file (mxmlc is the one
actually using this jar in this context). Apart from that, it's client code
such as fds.swc and the locale fds_rb.swc.
In Flex 3 it will be much easier to point Flex Builder to new SDKs and allow
you to manage multiple versions.
> I updated to Hot Fix 2 and I'm still getting the error:
> Unexpected attribute 'url' found in 'endpoint' from file:
> Does anyone know another possible fix besides upgrading? Reinstall
> Eclipse, Hibernate Tools, GEF, WTP, FB2, rebuild my application from
> ground zero? Ugh. I really don't want to do that (again). Sorry for
> the mini-rant.
I am definitely looking forward to seeing the improvements in Flex 3. :-) I've learned a lot so far, but it hasn't been easy!
Hi Peter. I'm experiencing the same problems with Flex Builder 2. I've installed the latest update, which hasn't helped. I've just manually copied the flex-messaging-common.jar to the Flex Builder's SDK.
The funny thing is: The app I' working on gets compiled just fine if I use the Flex SDK included in LCDS from the command line.