Uploaded image for project: 'Edgent'
  1. Edgent
  2. EDGENT-320

Errors in Apache Edgent sample programs..

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Apache Edgent 1.0.0
    • Apache Edgent 1.0.0
    • Samples
    • None

    Description

      [root@localhost incubator-edgent-apache-edgent-1.0.0RC1]# cd java_applications/
      [root@localhost java_applications]# javac HelloEdgent.java
      HelloEdgent.java:2: error: package org.apache.edgent.providers does not exist
      import org.apache.edgent.providers.iot;
      ^
      HelloEdgent.java:3: error: package org.apache.edgent.providers.direct does not exist
      import org.apache.edgent.providers.direct.DirectProvider;
      ^
      HelloEdgent.java:4: error: package org.apache.edgent.topology does not exist
      import org.apache.edgent.topology.TStream;
      ^
      HelloEdgent.java:5: error: package org.apache.edgent.topology does not exist
      import org.apache.edgent.topology.Topology;
      ^
      HelloEdgent.java:20: error: cannot find symbol
      DirectProvider dp = new DirectProvider();
      ^
      symbol: class DirectProvider
      location: class HelloEdgent
      HelloEdgent.java:20: error: cannot find symbol
      DirectProvider dp = new DirectProvider();
      ^
      symbol: class DirectProvider
      location: class HelloEdgent
      HelloEdgent.java:22: error: cannot find symbol
      Topology top = dp.newTopology();
      ^
      symbol: class Topology
      location: class HelloEdgent
      HelloEdgent.java:24: error: cannot find symbol
      TStream<String> helloStream = top.strings("Hello", "Edgent!");
      ^
      symbol: class TStream
      location: class HelloEdgent

      8 errors

      Attachments

        Activity

          People

            Unassigned Unassigned
            shankar.v vanagapandu shankarrao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: