I just dowloaded JBoss Developer Studio 7 and created a jboss-javaee6-webapp maven
project.
But I am not able to build:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See
http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
Downloading:
http://repo.maven.apache.org/maven2/org/jboss/bom/eap/jboss-javaee-6.0-wi...
Downloading:
http://repo.maven.apache.org/maven2/org/jboss/bom/eap/jboss-javaee-6.0-wi...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jboss.tools.examples:jboss-javaee6-webapp:0.0.1-SNAPSHOT
(C:\Users\s.martinelli\workspace\jboss-javaee6-webapp\pom.xml) has 15 errors
[ERROR] Non-resolvable import POM: Could not find artifact
org.jboss.bom.eap:jboss-javaee-6.0-with-tools:pom:6.2.0-build-5 in central
(
http://repo.maven.apache.org/maven2) @ line 71, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not find artifact
org.jboss.bom.eap:jboss-javaee-6.0-with-hibernate:pom:6.2.0-build-5 in central
(
http://repo.maven.apache.org/maven2) @ line 78, column 25 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is
missing. @ line 95, column 21
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar is missing. @ line 103,
column 21
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is missing. @ line 111, column 21
[ERROR] 'dependencies.dependency.version' for
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar is missing. @ line 119, column
21
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar is missing. @ line 127, column 21
[ERROR] 'dependencies.dependency.version' for
org.hibernate:hibernate-validator:jar is missing. @ line 136, column 21
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec:jar is missing. @ line 150, column 21
[ERROR] 'dependencies.dependency.version' for
org.hibernate:hibernate-jpamodelgen:jar is missing. @ line 160, column 21
[ERROR] 'dependencies.dependency.version' for
org.hibernate:hibernate-validator-annotation-processor:jar is missing. @ line 168, column
21
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @
line 175, column 21
[ERROR] 'dependencies.dependency.version' for
org.jboss.arquillian.junit:arquillian-junit-container:jar is missing. @ line 184, column
21
[ERROR] 'dependencies.dependency.version' for
org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar is missing. @ line 190,
column 21
[ERROR] 'dependencies.dependency.version' for
org.jboss.as:jboss-as-arquillian-container-remote:jar is missing. @ line 266, column 29
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Posted by forums
Original post:
https://community.jboss.org/message/848378#848378