dromara / skyeye

智能办公OA系统[SpringBoot2-快速开发平台],适用于医院,学校,中小型企业等机构的管理。Activiti5.22+动态表单实现零java代码即可做到复杂业务的流程实施,同时包含文件在线操作、日志、考勤、CRM、ERP进销存、项目、拖拽式生成问卷、日程、笔记、计划、行政等多种复杂业务功能。同时,可进行授权二开。
MIT License
850 stars 246 forks source link

启动报错 #1

Open larva2333 opened 4 years ago

larva2333 commented 4 years ago

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 commented 4 years ago

jar包是否下载完了呢?

larva2333 commented 4 years ago

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 commented 4 years ago

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

larva2333 commented 4 years ago

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

weizhiqiang1995 commented 4 years ago

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

Princeoo commented 3 years ago

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>

你怎么解决的