mirror of https://github.com/jwtk/jjwt.git
moved older jackson section back into readme
This commit is contained in:
parent
7f32ab24a1
commit
44d62e3e8f
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -242,16 +242,3 @@ Jws<String> jws = Jwts.parser().setSigningKey(key).parsePlaintextJws(compact);
|
||||||
Jws<Claims> jws = Jwts.parser().setSigningKey(key).parseClaimsJws(compact);
|
Jws<Claims> jws = Jwts.parser().setSigningKey(key).parseClaimsJws(compact);
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
<a name="olderJackson"></a>
|
|
||||||
#### Already using an older Jackson dependency?
|
|
||||||
|
|
||||||
JJWT depends on Jackson 2.4.x (or later). If you are already using a Jackson version in your own application less than 2.x, for example 1.9.x, you will likely see [runtime errors](https://github.com/jwtk/jjwt/issues/1). To avoid this, you should change your project build configuration to explicitly point to a 2.x version of Jackson. For example:
|
|
||||||
|
|
||||||
```xml
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.fasterxml.jackson.core</groupId>
|
|
||||||
<artifactId>jackson-databind</artifactId>
|
|
||||||
<version>2.4.2</version>
|
|
||||||
</dependency>
|
|
||||||
```
|
|
||||||
|
|
12
README.md
12
README.md
|
@ -107,6 +107,18 @@ These feature sets will be implemented in a future release when possible. Commu
|
||||||
- [Token Authentication for Java Applications](https://stormpath.com/blog/token-auth-for-java/)
|
- [Token Authentication for Java Applications](https://stormpath.com/blog/token-auth-for-java/)
|
||||||
- [JJWT Changelog](CHANGELOG.md)
|
- [JJWT Changelog](CHANGELOG.md)
|
||||||
|
|
||||||
|
<a name="olderJackson"></a>
|
||||||
|
#### Already using an older Jackson dependency?
|
||||||
|
|
||||||
|
JJWT depends on Jackson 2.4.x (or later). If you are already using a Jackson version in your own application less than 2.x, for example 1.9.x, you will likely see [runtime errors](https://github.com/jwtk/jjwt/issues/1). To avoid this, you should change your project build configuration to explicitly point to a 2.x version of Jackson. For example:
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
|
<artifactId>jackson-databind</artifactId>
|
||||||
|
<version>2.4.2</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue