沈涛(ShenTao)

Results 4 comments of 沈涛(ShenTao)

Oh,I think I found the answer. Is that depends on method 'supports' in the 'Provider'???

嗯,那个问题已经解决了,那位作者的意思应该是重新定义一个类,只是不小心和您源代码中的类重名,导致我理解错了(我猜的,联系不到作者..)。 额,然后又有一个问题....是Converters相关: 这是我的state类: ![image](https://user-images.githubusercontent.com/16486344/41230844-ce077b9e-6db3-11e8-8989-251284ae261c.png) 这是我的Conventers相关(enum转为code): ![image](https://user-images.githubusercontent.com/16486344/41231040-6575ea38-6db4-11e8-8c8d-99caeced188b.png) 这是我的状态机相关: ![image](https://user-images.githubusercontent.com/16486344/41231163-c643bcaa-6db4-11e8-8d11-22dd50dbea55.png) 最后报错为: java.lang.IllegalArgumentException: No enum constant org.squirrelframework.foundation.fsm.test.StateEnum.1 能帮我看一下这是为什么吗?是我哪里配错了吗?@hekailiang

@TimGuan 看了下您的文章中的代码,好像没有状态机的启动与停止(statr&terminate)?