NutzCN Logo
问答 nutz-nb clean install 报错 SysLoginController.java:228: 警告: req没有 @param
发布于 2127天前 作者 herexu 1868 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

JDK

java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

maven

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T02:33:14+08:00)
Maven home: D:\soft\apache-maven-3.5.4\bin\..
Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: D:\soft\Java\jdk1.8.0_201\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

我是改了nutzwk文件名,第一次mvn clean install -Dmaven.test.skip=true是可以的,但是我新增了自己的模块wk-nb-service-device,删除了wk-nb-web-platform这个模块,再次clean install之后就报错了

[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\device\DeviceController.java:29: 错误:
未知标记: date
[ERROR]  * @date 2019/1/25 13:43
[ERROR]    ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:100: 警告:
@param 没有说明
[ERROR]      * @param theme
[ERROR]        ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:101: 警告:
@param 没有说明
[ERROR]      * @param req
[ERROR]        ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:119: 警告:
@param 没有说明
[ERROR]      * @param p
[ERROR]        ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:120: 警告:
@param 没有说明
[ERROR]      * @param v
[ERROR]        ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:121: 警告:
@param 没有说明
[ERROR]      * @param req
[ERROR]        ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:146: 警告:
@param 没有说明
[ERROR]      * @param token
[ERROR]        ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:147: 警告:
@param 没有说明
[ERROR]      * @param req
[ERROR]        ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:148: 警告:
@return 没有说明
[ERROR]      * @return
[ERROR]        ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:153: 警告:
session没有 @param
[ERROR]     public Object doLogin(@Attr("platformLoginToken") AuthenticationToken token, HttpServletRequest req, HttpSession session) {
[ERROR]                   ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:228: 警告:
session没有 @param
[ERROR]     public void logout(HttpSession session, HttpServletRequest req) {
[ERROR]                 ^
[ERROR] D:\nproject\gpboot\wk-app\wk-nb-web-vue\src\main\java\cn\wizzer\app\web\modules\controllers\platform\sys\SysLoginController.java:228: 警告:
req没有 @param
[ERROR]     public void logout(HttpSession session, HttpServletRequest req) {
[ERROR]                 ^
[ERROR]
[ERROR] Command line was: D:\soft\Java\jdk1.8.0_201\jre\..\bin\javadoc.exe @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 'D:\nproject\gpboot\wk-app\wk-nb-web-vue\target\apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wk-nb-web-vue

1 回复

javadoc错误,禁用就好了

添加回复
请先登陆
回到顶部