![]() D:/workspace/parent-project/module-common-lib/src/main/java/com/company/lab/microservices/common/api/HelloWorldResponse.java: cannot find symbol D:/workspace/parent-project/module-common-lib/src/main/java/com/company/lab/microservices/common/api/ResponseSimple.java: cannot find symbol D:/workspace/parent-project/module-common-lib/src/main/java/com/company/lab/microservices/common/api/ResponseSimple.java: package io.swagger.annotations does not exist D:/workspace/parent-project/module-common-lib/src/main/java/com/company/lab/microservices/common/api/HelloWorldResponse.java: package io.swagger.annotations does not exist D:/workspace/parent-project/module-common-lib/src/main/java/com/company/lab/microservices/common/api/ResponseInfo.java: cannot find symbol D:/workspace/parent-project/module-common-lib/src/main/java/com/company/lab/microservices/common/api/ResponseInfo.java: package io.swagger.annotations does not exist Compiling 4 source files to D:\parent-project\module-common-lib\target\classes Changes detected - recompiling the module! maven-compiler-plugin:3.6.1:compile (default-compile) module-common-lib. skip non existing resourceDirectory D:\parent-project\module-common-lib\src\main\resources ![]() Using 'UTF-8' encoding to copy filtered resources. maven-resources-plugin:3.0.2:resources (default-resources) module-common-lib. maven-clean-plugin:2.5:clean (default-clean) module-common-lib. Building module-common-lib 0.0.1-SNAPSHOT maven-clean-plugin:2.5:clean (default-clean) parent-project. I add swagger annotations and io.springfox dependencies to my project but when I run mvn clean package I have a lot of errors: PS D:\parent-project> mvn clean package Note: We have used all the above annotations in our RESTful Web Services Tutorial with real-world examples.I want to document my project with swagger. With the help of annotation, we can access objects that are populated on the server-side. It provides convenient access to the request attributes from a controller method. It eliminates the need for annotating each method with It binds a method parameter to request attribute. The annotation is itself annotated with the annotation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |