Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
I know
View Details
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Development Tools
>
Wiki/Document
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
132
Star
445
Fork
128
叶大侠
/
JApiDocs
Code
Issues
24
Pull Requests
2
Wiki
Insights
Pipelines
Service
Gitee Pages
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
Don’t show this again
Update failed. Please try again later!
Issues
/
详情
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
包含MutipartFile 类型参数的接口生成不了文档。
Backlog
#I1VCEF
Linzol
Opened this issue
2020-09-15 16:27
########################## 代码部分 ######################################### /** * 保存激活码 * @param surveyId 问卷id * @param file 激活码文件 * @return */ @RequestMapping(value = "/saveCode",method = RequestMethod.POST) public Result<PrizeCodeCountOutputDTO> saveCode(@RequestParam("surveyId") @NotNull Integer surveyId, @RequestParam("file") MultipartFile file) { return surveyPrizeService.saveCode(surveyId,file); } ########################## 报错信息 ######################################### Exception in thread "main" io.github.yedaxia.apidocs.exception.JavaFileNotFoundException: Cannot find java file , in java file : D:\workspace\produce\surveyadmin-server\src\main\java\com\dw\sdo\survey\controller\SurveyPrizeController.java, className : MultipartFile at io.github.yedaxia.apidocs.ParseUtils.searchJavaFile(ParseUtils.java:52) at io.github.yedaxia.apidocs.ParseUtils.parseClassNodeByType(ParseUtils.java:223) at io.github.yedaxia.apidocs.parser.SpringControllerParser.lambda$afterHandleMethod$7(SpringControllerParser.java:144) at java.util.ArrayList.forEach(ArrayList.java:1249) at com.github.javaparser.ast.NodeList.forEach(NodeList.java:267) at io.github.yedaxia.apidocs.parser.SpringControllerParser.afterHandleMethod(SpringControllerParser.java:101) at io.github.yedaxia.apidocs.parser.AbsControllerParser.lambda$parseMethodDocs$7(AbsControllerParser.java:158) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at io.github.yedaxia.apidocs.parser.AbsControllerParser.parseMethodDocs(AbsControllerParser.java:90) at io.github.yedaxia.apidocs.parser.AbsControllerParser.lambda$parse$0(AbsControllerParser.java:42) at java.util.Optional.ifPresent(Optional.java:159) at io.github.yedaxia.apidocs.parser.AbsControllerParser.parse(AbsControllerParser.java:39) at io.github.yedaxia.apidocs.doc.AbsDocGenerator.initControllerNodes(AbsDocGenerator.java:44) at io.github.yedaxia.apidocs.doc.AbsDocGenerator.<init>(AbsDocGenerator.java:27) at io.github.yedaxia.apidocs.doc.HtmlDocGenerator.<init>(HtmlDocGenerator.java:29) at io.github.yedaxia.apidocs.Docs.buildHtmlDocs(Docs.java:30) at com.dw.sdo.survey.ApiWordGenerate.apidoc(ApiWordGenerate.java:45) at com.dw.sdo.survey.ApiWordGenerate.main(ApiWordGenerate.java:24)
########################## 代码部分 ######################################### /** * 保存激活码 * @param surveyId 问卷id * @param file 激活码文件 * @return */ @RequestMapping(value = "/saveCode",method = RequestMethod.POST) public Result<PrizeCodeCountOutputDTO> saveCode(@RequestParam("surveyId") @NotNull Integer surveyId, @RequestParam("file") MultipartFile file) { return surveyPrizeService.saveCode(surveyId,file); } ########################## 报错信息 ######################################### Exception in thread "main" io.github.yedaxia.apidocs.exception.JavaFileNotFoundException: Cannot find java file , in java file : D:\workspace\produce\surveyadmin-server\src\main\java\com\dw\sdo\survey\controller\SurveyPrizeController.java, className : MultipartFile at io.github.yedaxia.apidocs.ParseUtils.searchJavaFile(ParseUtils.java:52) at io.github.yedaxia.apidocs.ParseUtils.parseClassNodeByType(ParseUtils.java:223) at io.github.yedaxia.apidocs.parser.SpringControllerParser.lambda$afterHandleMethod$7(SpringControllerParser.java:144) at java.util.ArrayList.forEach(ArrayList.java:1249) at com.github.javaparser.ast.NodeList.forEach(NodeList.java:267) at io.github.yedaxia.apidocs.parser.SpringControllerParser.afterHandleMethod(SpringControllerParser.java:101) at io.github.yedaxia.apidocs.parser.AbsControllerParser.lambda$parseMethodDocs$7(AbsControllerParser.java:158) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at io.github.yedaxia.apidocs.parser.AbsControllerParser.parseMethodDocs(AbsControllerParser.java:90) at io.github.yedaxia.apidocs.parser.AbsControllerParser.lambda$parse$0(AbsControllerParser.java:42) at java.util.Optional.ifPresent(Optional.java:159) at io.github.yedaxia.apidocs.parser.AbsControllerParser.parse(AbsControllerParser.java:39) at io.github.yedaxia.apidocs.doc.AbsDocGenerator.initControllerNodes(AbsDocGenerator.java:44) at io.github.yedaxia.apidocs.doc.AbsDocGenerator.<init>(AbsDocGenerator.java:27) at io.github.yedaxia.apidocs.doc.HtmlDocGenerator.<init>(HtmlDocGenerator.java:29) at io.github.yedaxia.apidocs.Docs.buildHtmlDocs(Docs.java:30) at com.dw.sdo.survey.ApiWordGenerate.apidoc(ApiWordGenerate.java:45) at com.dw.sdo.survey.ApiWordGenerate.main(ApiWordGenerate.java:24)
Comments (
0
)
Linzol
created
任务
Linzol
set
related repository
to
叶大侠/JApiDocs
Expand operation logs
Collapse operation logs
Sign in
to comment
Status
Backlog
Backlog
Doing
Done
Closed
Assignees
Not set
Labels
Not set
Label settings
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (1)
Tags (1)
master
v1.1
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
参与者(1)
Java
1
https://gitee.com/yeguozhong/JApiDocs.git
git@gitee.com:yeguozhong/JApiDocs.git
yeguozhong
JApiDocs
JApiDocs
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register