metadata-extractor class file unable to import in java class

我的未来我决定 提交于 2019-12-13 03:44:28

问题


I am using metadata-extractor to extract geo location from images but class file of metadata-extractor unable to recognise in java class, while all the classes are showing in maven lib.

Maven dependency

   <dependency>
        <groupId>com.drewnoakes</groupId>
        <artifactId>metadata-extractor</artifactId>
        <version>2.11.0</version>
    </dependency>
   <dependency>
     <groupId>javaxt</groupId>
     <artifactId>javaxt-core</artifactId>
     <version>1.8.1</version>
   </dependency>

Java import classes

import com.drew.imaging.ImageMetadataReader;
import com.drew.imaging.ImageProcessingException;
import com.drew.lang.GeoLocation;
import com.drew.metadata.Metadata;
import com.drew.metadata.exif.ExifSubIFDDirectory;
import com.drew.metadata.exif.GpsDirectory;

来源:https://stackoverflow.com/questions/50114454/metadata-extractor-class-file-unable-to-import-in-java-class

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!