![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错
白礼军
这个作者很懒,什么都没留下…
展开
-
解决报错java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present
今天在运行程序的时候,一直报“java.lang.TypeNotPresentException: Type javax.xml.bind.JAXBContext not present”的错误, 代码之前一直没有动过,唯一的改变的就是之前用的是jdk8,昨天卸载了jdk8,重装了jdk12。百度原因,发现是因为用了jdk12的缘故。因为JAXB-API是java ee的一部分,在jdk12中没...原创 2019-09-04 22:02:27 · 14827 阅读 · 23 评论 -
Rejecting mapping update to [XXX] as the final mapping would have more than 1 type: [XXX, XX]"
ElasticSearch返回的异常为{ "error": { "root_cause": [ { "type": "illegal_argument_exception", "reason": "Rejecting mapping update to [test_index] as the final mapping would have...原创 2019-09-13 22:42:37 · 954 阅读 · 0 评论