The last two days has been HttpStates404 this mistake to toss up the trouble, on the internet to check a lot of articles, basically is to say the same problem
1URL is wrong--(but I'm sure it should be right, because it works under the XP system and it doesn't work under Win7)
2web.xml configuration is not--(oneself to this inside thing is not very understand, so check some information on the Internet, a little knowledge of follow the steps of the Internet, the result is still not)
Finally there is no way, and back to 1 of the idea, because in the final analysis is not found the page, this is the oneself and re-examine the flex compiled the generated files. Finally at this moment suddenly enlightened
Before I flex compile generation is to generate SWF file and corresponding HTML file, but this project has not generated HTML files, the ultimate source found.
Solutions:
Right key item--click enter attribute--flex compiler--html Wrapper-tick (if already ticked, cancel application first, then tick to generate HTML template)
The error contents are as follows:
Solution:
The Serverplugins\webcontent\web-inf\flex\services-config.xml in Java Engineering
Copy Code code as follows:
<channel-definition id= "MY-AMF" class= "Mx.messaging.channels.AMFChannel" >
The original wording: <endpoint url= "Https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class= " Flex.messaging.endpoints.SecureAMFEndpoint "/>
To: <endpoint url= "Http://{server.name}:{server.port}/java end of the project name/MESSAGEBROKER/AMF" Class= " Flex.messaging.endpoints.AMFEndpoint "/>
</channel-definition>