Problems caused by the secondary development of java project

because it is a secondary development project, some places do not quite understand
excuse me, what is the structure of the project? As shown in the following figure

clipboard.png

as shown above, .class and .java are placed in the same directory, and I prompt 404 after replacing part .java and the corresponding .class file, because the replacement only adds a new attribute and the corresponding set get method, indicating that 404 does not know what the problem is and cannot run this project locally.

Mar.04,2021

there's nothing special about this directory, just the directory structure of a normal web project, except that java and class are assigned to the same directory.

in addition, 404 is only a top-level error, you'd better find the lower-level error, so it's easy to analyze the cause.

Menu