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
后端项目多模块项目,新建项目中的controller没有打包运行 #373
Comments
描述太简单,无法判断 |
新建模块的包名不是org.jeecg开头的应该这么配置 |
@jeromexf 只需要在Spring boot的@componentscan中添加你需要扫描的包名就可以了,可以参考 |
还需要修改 Swagger2Config类中createRestApi方法,让其可以扫描其它包 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本号:
2.0.2
问题描述:
参考 http://jeecg-boot.mydoc.io/?t=345671 这里的文档说明,我新建了一个新的maven模块 jeecg-boot-module-jm,在 jeecg-boot-module-system 中依赖这个模块,但是运行的时候 jeecg-boot-module-jm 模块中的controller没有显示在swagger-ui中,而且也不能访问
新模块的pom.xml 文件内容如下
目录结构如下
The text was updated successfully, but these errors were encountered: