Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONFTappingAppImpl fails to compile #3

Open
ggee opened this issue Apr 27, 2014 · 6 comments
Open

ONFTappingAppImpl fails to compile #3

ggee opened this issue Apr 27, 2014 · 6 comments

Comments

@ggee
Copy link

ggee commented Apr 27, 2014

I get an error when trying to build about missing symbol. It seems there is a missing import.

[ERROR] /home/ggee/controller/opendaylight/samples/SampleTap/src/main/java/org/opendaylight/controller/samples/onftappingapp/internal/ONFTappingAppImpl.java:[65,4] error: cannot find symbol
[ERROR] symbol: class Router
[ERROR] location: class ONFTappingAppImpl

I'm not sure if it is correct, but I added the following so it would compile.

import org.opendaylight.controller.samples.onftappingapp.Router;

I haven't been able to get the plugin to run yet, but it compiles with the above fix.

@andrewkpearce
Copy link
Contributor

That fix seems correct to me. I am not sure why it is needed since Router is in the same workspace as the rest of the application, but if that fixes it, its fine.

@andrewkpearce
Copy link
Contributor

I have added the web-ui source files.

@ggee
Copy link
Author

ggee commented May 1, 2014

@andrewkpearce I am not working from Eclipse. I am just cloning from github and then running Maven to compile. Will you seen be releasing the README on how to setup, compile and run the sample? I could try and use eclipse but I don't know what the classpath setup would be. Could you add another directory, maybe called 'workspace' in here that contains the .project and .classpath files for your Eclipse workspace?

@andrewkpearce
Copy link
Contributor

I used maven to build the application. I did use Eclipse at the start of the project but I switched to using maven once i started using OSGi. I think you will need to download the mongodb java driver and the Spark web server and compile them with Maven. I assume you have internet connectivity from the system where you are running the build?

@kjai
Copy link

kjai commented Apr 17, 2015

Hello Everyone

I am new with ODL (just installed it) and now, I am trying to run Tapping Application on it. I need GIT instructions to download the Tapping Application code as well as on how to compile it. I guess, the installation instructions would be the next in line of my requests!

I would appreciate your help in this regard

Thanks

Kavita

Kavita

@kjai
Copy link

kjai commented Apr 17, 2015

I think, I found the URL at the GIT repository. Will be trying that

Sorry about that

Kavita

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants