The controller layer of the SSM project calls the util tool class written by oneself. In the tool class, some static methods in some jar packages are invoked, and
runs up to report errors. Br> solution: add the jar package to the modules directory in the project
idea operation:
. Add through dependencies of modules:
1. Open file – & gt; Project Structure (Ctrl + Shift + Alt + S)
2. Click modules – & gt; Dependencies -> “+” -& gt; “ Jars or directories”
3. Select the project jar package
4. Apply – & gt; OK
Read More:
- Java project cannot import entity class package and service package, controller layer reports error, fix project setup is OK
- The SSM project cannot load various static resources
- C ා programming encountered an object reference is required for the non-static field, method, or property error
- Failed to import static file of vue3 static resource. There is no static folder
- Spock + powermock simulation static method reports an error java.lang.classcastexception
- The project uses fastjason to report an error
- The SSM framework adds the mybatis paging plug-in to start the error report
- When the spring MVC project is running on idea, an error is reported when the controller is a null pointer
- Java uses the createnewfile() method to report an error
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- Vue uses this. $refs. Subcomponent Ref. method to report an error: cannot read property ‘resetfields’ of undefined problem
- Start react-native after updating Xcode11 and report an error: Unknown argument type ‘_attribute_’ in method -[RCTAppState getCurren
- [Qt] error: call to non-static member function without an object argument
- non-static variable this cannot be referenced from a static context
- When SSM + Maven project is running, it is prompted that org.springframework.web.servlet.dispatcherserservlet cannot be found
- Nuxt cannot find the static resource in static
- The connection pool of SSM project database cannot be connected. The project can run normally and the database cannot be connected
- Does Vue project already have sass loader dependency or report an error using lang = “SCSS”
- The springboot integration CXF calls WebService and reports an error: cannot create a secure xmlinputfactory
- Python calls C to generate so library and reports an error: undefined symbol