Closed 729234500 closed 6 years ago
以下 为配置信息
xxl.job.db.driverClass=com.mysql.jdbc.Driver xxl.job.db.url=jdbc:mysql://10.3.10.75:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8 xxl.job.db.user=root xxl.job.db.password=root
xxl.job.mail.host=smtp.qq.com xxl.job.mail.port=25 xxl.job.mail.username=729234500@qq.com xxl.job.mail.password= xxl.job.mail.sendNick=《任务调度平台XXL-JOB》
xxl.job.login.username=admin xxl.job.login.password=123456
xxl.job.accessToken=
xxl.job.i18n=
applicationContext.xml信息未做任何修改 tomcat8.0启动 抛出如下异常 java.lang.IllegalStateException: unknown code for readObject at 0x3c (<) at com.xxl.job.core.rpc.serialize.HessianSerializer.deserialize(HessianSerializer.java:33) at com.xxl.job.core.rpc.netcom.jetty.client.JettyClient.send(JettyClient.java:37) at com.xxl.job.core.rpc.netcom.NetComClientProxy$1.invoke(NetComClientProxy.java:57) at com.sun.proxy.$Proxy9.registry(Unknown Source) at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:57) at java.lang.Thread.run(Unknown Source) Caused by: com.caucho.hessian.io.HessianProtocolException: unknown code for readObject at 0x3c (<) at com.caucho.hessian.io.HessianInput.error(HessianInput.java:1697) at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java:1177) at com.xxl.job.core.rpc.serialize.HessianSerializer.deserialize(HessianSerializer.java:31) ... 5 more
xxl.job.admin.addresses=http://127.0.0.1:8080/xxl-job-admin
xxl.job.executor.appname=xxl-job-executor-sample xxl.job.executor.ip= xxl.job.executor.port=9999
xxl.job.accessToken=
xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler
xxl.job.executor.logretentiondays=-1
把xxl-admin工程 与spring工程同时导入到tomcat下 项目就可以正常运行
Please answer some questions before submitting your issue. Thanks!
Which version of XXL-JOB do you using?
Expected behavior
Actual behavior
Steps to reproduce the behavior
Other information