Im trying to follow this tutorial: https://docs.jboss.org/author/display/AS7/Helloworld+quickstart
But getting build error when following the simple instructions to
Removing of redHat "postfix" resolved the problem, just have actual jar name, instead of having redHat postfix.
Have below dependencies in your pom.xml, then it will build successfully.
org.jboss.spec
jboss-javaee-6.0
3.0.2.Final
pom
import
javax.enterprise
cdi-api
1.0-SP4
provided
org.jboss.spec.javax.annotation
jboss-annotations-api_1.1_spec
1.0.1.Final
provided
org.jboss.spec.javax.servlet
jboss-servlet-api_3.0_spec
1.0.2.Final
provided