<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m0t0m0t0</author_name>
  <author_url>https://blog.hatena.ne.jp/m0t0m0t0/</author_url>
  <blog_title>A Micro Toolbox</blog_title>
  <blog_url>https://volvox.hateblo.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>J2SE 1.4で動いていたHttpClient 3.1を使うプログラムをJava 6で動かしたら&quot;The type CookiePolicy is ambiguous&quot;というエラーが出た。 HttpMethod method = new GetMethod(); method.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); java.net.*をインポートしていて、Java6から追加されたJava.net.CookiePolicyとかぶったのが原因だった。 パッケージ名を指定すればエラーはなくなる。 metho…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fvolvox.hateblo.jp%2Fentry%2F20120519%2F1337396992&quot; title=&quot;HttpClient: Java6でThe type CookiePolicy is ambiguousエラー - A Micro Toolbox&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-05-19 12:09:52</published>
  <title>HttpClient: Java6でThe type CookiePolicy is ambiguousエラー</title>
  <type>rich</type>
  <url>https://volvox.hateblo.jp/entry/20120519/1337396992</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
