에러내용
faultCode:InvokeFailed faultString:'[MessagingError message='Destination 'memberDao' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']' faultDetail:'Couldn't establish a connection to 'memberDao''
이런 애러가 나는 이유는 플렉스 컴파일러가 services-config.xml을 못찾기 때문이다.
Properties - Flex Compiler - Additional compiler arguments 에 다음과 같이
-services "절대경로\service-config.xml" 을 추가해주면 문제는 해결된다.
또는 Navigator로 프로젝트 루트에 .actionScriptProperties 파일을 직접 수정해도 된다.
추가로
그래도 컴파일이 되지 않는 경우가 있다.. 머가 하나 빠뜨린게 있어서..
콘솔로 컴파일 해보니 다음과 같은 에러가 난다. '...context root has not been defined...'
Properties - Flex Server 에 다음과 같이 입력하거나
Navigator로 프로젝트 루트에 .flexProperties 파일을 직접 수정하면 된다.