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

启动报错 #1

Open
larva2333 opened this issue Oct 19, 2019 · 6 comments
Open

启动报错 #1

larva2333 opened this issue Oct 19, 2019 · 6 comments

Comments

@larva2333
Copy link

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)}

@weizhiqiang1995
Copy link
Collaborator

jar包是否下载完了呢?

@larva2333
Copy link
Author

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>

@weizhiqiang1995
Copy link
Collaborator

这个就需要您自己处理了,可能是idea版本不同,我这的是可以的

@larva2333
Copy link
Author

感觉并不是pom文件的问题,而是没有扫描到authDao,我把@MapperScan(basePackages = {"com.skyeye.eve.dao"} 改成@MapperScan(basePackages = {"com.skyeye"},另外还有redis注入的问题,最终运行起来了,但是没有sql建表脚本,能否提供一份sql?

@weizhiqiang1995
Copy link
Collaborator

这个已经修改过提交了,sql可以进群获取

@Princeoo
Copy link

Princeoo commented Nov 2, 2020

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>

你怎么解决的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants