Closed jacky8466 closed 2 months ago
扫码路径配置了吗
扫码路径配置了吗
肯定配了哦,之前的版本是springboot2 现在是升级到springboot3了,不过用的是mybatis-plus,在springboot2中是能正常访问的
我的依赖包版本信息
`
你把minidao排除了,minidao版本换成 下面的版本试试
<dependency>
<groupId>org.jeecgframework.boot3</groupId>
<artifactId>minidao-pe</artifactId>
<version>1.10.1</version>
</dependency>
你把minidao排除了,minidao版本换成 下面的版本试试
<dependency> <groupId>org.jeecgframework.boot3</groupId> <artifactId>minidao-pe</artifactId> <version>1.10.1</version> </dependency>
你把minidao排除了,minidao版本换成 下面的版本试试
<dependency> <groupId>org.jeecgframework.boot3</groupId> <artifactId>minidao-pe</artifactId> <version>1.10.1</version> </dependency>
加上这个启动不报错了,前台页面显示正常,单后台有异常日志,虽然不是可以忽略,单看着难受: `请求地址'/jmreport/desreport_/cdn/axios/axios.min.map',发生系统异常. org.springframework.web.servlet.resource.NoResourceFoundException: No static resource cdn/axios/axios.min.map.
截图
集成依赖 springboot2版本
<dependency>
<groupId>org.jeecgframework.jimureport</groupId>
<artifactId>jimureport-spring-boot-starter</artifactId>
<version>1.7.8</version>
</dependency>
springboot3版本
<dependency>
<groupId>org.jeecgframework.jimureport</groupId>
<artifactId>jimureport-spring-boot3-starter-fastjson2</artifactId>
<version>1.7.8</version>
</dependency>
ws
经测试,集成1.7.8应该就没有问题了,文档
<dependency>
<groupId>org.jeecgframework.jimureport</groupId>
<artifactId>jimureport-spring-boot3-starter-fastjson2</artifactId>
<version>1.7.8</version>
</dependency>
版本号:
jimureport-spring-boot3-starter-fastjson2 1.7.32
问题描述:
启动报错:
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'saasModeSecurityUtil': Unsatisfied dependency expressed through field 'jimuReportService': Error creating bean with name 'jimuReportServiceImpl': Unsatisfied dependency expressed through field 'jmReportDbSourceService': Error creating bean with name 'jmReportDbSourceServiceImpl': Unsatisfied dependency expressed through field 'dataSourceDao': No qualifying bean of type 'org.jeecg.modules.jmreport.desreport.dao.JimuReportDataSourceDao' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jimuReportShareDao' defined in URL [jar:file:/E:/repo/org/jeecgframework/jimureport/jimureport-spring-boot3-starter-fastjson2/1.7.32/jimureport-spring-b错误日志&截图:
重现步骤:
若依框架里的springboot3版本
友情提示(为了提高issue处理效率):