cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

how to fix error related to 'thingworx:temperature-thing:jar' in temperature-thing project

festes
1-Visitor

how to fix error related to 'thingworx:temperature-thing:jar' in temperature-thing project

I'm trying to connect Thingworx to Raspberry Pi using temperature-thing example with Am2302 sensor.

Thingworx-common jar file has been installed manually, but running 'mvn package' gave the following error:

C:\Users\Lipi.Malladi\Downloads\temperature-thing\temperature-thing>mvn package

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building temperature-thing 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for com.thingworxs:thingworx-common:jar:6.0.2 is missing, no dependency information available

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.643 s

[INFO] Finished at: 2017-07-10T15:10:55-05:00

[INFO] Final Memory: 6M/15M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project temperature-thing: Could not resolve dependencies for project com.ptcmanaged.thingworx:temperature-thing:jar:1.0-SNAPSHOT: Failure to find com.thingworxs:thingworx-common:jar:6.0.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

I have updated the link in pom file to: http://maker01.cloud.thingworx.com/mvnrepo

Please let me know how this error could be resolved. Thanks

2 REPLIES 2
supandey
19-Tanzanite
(To:festes)

Hi Fred, which Edge SDK are you attempting to setup? Seems like the class path configuration is incorrect

festes
1-Visitor
(To:supandey)

Hi Sushant, I am trying to setup SDK version 1.0.0.38

Announcements


Top Tags