maven shade プラグインを使用して実行可能な jar を実行した後、FileNotFoundException が原因でアプリケーションが失敗しました。アプリケーションの開発中に、ファイルを src/main/resources に配置したため、パスは「src/main/resources/maps/map.shp」のように定義されました。コード内のすべてのパスを変更する必要がありますか?また、どのように変更すればよいですか? なぜこれが起こるのですか?
Exception in thread "main" java.io.FileNotFoundException: C:\Users\ilija\Desktop
\MavenizedCP\cp-map\target\src\main\resources\maps\ParcelsCountyRDMFinal5.shp (T
he system cannot find the path specified)