Why can’t you stop buying 618?From the technical dimension to explore>>>
When learning mybatis from the video, I used JUnit to write a test case to test Dao method, and reported the following error:
After reading some posts on the Internet, some said to delete the root directory. Idea file, and some said to clear the run/debug configuration, but it was not solved. I remembered that I had reported an error before:
This means that the output path is unknown. It was set to./out at that time. Just read a post saying that class not found is not that the class cannot be found, but that the compiled. Class file cannot be found, so the output path is set to out under the project, and the problem is solved
The setting method is as follows:
1. Press Ctrl + Shift + Alt + s to find Modules > The path is as follows:
2. Select project and set the output folder according to your own needs
Similar Posts:
- The problem of JUnit test report class not found in maven
- After the program is compiled successfully, it will exit immediately and show thread1: breakpoint 3.1
- javax.imageio.IIOException: Can’t read input file! 23436;”209151;
- How to Solve Annotation type expected error
- [Solved] Servlet error: org/apache/ibatis/io/Resources could not be found
- Solution to the error of not allowed to load local resource in Chrome
- vue ‘Couldn’t find preset “es2015” relative to directory’
- SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
- Summary of 5 error reports encountered during Vue installation
- Invalid use of incomplete type struct or class solution