爲了補充Constantiner的評論,無論是IDE的,你可以設置你的項目使用此約定:
/web
/flex - Where your Main.swf goes and anything it it needs (i.e. css, jpgs, mp3s, misc assets
/META-INF - Where your context.xml goes, not accessible to clients
/WEB-INF
/classes - The directory where all your pre-compiled java .class files goes
/flex - Where blazeDS xml config files go
/lib - Where your java shared libraries go (i.e. jar's
web.xml - Where you set up your container's listeners and servlet mappings
index.jsp - Your .jsp will have access to /flex stuff... You could of course promote the contents of /flex to be directly under /web
index.html - Hello World
你應該調整你的build把SWF外面WEB-INF文件夾中。 – Constantiner