zoukankan      html  css  js  c++  java
  • bip项目的启用/调试+ 问题记录

    启动 

    1) 启动zookeeper

    2)启用redis

    启动命令

    redis-server.exe --maxheap 1024000000

     

    3)启用servermain

    4讲项目添加到tomcat中 点甲壳虫按钮

    -----------------------------------------遇到的问题----------------------------------------

    Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [G:Java_ytip_newBIP_ModelinmybatisyxptCpxtMatterMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error creating document instance.  Cause: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 61; 文档根元素 "mapper" 必须匹配 DOCTYPE 根 "null"。

    原因:漏了这一行

    <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >

    ----------------------------------

    Could not autowire field: private com.sapinfo.bip.bo.yxpt.impl.CpxtUserBO com.sapinfo.controller.CpxtController.cpxtUserBO; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.sapinfo.bip.bo.yxpt.impl.CpxtUserBO] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)

    原因:cpxtUserBO 是ICpxtUserBO的实现类,为什么不能调用,抱这种错我也不知道。

    以前遇到的问题s (undo:整理before乱七八糟日志):

    查看problem,解决problem

    1)项目引用 √

    2)版本——重装jdk1.8


    特别的,zookeeper和redis的配置位置记录如下:

    zookeeper:

     redis:

  • 相关阅读:
    SDK manager打不开解决办法(转载)
    debian安装中文字体
    rtos之定时器实现
    rtos学习之支持多优先级
    RT-Thread 的空闲线程和阻塞延时
    RT-Thread之对象容器
    RT-Thread 之临界段保护
    RT-Thread之线程实现就绪列表
    rtos 学习之链表
    RTOS 的学习之创建线程
  • 原文地址:https://www.cnblogs.com/tldxh/p/12482015.html
Copyright © 2011-2022 走看看