# Problems with the SDK

**URL:** <https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462>\
**Category:** 3rd Party Modules\
**Created:** [September 14, 2015, 5:24pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462 "2015-09-14T17:24:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaopmrod2](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@joaopmrod2](https://forum.inductiveautomation.com/u/joaopmrod2)\
**Post date:** [September 14, 2015, 5:24pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/1 "2015-09-14T17:24:59Z")

</div>

I’m getting some errors with the SDK. I’ve followed the Getting Started guide in the documentation but I see those errors:

After importing all the projects:

When I try to run the Ant Build in the Modbus Example:

How can I fix it?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 14, 2015, 5:33pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/2 "2015-09-14T17:33:10Z")

</div>

It looks like the SFC projects are pointing to older, release candidate versions of the SDK libraries. You should be able to edit the dependencies for those projects to point to the newer versions of the jars in the IgnitionSDK folder.

I’d also suggest that if you’re just getting started, you instead check out the new set of example projects at [github.com/inductiveautomation/ … k-examples](https://github.com/inductiveautomation/ignition-sdk-examples), which use our new Maven-based SDK. We won’t be maintaining the downloadable ant-based SDK going forward.

---

<div class="post-metadata">

**Author:** ![joaopmrod2](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@joaopmrod2](https://forum.inductiveautomation.com/u/joaopmrod2)\
**Post date:** [September 14, 2015, 8:43pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/3 "2015-09-14T20:43:40Z")

</div>

Now I’m getting this when I try to run the Maven build with the goal set to package:

Failed to execute goal on project mde-build: Could not resolve dependencies for project com.inductiveautomation.ignition.examples:mde-build:jar:1.7.0: Failure to find com.inductiveautomation.ignition.examples:mde-gateway:jar:1.7.0 in [nexus.inductiveautomation.com:80 … n-releases](http://nexus.inductiveautomation.com:8081/nexus/content/repositories/inductiveautomation-releases) was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced -\> [Help 1]

---

<div class="post-metadata">

**Author:** ![joaopmrod2](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@joaopmrod2](https://forum.inductiveautomation.com/u/joaopmrod2)\
**Post date:** [September 14, 2015, 9:02pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/4 "2015-09-14T21:02:28Z")

</div>

Without changing anything that was solved.

Now I’m getting this message:

] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:testCompile (default-testCompile) on project mde-gateway: Compilation failure  
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?  
[ERROR] -\> [Help 1]

I only have the JDK installed. How can I confirm if eclipse is using it?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 14, 2015, 9:04pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/5 "2015-09-14T21:04:23Z")

</div>

[quote=“joaopmrod2”]  
I only have the JDK installed. How can I confirm if eclipse is using it?[/quote]

I imagine you can find that out on Google, or if someone else knows they can chime in. It’s been years since I’ve used Eclipse.

---

<div class="post-metadata">

**Author:** ![joaopmrod2](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@joaopmrod2](https://forum.inductiveautomation.com/u/joaopmrod2)\
**Post date:** [September 14, 2015, 9:23pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/6 "2015-09-14T21:23:44Z")

</div>

I’m trying with NetBeans and I’m getting the same error again:

Failed to execute goal on project mde-build: Could not resolve dependencies for project com.inductiveautomation.ignition.examples:mde-build:jar:1.7.0: Failure to find com.inductiveautomation.ignition.examples:mde-gateway:jar:1.7.0 in [nexus.inductiveautomation.com:80 … n-releases](http://nexus.inductiveautomation.com:8081/nexus/content/repositories/inductiveautomation-releases) was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced -\> [Help 1]

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 14, 2015, 9:31pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/7 "2015-09-14T21:31:59Z")

</div>

How are you trying to build these?

When I run ‘mvn package’ in the ModbusDriverExample it builds successfully.

---

<div class="post-metadata">

**Author:** ![joaopmrod2](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@joaopmrod2](https://forum.inductiveautomation.com/u/joaopmrod2)\
**Post date:** [September 14, 2015, 9:42pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/8 "2015-09-14T21:42:16Z")

</div>

This is what I’m doing:

---

<div class="post-metadata">

**Author:** ![joaopmrod2](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@joaopmrod2](https://forum.inductiveautomation.com/u/joaopmrod2)\
**Post date:** [September 14, 2015, 9:48pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/9 "2015-09-14T21:48:21Z")

</div>

I get the same message when I try to do it from the powershell

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 14, 2015, 9:58pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/10 "2015-09-14T21:58:06Z")

</div>

You should be running ‘mvn package’ against the parent pom, not the pom in mde-build or mde-gateway.

---

<div class="post-metadata">

**Author:** ![joaopmrod2](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@joaopmrod2](https://forum.inductiveautomation.com/u/joaopmrod2)\
**Post date:** [September 15, 2015, 1:45pm UTC](https://forum.inductiveautomation.com/t/problems-with-the-sdk/10462/11 "2015-09-15T13:45:32Z")

</div>

Thanks!
