The project uses fastjason to report an error
java.lang.ClassNotFoundException: com.alibaba.fastjson.JSONValidator
The error shows that the jsonvalidator class cannot be found. Open the Maven interface of idea to find the related dependencies
display the dependency of this module Alipay SDK Java. The version of fastjson under this dependency is 1.2.50 u>
Jsonvalidator is a later version
resolvent:
Introduce a new dependency in the POM file under the root directory, using fastjson version 1.2.75
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.75</version>
</dependency>
Read More:
- Kotlin reported an error jsonexception using fastjason: default constructor not found
- SSM project controller layer calls static method to report an error
- Does Vue project already have sass loader dependency or report an error using lang = “SCSS”
- Using openfeign to remotely call the startup program to report an error
- Solve the problem of There was an unexpected error (type=Internal Server Error, status=500) (using Thymeleaf to report an error)
- Anaconda opens Navigator to report an error and a web page appears Navigator Error An unexpected error occurred on Navigator start-up Report
- Idea Maven project uses package to package and report error (package does not exist)
- Add PageHelper spring boot starter dependency to springboot and report an error
- The web project removal server reports an error, and the web project in eclipse cannot be automatically deployed to Tomcat
- New Maven project– pom.xml report errors
- Spring AOP uses AspectJ to report an exception that ‘the reference to the bean “mypointcut” cannot be resolved’
- Vue uses SCSS dependency to report an error
- Using next (ITER (data. Dataloader()) to report an error stopiteration
- Java uses the createnewfile() method to report an error
- Starting zookeeper to report an error already running as process
- Use less.js to verify and report an error in the Vue file of vscode
- Kibana was degraded from 7.0 to 6.8 and started to report an error
- Mybatis passes in multiple parameters to mapper. And uses @param details to report an error
- Create Vue cli project and report error command failed: Yarn
- Create vue-cli4 project and report error command failed: yarn