Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6565235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:04:07+00:00 2026-05-25T14:04:07+00:00

well, i needed to convert a project made with eclipse to an SBT project.

  • 0

well, i needed to convert a project made with eclipse to an SBT project.
still, when i compile, some unresolved dependencies causes compilation errors.

> compile
[info] Compiling 9 Scala sources to /home/giladhoch/workspace/clever_dropbox/clever_dropbox_manager/target/scala-2.9.0.1/classes...
[error] /home/giladhoch/workspace/clever_dropbox/clever_dropbox_manager/src/main/scala/filesTagSystem/DynamicClassLoader.scala:7: not found: object labels
[error] import labels.FileLabeler
[error]        ^
[error] /home/giladhoch/workspace/clever_dropbox/clever_dropbox_manager/src/main/scala/filesTagSystem/DynamicClassLoader.scala:96: value labelFile is not a member of type parameter A
[error]      fileLabelers.foreach{ f=> f.labelFile(file).foreach{ s=> tagsList+=s}}
[error]                                  ^
[error] /home/giladhoch/workspace/clever_dropbox/clever_dropbox_manager/src/main/scala/watchDirectory/ServiceManager.scala:9: object StandardWatchEventKind is not a member of package java.nio.file
[error] import java.nio.file.StandardWatchEventKind._
[error]                      ^
[error] /home/giladhoch/workspace/clever_dropbox/clever_dropbox_manager/src/main/scala/main/clientManager.scala:24: overloaded method constructor Thread with alternatives:
[error]   (java.lang.String)java.lang.Thread <and>
[error]   (java.lang.Runnable)java.lang.Thread
[error]  cannot be applied to (watchDirectory.ServiceManager)
[error]     val serviceThread = new Thread(service)
[error]                         ^
[error] four errors found
[error] {file:/home/giladhoch/workspace/clever_dropbox/clever_dropbox_manager/}default-55f3d0/compile: Compilation failed
[error] Total time: 3 s, completed Sep 15, 2011 4:42:32 AM

as you can see, the errors are caused by two unresolved imports.
first one for import labels.FileLabeler and the second one for import java.nio.file.StandardWatchEventKind._
well, i have no idea why the java.nio import does’nt work. JAVA_HOME is defined to java7 folder, so should’nt SBT supposed to know to look there? and for the other import, well, it’s a local precompiled class file. i tried to add in build.sbt the following:

resolvers += Resolver.file("local-lib", file("/home/*path-to-project*/src/main/scala/tagsPluginsDir/")) transactional()

but it didn’t help much…
so how can this be solved?

thanks,
Gilad.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:04:07+00:00Added an answer on May 25, 2026 at 2:04 pm

    problem has been resolved:
    for the outer source files, i opened a new sbt project and used publish-local, so the jars end up in the .ivy2 folder, so sbt now know where to get the dependencies from.

    as for the java.nio.file.StandardWatchEventKind import, turns out it just had a missing trailing s, and it should be: java.nio.file.StandardWatchEventKind*s*

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently started a project and needed to do some integration with LDAP via
I had a parametrized insert statement that was working well and I needed to
Well, I needed to bind DateTime.Now to a TextBlock, I used that: Text={Binding Source={x:Static
I have some code i'm revewing, which is used to convert some text into
well...just about all I needed to say...lookie here, I'm a total noob in web
Hopefully I can articulate my question well enough to get some clear and usable
well, i'm making an app from a UiWebView example i found. and i needed
I had a Dynamic PHP website which I needed to convert into a static
Well, I can't understand when and why it is needed to allocate memory using
Well the subject is the question basically. Are there any version control systems out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.