工程建完后,运行程序并调用java进行通信时报错:Failed: url: 'http://localhost/WebContent/messagebroker/amf错误
几经周折,最终发现问题所在:主要是eclipse工程的配制问题:
1.Flex Build path
//输出
output folder:WebContent
//工程运行时显示的url
output floder URL:http://localhost:8080/FlexDemo2.Flex Server
Root URL:http://localhost:8080
//工程名
Context root:/FlexDemo
几经周折,最终发现问题所在:主要是eclipse工程的配制问题:
1.Flex Build path
//输出
output folder:WebContent
//工程运行时显示的url
output floder URL:http://localhost:8080/FlexDemo2.Flex Server
Root URL:http://localhost:8080
//工程名
Context root:/FlexDemo