The default java ee api's are um...messed up.
They are not meant to actually run stuff but only to compile stuff, they don't actually have any content because of some copyright or whatever issue that I forgot about.
So when you define the dependency you should state:
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
<scope>provided</scope>
</dependency>
Note that additional "scope" and add an actual implementation to your runtime.
Alternatively (what I often do to allow for testcases) you could include an actual implementation like that of jboss.