twitter-hbc

When adding dependency: CDI deployment failure, Unsatisfied dependencies for type Set<Service> with qualifiers @Default

冷暖自知 提交于 2019-12-18 08:57:42
问题 When I add the twitter hbc dependency to my pom.xml I'm getting an error. I followed the instructions from here. I don't get it, if it was a dependency problem I should have found a fix on the web but if I comment out that dependency, my server is starting.. this is my what I added to my pom.xml: <dependency> <groupId>com.twitter</groupId> <artifactId>hbc-core</artifactId> <!-- or hbc-twitter4j --> <version>2.2.0</version> <!-- or whatever the latest version is --> </dependency> This is the

IOExcpetion while connecting to Twitter Streaming API with Apache Flink

别等时光非礼了梦想. 提交于 2019-12-10 16:38:21
问题 I wrote a small Scala program which uses the Apache Flink Streaming API to read Twitter tweets. object TwitterWordCount { private val properties = "/home/twitter-login.properties" def main(args: Array[String]) { val env = StreamExecutionEnvironment.getExecutionEnvironment val twitterStream = env.addSource(new TwitterSource(properties)) val tweets = twitterStream .flatMap(new JSONParseFlatMap[String, String] { override def flatMap(in: String, out: Collector[String]): Unit = { if (getString(in,

When adding dependency: CDI deployment failure, Unsatisfied dependencies for type Set<Service> with qualifiers @Default

烈酒焚心 提交于 2019-11-29 15:23:08
When I add the twitter hbc dependency to my pom.xml I'm getting an error. I followed the instructions from here. I don't get it, if it was a dependency problem I should have found a fix on the web but if I comment out that dependency, my server is starting.. this is my what I added to my pom.xml: <dependency> <groupId>com.twitter</groupId> <artifactId>hbc-core</artifactId> <!-- or hbc-twitter4j --> <version>2.2.0</version> <!-- or whatever the latest version is --> </dependency> This is the error: 2015-06-20T18:13:52.877+0200|Severe: Exception while loading the app : CDI deployment failure