No source attachment found in com.esri.arcgisruntime maven dependency

319
1
02-26-2020 02:27 AM
ShivamMishra2
New Contributor

pom.xml

<repositories>

<repository>
<id>esri</id>
<name>Geotools repository arcgis-java </name>
<url>https://dl.bintray.com/esri/arcgis/</url>
</repository>

</repositories>

<!-- https://mvnrepository.com/artifact/com.esri.arcgisruntime/arcgis-java -->
<dependency>
<groupId>com.esri.arcgisruntime</groupId>
<artifactId>arcgis-java</artifactId>
<version>100.7.0</version>
</dependency>

ControllerClass:

ServiceFeatureTable featureTable = new ServiceFeatureTable("url");
FeatureLayer featureLayer = new FeatureLayer(featureTable);

I tried all the versions then also not able to get the source file for this.

Tags (1)
0 Kudos
1 Reply
by Anonymous User
Not applicable

Hi Shivam Mishra‌,

Have you read through this Get the SDK—ArcGIS Runtime SDK for Java | ArcGIS for Developers  for your project setup ?

That shall worth to use that sample as well. GitHub - Esri/java-maven-starter-project: Starter project for the ArcGIS Runtime SDK for Java with M... 

And check whether you have download the package from maven as well.

0 Kudos