Tag Archives: Front end Vue

Some error occurred error: listen eaddinuse: address already in use 127.0.0.1:3000

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

Front end error: exceptionmessage: null [How to Solve]

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