The best place to ask programming/development questions, imo. UPDATE: stackoverflow is the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but a great reference for finding answers.

My Music (Nickleus)

20121206

how to add jboss 7 server in eclipse juno on ubuntu 12.04 - Missing classpath entry ...jboss-as-7.1.1.Final/bin/run.jar, no new server runtime environments were found

i imported a project of ours that uses jboss 7, but i wasn't able to create a new jboss 7 server instance in eclipse (on ubuntu linux 12.04). i got the following errors:
"Missing classpath entry /home/me/workspaceJuno/myJBoss7Project/jboss-as-7.1.1.Final/bin/run.jar"
and when i tried to use eclipse's "search" function:
window > preferences > server > runtime environments > search > (select jboss 7 folder "jboss-as-7.1.1.Final")i got the following error:
"no new server runtime environments were found"

in order to fix this i followed the suggestion here:
http://stackoverflow.com/questions/6802754/how-to-run-jboss-as-7-with-eclipse-3-6helios

and did this:
eclipse > help > install new software > work with: http://download.jboss.org/jbosstools/updates/development/juno/ > (hit enter) > JBoss Web and Java EE Development > (check) JBossAS Tools > next > next > (accept) > finish

you need to restart eclipse before you can proceed.

window > preferences > server > runtime environments > add > jboss community > (select) jboss 7.1 runtime > next > (set the home directory for your jboss 7 installation, e.g. for me it is /home/me/workspaceJuno/myJBoss7Project/jboss-as-7.1.1.Final) > (set your JRE, e.g. for me, i am using java-6-openjdk-amd64) > finish

No comments:

Post a Comment