zoukankan      html  css  js  c++  java
  • 他妈的坑

    2020年6月11日:

     编译zookeeper源码时出现NoFoundClass org.apache.commons.cli.ParseException, 最终发现是依赖问题:

        <dependency>
    <groupId>commons-cli</groupId>
    <artifactId>commons-cli</artifactId>
      <!-- <scope>provided</scope>-->
    </dependency>
          去掉provided scope 就好了。

    2020年3月14日:

      window连接linux zookeeper服务一直处于connecting:

        linux没有对外开启8081端口,或者直接关闭防火墙: 

          开机不自动启动防火墙: sudo systemctl disable firewalld.service;  关闭防火墙: sudo systemctl stop firewalld.service。

    2020年3月5日

      springboot 项目调用算法so库,部署到Linux操作系统的docker容器中,so库加载路径须使用docker容器的路径。 耗时 9个小时。

    2017年10月9日 :

      1.)invalid bound statement (not found):  maven编译时没有把mapper.xml文件编译到服务器中?

            mapper.xml中的sql查询和mapper.java中的方法没有绑定成功;  

                              链接; http://blog.csdn.net/u013030276/article/details/50959349

      2.)eclipse启动tomcat访问不到主页  The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

              链接:http://blog.csdn.net/guitk/article/details/8306987

      1.) Eclipse中Tomcat的add and remove找不到项目

        选择要部署启动的项目(alt+enter) 、或 右击,选择最后的properties选项;  点击project facets;

        在右边勾选如图示的2项:Dynamic Web Module、Java;          点击apply,确认
      

      2.)Error configuring application listener of class org.springframework.web.context.ContextLoaderListener 

          工程部署后在WEB-INF文件夹下没有生成lib目录

            选择要部署启动的项目(alt+enter)右击,选择最后的properties选项;  选择Deployment Assembly,在右边点击Add按钮,在弹出的窗口中选择Java Build Path         Entries;  点击Next,选择Maven Dependencies;      Finish

  • 相关阅读:
    ubuntu下管理android手机
    ubuntu下管理android手机
    ubuntu下管理android手机
    常用开源<监控软件>介绍
    常用开源<监控软件>介绍
    我的坦克兵爷爷也曾扬威世界
    bootstrap-巨幕、缩略图、警告框
    bootstrap-面包屑和分页
    bootstrap-导航条
    bootstrap-导航、选项卡
  • 原文地址:https://www.cnblogs.com/lix-y/p/7643101.html
Copyright © 2011-2022 走看看