Windows 7 Eclipse/Forge configuration issues. Help appreciated.
ngajwani Apr 3, 2013 5:00 PMSo, I have just started using Eclipse, JBoss AS 7.1.1, Forge, Git and Maven and I'm running in to a number of issues. Because of my newness with all this technology and terminology, pardon any silly statements I might make henceforth.
I've been trying to run a basic example (Ticket-Monster, which is documented here) and it recommends using Forge for some scaffolding. I've installed JBoss Tools in Eclipse and I'm trying to get Forge to recognize the Model called Member.java that gets created with a default JBoss EE project when created in Eclipse. (I'm using Windows 7 64 bit, with Eclipse Juno.)
When I start Forge, I get this error:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: C:\Users\Administrator\.forge\runtime.log (Access is denied)
and
Error during Startup event
could not create config directory: C:\/Users/Administrator/.forge
Later, I also get:
Exception encountered: 14 problems were encountered while building the effective model for org.jboss.jdf.example.ticketmonster:ticket-monster:0.0.1-SNAPSHOT
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.bom:jboss-javaee-6.0-with-tools:pom:1.0.4.Final @ line 85, column 25
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.bom:jboss-javaee-6.0-with-hibernate:pom:1.0.4.Final @ line 92, column 25
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is missing. @ line 109, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar is missing. @ line 117, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is missing. @ line 125, column 21
[ERROR] 'dependencies.dependency.version' for org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar is missing. @ line 133, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar is missing. @ line 141, column 21
[ERROR] 'dependencies.dependency.version' for org.hibernate:hibernate-validator:jar is missing. @ line 150, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec:jar is missing. @ line 164, column 21
[ERROR] 'dependencies.dependency.version' for org.hibernate:hibernate-jpamodelgen:jar is missing. @ line 174, column 21
[ERROR] 'dependencies.dependency.version' for org.hibernate:hibernate-validator-annotation-processor:jar is missing. @ line 182, column 21
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ line 189, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.junit:arquillian-junit-container:jar is missing. @ line 198, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar is missing. @ line 204, column 21
My guess is that the first two are simply a result of misconfiguration, in that Forge is trying to access a folder to which it does not have access (I'm not Administrator, I have my own user folder). I have tried in vain to find some configuration options or XML file to point Forge at another location. I've added variables like HOME and FORGE_HOME to both my windows environment and the Linked Resources in Eclipse and none of them seem to help.
The latter issues seem to be related to the POM. The version numbers are indeed not mentioned in the POM for the packages, but they are in the "Effective POM" that Eclipse generates, so do I need to override them? Also, what are the non-resolvable import issues?
Any help resolving these would be greatly appreciated.
Thanks.