# Error building Perspective component example

**URL:** <https://forum.inductiveautomation.com/t/error-building-perspective-component-example/24068>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [April 11, 2019, 10:19pm UTC](https://forum.inductiveautomation.com/t/error-building-perspective-component-example/24068 "2019-04-11T22:19:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wbohn](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wbohn](https://forum.inductiveautomation.com/u/wbohn)\
**Post date:** [April 11, 2019, 10:19pm UTC](https://forum.inductiveautomation.com/t/error-building-perspective-component-example/24068/1 "2019-04-11T22:19:29Z")

</div>

Running gradlew.bat from IntelliJ fails with the error “No such host is known (nexus.ia.local)”.

As a shot in the dark, I changed the maven repositories URLs in the main build.gradle file to “[https://nexus.inductiveautomation.com/repository/inductiveautomation-releases](https://nexus.inductiveautomation.com/repository/inductiveautomation-releases)”.

Attempting to build this fails with a different error, “Could not find any matches for com.inductiveautomation.ignitionsdk:module-signer:1.0.+”.

Please advise.

[Build1.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/61632353bf657301affa472b864a650da2c92ff9.txt) (1.1 KB)  
[Build2.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/7cd581fa0d5391a1c51e98ce0c272e6bbe34c27c.txt) (1.8 KB)

---

<div class="post-metadata">

**Author:** ![PerryAJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/perryaj/32/3281_2.png) [@PerryAJ](https://forum.inductiveautomation.com/u/PerryAJ)\
**Post date:** [April 12, 2019, 12:49am UTC](https://forum.inductiveautomation.com/t/error-building-perspective-component-example/24068/2 "2019-04-12T00:49:27Z")

</div>

Hi wbohn,

Sorry about that! You should be able to resolve the module-signer dependency if you add the releases repo (as you attempted), as well as the snapshot repo:  
`https://nexus.inductiveautomation.com/repository/inductiveautomation-snapshots`.

Alternatively, it should work if you clone [https://github.com/inductiveautomation/module-signer](https://github.com/inductiveautomation/module-signer) and execute `mvn install` in its root directory (if you have maven installed on your machine), as that is the dependency that it’s failing to resolve.

Feel free to submit a pull request if this fixes the issue and you’re looking to get some github activity points. Otherwise, we’ll get the changes in there soon. I believe we have some more updates planned for the perspective component in the near future due to API changes pending in 8.0.1, so keep an eye out for that over the next week or two as well.

Sorry again, and thanks for reporting this!

---

<div class="post-metadata">

**Author:** ![Yogini\_Marathe](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@Yogini\_Marathe](https://forum.inductiveautomation.com/u/Yogini_Marathe)\
**Post date:** [April 12, 2019, 9:19am UTC](https://forum.inductiveautomation.com/t/error-building-perspective-component-example/24068/3 "2019-04-12T09:19:02Z")

</div>

Hi,

I am seeing a different error as shown in attached text.[buildError.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/d97a1ecc7a6632d2855b8d6b554560be33d2873d.txt) (2.9 KB)  
Am I using correct dependencies ? This is the content from designer build.gradle file -

```auto
plugins {
    id "java"
}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
dependencies {
    compile(project(":common"))
    compileOnly("com.inductiveautomation.ignitionsdk:designer-api:8.0.0")
    compileOnly("com.inductiveautomation.ignitionsdk:perspective-common:8.0.0")
    compileOnly("com.inductiveautomation.ignitionsdk:ignition-common:8.0.0")
}

```

Please advise

---

<div class="post-metadata">

**Author:** ![PerryAJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/perryaj/32/3281_2.png) [@PerryAJ](https://forum.inductiveautomation.com/u/PerryAJ)\
**Post date:** [April 12, 2019, 3:41pm UTC](https://forum.inductiveautomation.com/t/error-building-perspective-component-example/24068/4 "2019-04-12T15:41:01Z")

</div>

We pushed an update to the example that should resolve your issue. I believe you are missing the thirdparty repository:

`maven { url "http://nexus.inductiveautomation.com:8081/repository/inductiveautomation-thirdparty/" }`

If you pull the changes from [the updated example](https://github.com/inductiveautomation/ignition-sdk-examples/tree/master/perspective-component), it should resolve your issue.

---

<div class="post-metadata">

**Author:** ![Yogini\_Marathe](https://avatars.discourse-cdn.com/v4/letter/y/85e7bf/32.png) [@Yogini\_Marathe](https://forum.inductiveautomation.com/u/Yogini_Marathe)\
**Post date:** [April 16, 2019, 8:51am UTC](https://forum.inductiveautomation.com/t/error-building-perspective-component-example/24068/5 "2019-04-16T08:51:20Z")

</div>

Thanks a lot. It is working now.
