简体   繁体   中英

How to use Phantom in Scala IDE

I want to use phantom with my scala IDE.So for this i clone the git hub repository and created a .jar file of phantom using sbt -> compile -> package.I add this .jar file to build path in my Scala IDE but still while importing

import com.websudos.phantom.connectors._

is throwing error that

object connector is not a member of com.websudos.phantom .

While using auto complete function of scala ide it is showing only the import for

import com.websudos.phantom.example

.I don't know if the jar files got created for example then why it is not created for other. I search in internet but all other option are given as to add dependency in sbt build path but i dont want to use it.

Use sbt-assebly instead to create a fat jar.

https://github.com/sbt/sbt-assembly

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM