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:
- The project uses fastjason to report an error
- Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run (default-cli) on project
- The springboot integration CXF calls WebService and reports an error: cannot create a secure xmlinputfactory
- When Maven hits the jar package, an error is reported when executing install, and the symbol cannot be found in a line
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.
- [Solved] Error in registering Eureka for spring cloud micro service: classnotfoundexception: org.apache.http.conn.scheme.schemeregistry
- Adding fastjson dependency to Maven project
- package.json And package- clock.json The difference between
- Using jmh in eclipse
- The introduction of third-party jar package in mavn project results in classnotfoundexception
- Solution of redisconnection factory in springboot2 not Autowired
- Dependency frame package of Maven Alibaba JSON
- Kotlin reported an error jsonexception using fastjason: default constructor not found
- [Solved] Failed to resolve org.junit.platform:junit-platform-launcher:1.7.2
- About the steps to create Maven’s (WEB) dependency using in idea
- SLF4J:Failed to load class “org.slf4j.impl.StaticLoggerBinder”
- After Nacos started, the client worker log was printed all the time
- com.alibaba.fastjson .JSONException: For input string: “3000-01-01” or “9999-12-31”
- Some problems in the development of HBase MapReduce
- Failed to load plugin jsdoc: Cannot find module ‘eslint-plugin-jsdoc‘