Error message
java.lang.ClassNotFoundException: com.alibaba.fastjson.TypeReference
First, I went to the mvnrepository to find the fastjson package
introduced into the common service dependency
but still reported an error
Later, in project structure, I found that the dependencies of search service are also divided into complie, runtime, test, etc. my fastjson scope is test. After I modify it to complie, it can be used normally
Read More:
- When the mybatis field contains an expression, an error is reported when it is stored in the database
- Kotlin reported an error jsonexception using fastjason: default constructor not found
- An error is reported when an android phone visits the app webpage: net::ERR_PROXY_CONNECTION_FAILED
- An error is reported when uploading a file using commonsmultipartfile
- An error of 500 is reported when an item is assigned to a role
- When Maven hits the jar package, an error is reported when executing install, and the symbol cannot be found in a line
- Eclipse reported an error: an error has occurred
- The difference between classnotfoundexception and NoClassDefFoundError
- Causes and solutions of classnotfoundexception / NoClassDefFoundError
- Caused by: java.lang.ClassNotFoundException: com.alibaba.nacos.api.naming.NamingMaintainService
- An error is reported when the jeecg boot project connects to the MySQL database running on docker
- Django project running service reported an error NameError: name ‘OS’ is not defined
- An error is reported about import Java. SQL. *; problem
- An error is reported for the new Android project. Rejecting re init on previously failed
- An error is reported when the less file is introduced into main.js
- Python reported an error with keyerror: ‘longitude’
- The springboot test class reported an error NullPointerException
- When the springcloud obtains the cloud link database information, an error is reported: errorcode 1045, state 28000
- Zeppelin starts successfully, but an error is reported
- Zeppelin starts successfully, but an error is reported