watson-developer-cloud / java-sdk

:1st_place_medal: Java SDK to use the IBM Watson services.
http://watson-developer-cloud.github.io/java-sdk/
Apache License 2.0
593 stars 532 forks source link

Main cannot be found #321

Closed saimouli closed 8 years ago

saimouli commented 8 years ago

I'm using eclipse mars capture

capture2

What would be the main class, if I want to run visual recognition service?

GrapeBaBa commented 8 years ago

@saimouli It seems you don't make examples catelog as source code catelog.

max-vogler commented 8 years ago

Hey @saimouli. You have already found the right class: examples/com/ibm/watson/developer_cloud/visual_recognition/v2/VisualRecognitionExample.java

You have to move it into the src folder to execute it, because examples is not part of your build path: src/com/ibm/watson/developer_cloud/visual_recognition/v2/VisualRecognitionExample.java

germanattanasio commented 8 years ago

me2

germanattanasio commented 8 years ago

I'm closing this since it's not a problem in the SDK. We don't want to make the examples to be part of the classpath.