From that point, I was wondering why it didn't work, so I made a note.
Apparently there is a Jackson jar in the Glassfish modules and its version is old. And even if you specify the dependency in Maven's POM to use the Jackson-dependent library, Because the Jackson library on Glassfish is loaded first by the class loader, The older library seems to take precedence.
I have already upgraded the library directly. There was an article that wrote the same thing in Tomcat, so refer to that and refer to that. Update the library (please do it at your own risk)
For the time being, it is recommended to back up the original file before executing it.
I wanted to try the Line bot, so I've included Jackson's 2.8.10, but other versions also There may be no problem if all the related library versions are available.
Recommended Posts