Right Capacity clean up
*
Right Capacity clean up
*
In this case, the port is occupied
solution:
window + R open run input CMD open DOS command window
Input: netstat - ano
view port
the red mark indicates that the port is occupied,
Enter the TCP number corresponding to taskkill/F/T/im
in CMD to turn off the occupied port
and then NPM run serve can be run normally
When updating an interface written by others before debugging, the front end always reports an error, exceptionmessage: null, similar to this format
the Java code sends a put request, The parameter requires a class
this is the field to be transferred during swagger UI test
this is the field of this class in the database table
it is not difficult to find that there are more fields in the class than in the database table, The only fields in the SQL statement that need to be modified are these
so I changed all the parameters to be transmitted to the parameters required by the SQL statement. The test was successful
then go to the front end. The front end fields correspond to the fields of the SQL statement. Some fields have and some do not, The parameters required by SQL can be changed uniformly. There is an episode in the middle. The front-end field name is different from the back-end field name, and this error is also reported.
Summary:
Exceptionmessage: null is mostly due to the inconsistency between SQL fields and database table fields or the different definitions of front and rear field names
If the following code is added to the. Eslintrc file, there will be no alarm; If not, restart the service
parserOptions: {
ecmaFeatures:{
legacyDecorators: true
}
},
div>