使用wrapper将java程序注册程windows服务后不生效
使用add.bat或test***.bat测试通过了,
然后使用install***.bat注册后cmd显示注册成功。
但是程序到了运行时间就是不运行!!
解决办法
控制面板 ---> 管理工具 ---> 服务,找到你注册的服务,右键启动。。。。
好了,一切正常。