症状
Eclipseで、DICOMをJPEGに変換するプログラムを作成していたら、以下の【エラー内容】が出た。
エラー内容
Access restriction: The type JPEGCodec is not accessible due to restriction on required library
解決方法
1. [Window]-[Preferences]を選択 2. [Java]-[Compiler]-[Error/Warning]を選択 3. [Deprecated and restrited APIs]-[Forbidden reference (acess rule)]で、Errorから、Ignore(無視)または、Warning(警告)を選択
後日談
* この解決方法は、以下のような症状でも同様の対策ができた