Source of the problem: Because I am related to two projects (1 project, 2 project), 1 project needs to use the 2 project’s class (class realization a jar package), and then realize this problem;
No matter how you check, I don’t know where the error is, because there is no problem when the jar package of the 2 project is not used; this problem occurs after using it;
This problem is called inconsistent class types in the jar package;
Solution: need to correct the jars of the two projects. If all the packages in the 2 projects have been imported, you can find the jars of the imported classes in the error reporting class of the 1 project and import them into the 1 project again; the problem can be solved
Similar Posts:
- The difference between web app libraries and referenced libraries in eclipse project
- How to Solve Python TypeError: ‘module’ object is not callable
- It is indirectly referenced from required .class files
- [How to Solve] java.lang.IncompatibleClassChangeError
- Some projects cannot be imported because they already exist in the workspace
- The following table: unable to import javax. Servlet. HttpServletRequest
- [Solved] Mybatis Error: Invalid bound statement (not found)
- The problem of error reporting when importing openpyxl from Python has finally been solved
- Exception resolution: java.lang.IllegalStateException: Failed to introspect Class
- Pycharm cannot import the third-party library no module named urllib3