Open larva2333 opened 4 years ago
jar包是否下载完了呢?
pom.xml 里面报错,不识别<webResources>
标签,我用的是idea
<webResources>
<resource>
<directory>${basedir}/lib</directory>
<targetPath>WEB-INF/lib</targetPath>
<filtering>false</filtering>
<includes>
<include>**/*.jar</include>
</includes>
</resource>
</webResources>
这个就需要您自己处理了,可能是idea版本不同,我这的是可以的
感觉并不是pom文件的问题,而是没有扫描到authDao,我把@MapperScan(basePackages = {"com.skyeye.eve.dao"}
改成@MapperScan(basePackages = {"com.skyeye"}
,另外还有redis注入的问题,最终运行起来了,但是没有sql建表脚本,能否提供一份sql?
这个已经修改过提交了,sql可以进群获取
pom.xml 里面报错,不识别
<webResources>
标签,我用的是idea<webResources> <resource> <directory>${basedir}/lib</directory> <targetPath>WEB-INF/lib</targetPath> <filtering>false</filtering> <includes> <include>**/*.jar</include> </includes> </resource> </webResources>
你怎么解决的
org.springframework.context.support.AbstractApplicationContext.refresh(558) | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationCode': Unsatisfied dependency expressed through field 'authDao'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.skyeye.dao.AuthDao' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}