Support Questions
Find answers, ask questions, and share your expertise

Storm maven dependency - classes not showing up

Storm maven dependency - classes not showing up

Super Guru
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <groupId>com.imad.streamlio</groupId>

  <artifactId>kafkastorm</artifactId>

  <version>0.0.1-SNAPSHOT</version>

  <packaging>jar</packaging>

  <name>kafkastorm</name>

  <url>http://maven.apache.org</url>

  <properties>

    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

  </properties>

  <dependencies>

    <dependency>

      <groupId>junit</groupId>

      <artifactId>junit</artifactId>

      <version>3.8.1</version>

      <scope>test</scope>

    </dependency>

    <dependency>

   	 	<groupId>org.apache.storm</groupId>

    		<artifactId>storm-core</artifactId>

    		<version>1.1.0</version>

	</dependency>

    <dependency>

    		<groupId>org.apache.storm</groupId>

    		<artifactId>storm-kafka</artifactId>

    		<version>1.1.0</version>

	</dependency>

  </dependencies>

</project>

But when I try to imoprt any packages, it sometimes doesn't show packages or sometimes I am able to import packages but when I create an object, I am unable to see my methods that an object can call. For example, I see absolutely nothing for TridentTopology object. <Ctrl>+<Space> doesn't do anything. Not even for import. I can also see jars under my "Maven Dependencies" in eclipse.
I have even installed a new version of eclipse. I have run "maven clean install". It seems like I am missing something trivial. Any idea here?