Precautions during the use of XxlJob

It took a day to step on various pits, and finally built the XxlJob locally. I read a lot of blogs, but I feel that the most important point is not mentioned by everyone. It is to ensure that the version of the caller xxl-job-core and xxl- The version of the job project is the same

<dependency>
    <groupId>com.xuxueli</groupId>
    <artifactId>xxl-job-core</artifactId>
    <version>2.3.0-SNAPSHOT</version>
</dependency>

Many people will say that this package cannot be imported because this is generated from the xxl-job project

Refer to the example given in the current version when writing the calling method

Don't find a blog like I did and follow the steps written by others. The result is that the caller xxl-job-core uses 2.1.0 and the xxl project uses the latest version. I found an error:

The low version of the URL is not registered with http://, and the high version is registered with http://. I checked it for a long time.

Guess you like

Origin blog.csdn.net/qq_26276667/article/details/112554750