• 踩坑笔记


     

    No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

    遇到了好多次

    https://blog.csdn.net/lslk9898/article/details/73836745


    Cannot resolve com.mysq.jdbc.Connection.ping method. Will use 'SELECT 1' instead.

    整合spring 和mybatis做单元测试出现的问题  将jdbc驱动由5.1.12换成5.1.25就好了   可能是和druid不兼容


    solr找不到schema.xml   原因是solr5以后将其改为managed-schema


    使用solrj  做搜索服务的时候一直报错  原因是把下面的solr_url写成了

    虽然不知道具体原因是什么  不过把/#号去掉就好了...


    把springboot打包成war包部署到服务器的时候出现404....天坑  弄了好久,发现本地用了java10  服务器用了8 改了重新打包就可以了


    org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
    Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
    java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
    at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:428)
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:684)
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:748)

    将tomcat下的server.xml  添加maxHttpHeaderSize


  • 相关阅读:
    返回一个整数数组中最大子数组的和 1
    软件工程第一周开课博客
    体温上报系统总结
    Android 布局中如何使控件居中
    Android:Unable to find explicit activity class报错
    Android Studio 线性布局
    相对布局
    HTML5 video视频
    阅读笔记——《人月神话》
    体温汇报系统界面
  • 原文地址:https://www.cnblogs.com/helloDuo/p/9497538.html
Copyright © 2020-2023  润新知