My guess is that you are using the following dependency
Code:
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
This jar is only usable for compilation as it is only the API it contains nothing more (not sure how they managed to create such a crappy jar file but alas).
Use the glassfish or jboss one instead..
JBoss
Code:
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>3.0.1.Final</version>
<scope>provided</scope>
</dependency>
Glassfish
Code:
<dependency>
<groupId>org.glassfish.extras</groupId>
<artifactId>glassfish-embedded-all</artifactId>
<version>3.1.1</version>
<scope>provided</scope>
</dependency>