nested exception is java.lang.IllegalStateException: Encountered invalid @Scheduled method

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySchulderManager' defined in file [D:\six-p2p\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\timer\WEB-INF\classes\com\bjpowernode\p2p\timer\MySchulderManager.class]: Initialization of bean failed; nested exception is java.lang.IllegalStateException: Encountered invalid @Scheduled method 'test': Cron expression must consist of 6 fields (found 7 in "0/3 * * * * * *")


原因是cron表达式里面多写了一个*

纪念马虎的自己

你可能感兴趣的:(nested exception is java.lang.IllegalStateException: Encountered invalid @Scheduled method)