{"id":321,"date":"2023-02-25T06:16:42","date_gmt":"2023-02-24T22:16:42","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=321"},"modified":"2023-02-25T06:16:42","modified_gmt":"2023-02-24T22:16:42","slug":"java-io-ioexception-invalid-constant-type-18","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/25\/java-io-ioexception-invalid-constant-type-18\/","title":{"rendered":"java.io.IOException invalid constant type 18"},"content":{"rendered":"<p><code>org.javassist<\/code>\u5305\u7248\u672c\u4e0d\u517c\u5bb9JDK 1.8\u7684\u95ee\u9898<\/p>\n<pre><code>java.lang.RuntimeException: java.io.IOException: invalid constant type: 18<\/code><\/pre>\n<p>\u539f\u56e0\uff1ajavassist 3.18\u4ee5\u4e0b\u7684\u7248\u672c\u4e0d\u652f\u6301\u5728JDK1.8\u4e0b\u8fd0\u884c<\/p>\n<p><!-- more --><\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u5347\u7ea7javassist \u52303.18\u6216\u4ee5\u4e0a\u7248\u672c<\/p>\n<pre><code class=\"language-xml\">&lt;!-- https:\/\/mvnrepository.com\/artifact\/org.javassist\/javassist --&gt;\n&lt;dependency&gt;\n    &lt;groupId&gt;org.javassist&lt;\/groupId&gt;\n    &lt;artifactId&gt;javassist&lt;\/artifactId&gt;\n    &lt;version&gt;3.21.0-GA&lt;\/version&gt;\n&lt;\/dependency&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>org.javassist\u5305\u7248\u672c\u4e0d\u517c\u5bb9JDK 1.8\u7684\u95ee\u9898 java.lang.RuntimeExceptio [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":["post-321","post","type-post","status-publish","format-standard","hentry","category-java-basic"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=321"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/321\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}