Skip to main content
1-Visitor
May 25, 2018
Solved

Sample import error during Java SDK Setup Guide

  • May 25, 2018
  • 1 reply
  • 1311 views

Hello, 

 

I'm absolutely new to Java, in fact I'm new to programming language itself - trying to go through some of the quick start guides on PTC ThingWorx Developer Portal. 

 

I'm currently stuck on Java SDK Setup GuideEclipse Project Setup > Import Sample Files

 

Up on step 8 (Click Finish), Eclipse returns 7 error items as attached. 

 

Seems like there is something wrong with scr setup as there are red cross boxes all over Package Explorer 

 

I suspect the error starts at Set Up Javadoc stage as my downloaded copy of Javadoc files slightly differ with Guide's examples (screenshot attached). 

 

Can anyone help please?

Best answer by thingw0rxgenie

This error is because you imported the Java project at the samples folder instead of at the src folder. It looks like you already have the files imported, so you could just delete the three packages at the bottom.

1 reply

5-Regular Member
June 5, 2018

This error is because you imported the Java project at the samples folder instead of at the src folder. It looks like you already have the files imported, so you could just delete the three packages at the bottom.