Aar0n 簡單「愛」 你这个问题是 自己新建类,然后ide 运行的还是layasample 类, 你需要把启动类改为main, 我写了方法,给你贴上地址http://ask.layabox.com/question/9807