<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinsuke789</author_name>
  <author_url>https://blog.hatena.ne.jp/shinsuke789/</author_url>
  <blog_title>ソフラボの技術ブログ</blog_title>
  <blog_url>https://shinsuke789.hatenablog.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>WildFly</anon>
  </categories>
  <description>GlassFishで動作していたSpringBootアプリを、サーバー移管に伴いWildFlyに切り替えました。動作確認をしていくと、リソースの取得で404が返ってきて困っていました。いろいろと調査すると、パスの取得方法がアプリケーション・サーバーによって異なることがあるらしく、その場合の対処方法をまとめました。 環境 ・WildFly 15.0.1 Final ・Spring Boot 1.3.6 RELEASE ・CentOS 7 ・Eclipse 4.8 ・アプリはWARでデプロイ WilfFly上での問題の挙動 GlassFishでは、アプリをWAR形式でデプロイし動作させていました。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinsuke789.hatenablog.jp%2Fentry%2F2019%2F03%2F11%2F103000&quot; title=&quot;WildFlyでgetResourceするとパスが異なる事例と対処方法 - ソフラボの技術ブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/shinsuke789/20180904/20180904142307.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-11 10:30:00</published>
  <title>WildFlyでgetResourceするとパスが異なる事例と対処方法</title>
  <type>rich</type>
  <url>https://shinsuke789.hatenablog.jp/entry/2019/03/11/103000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
