dsqzhong
dsqzhong
采纳率50%
2021-04-26 10:59 阅读 39
已采纳

tomcat启动web项目报错

tomcat能启动,但是在加载项目的时候报错,提示信息如下,最后License has expired就跳出了!!

[DEBUG] com.alibaba.druid.pool.PreparedStatementPool#put : {conn-10001, pstmt-20001} enter cache
[DEBUG] org.springframework.beans.factory.annotation.InjectionMetadata#checkConfigMembers : Registered injected element on class [com.tp.interceptor.SqlTimeInterceptor]: AutowiredFieldElement for private com.tp.util.RedisUtil com.tp.interceptor.SqlTimeInterceptor.redisUtil
[DEBUG] org.springframework.beans.factory.annotation.InjectionMetadata#inject : Processing injected element of bean 'com.tp.interceptor.SqlTimeInterceptor#531a1774': AutowiredFieldElement for private com.tp.util.RedisUtil com.tp.interceptor.SqlTimeInterceptor.redisUtil
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#getSingleton : Creating shared instance of singleton bean 'rimRestMapper'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#createBean : Creating instance of bean 'rimRestMapper'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doCreateBean : Eagerly caching bean 'rimRestMapper' to allow for resolving potential circular references
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning eagerly cached instance of singleton bean 'sqlSessionFactory' that is not fully initialized yet - a consequence of a circular reference
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#getTypeForFactoryBean : Ignoring bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'rimRestMapper' defined in file [D:\workspace2\tp_cipuc2\WebContent\WEB-INF\classes\com\rest\restinterface\uacm\rim\mapper\RimRestMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: Property 'dataSource' is required; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: Property 'dataSource' is required
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#getSingleton : Creating shared instance of singleton bean 'redisUtil'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#createBean : Creating instance of bean 'redisUtil'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
[DEBUG] org.springframework.context.annotation.CommonAnnotationBeanPostProcessor#buildLifecycleMetadata : Found init method on class [com.tp.util.RedisUtilImpl]: public void com.tp.util.RedisUtilImpl.init()
[DEBUG] org.springframework.context.annotation.CommonAnnotationBeanPostProcessor#checkConfigMembers : Registered init method on class [com.tp.util.RedisUtilImpl]: org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement@316510
[DEBUG] org.springframework.beans.factory.annotation.InjectionMetadata#checkConfigMembers : Registered injected element on class [com.tp.util.RedisUtilImpl]: AutowiredFieldElement for private org.springframework.data.redis.core.StringRedisTemplate com.tp.util.RedisUtilImpl.stringRedisTemplate
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doCreateBean : Eagerly caching bean 'redisUtil' to allow for resolving potential circular references
[DEBUG] org.springframework.beans.factory.annotation.InjectionMetadata#inject : Processing injected element of bean 'redisUtil': AutowiredFieldElement for private org.springframework.data.redis.core.StringRedisTemplate com.tp.util.RedisUtilImpl.stringRedisTemplate
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#getSingleton : Creating shared instance of singleton bean 'rimRestMapper'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#createBean : Creating instance of bean 'rimRestMapper'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doCreateBean : Eagerly caching bean 'rimRestMapper' to allow for resolving potential circular references
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning eagerly cached instance of singleton bean 'sqlSessionFactory' that is not fully initialized yet - a consequence of a circular reference
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#getTypeForFactoryBean : Ignoring bean creation exception on FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'rimRestMapper' defined in file [D:\workspace2\tp_cipuc2\WebContent\WEB-INF\classes\com\rest\restinterface\uacm\rim\mapper\RimRestMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: Property 'dataSource' is required; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: Property 'dataSource' is required
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#getSingleton : Creating shared instance of singleton bean 'stringRedisTemplate'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#createBean : Creating instance of bean 'stringRedisTemplate'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doCreateBean : Eagerly caching bean 'stringRedisTemplate' to allow for resolving potential circular references
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#getSingleton : Creating shared instance of singleton bean 'jedisConnectionFactory'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#createBean : Creating instance of bean 'jedisConnectionFactory'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doCreateBean : Eagerly caching bean 'jedisConnectionFactory' to allow for resolving potential circular references
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#getSingleton : Creating shared instance of singleton bean 'jedisPoolConfig'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#createBean : Creating instance of bean 'jedisPoolConfig'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doCreateBean : Eagerly caching bean 'jedisPoolConfig' to allow for resolving potential circular references
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#doGetBean : Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#createBean : Finished creating instance of bean 'jedisPoolConfig'
[DEBUG] org.springframework.beans.factory.support.DefaultListableBeanFactory#invokeInitMethods : Invoking afterPropertiesSet() on bean with name 'jedisConnectionFactory'
License has expired
 

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • 已采纳
    software7503 CSDN专家-赖老师(软件之家) 2021-04-26 11:17

    License has expired,盗版,从新找一个key注册一下。

    点赞 1 评论 复制链接分享
  • technologist_34 CSDN专家-lynn 2021-04-26 11:31

    你用到什么收费的库了吗?

    点赞 评论 复制链接分享
  • QA_Assistant 有问必答小助手 2021-04-26 13:26

    您好,我是有问必答小助手,你的问题已经有小伙伴为您解答了问题,您看下是否解决了您的问题,可以追评进行沟通哦~

    如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~

    ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632

    点赞 评论 复制链接分享
  • QA_Assistant 有问必答小助手 2021-04-26 18:44

    非常感谢您使用有问必答服务,为了后续更快速的帮您解决问题,现诚邀您参与有问必答体验反馈。您的建议将会运用到我们的产品优化中,希望能得到您的支持与协助!

    速戳参与调研>>>https://t.csdnimg.cn/Kf0y

    点赞 评论 复制链接分享

相关推荐