Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码生成目录不存在异常 #30

Closed
3 tasks done
java668 opened this issue Jan 17, 2024 · 1 comment
Closed
3 tasks done

代码生成目录不存在异常 #30

java668 opened this issue Jan 17, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@java668
Copy link

java668 commented Jan 17, 2024

Bug 描述

配置代码生成配置填写前端路径,前端路径不存在会抛异常:cn.hutool.core.io.IORuntimeException: IORuntimeException: IOException: No such file or directory
image
image

复现步骤

1、配置代码生成配置填写前端路径,点击保存
2、点击生成代码

预期结果

配置代码生成配置填写前端路径,前端路径不存在自动创建目录,成功生成代码

环境信息

JDK17,
continew-admin-2.2.0

额外补充

No response

确认

  • 阅读文档
  • 根据报错信息百度或 Google 一下
  • 搜索是否有其他人提交过类似的 issue,如果对应 issue 尚未解决,您可以先订阅关注该 issue(为了方便后来者查找问题解决方法,请尽量避免创建重复的 issue)
@Charles7c
Copy link
Member

在目前设计中,前端路径必须存在,目的是将生成的 vue、api 文件输出到前端项目的正确目录。页面配置提示了要求输入前端项目 view 目录的路径,此路径是前端项目结构解析和生成的关键路径。
不过,提示不太友好,晚上我加个校验提示。

@Charles7c Charles7c added the wontfix This will not be worked on label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants