Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Target runtime JBoss v4.2 is not defined

I have imported a project and got the error "Target runtime JBoss v4.2 is not defined". I have added the JBoss 4.2 Runtime library. However, the error is still there.

In my Java Build Path, I have the followling libraries added already.

enter image description here

What other libraries do I miss to add?

like image 947
Johnny Avatar asked Nov 04 '13 02:11

Johnny


2 Answers

Have found the solution from net.

Right click on your project -> "Properties" -> "Project Facets" -> "runtimes" ->
uncheck your JBoss v4.2 and v5.0 check the new Jboss

But for my case, "uncheck JBoss 4.2 and check JBoss v4.2" for the last step.

like image 150
Johnny Avatar answered Oct 29 '22 01:10

Johnny


        Right click on java project -> build path -> configure build path ->
 libreries -> add external jars or add jars -> browse jboss client jar -> applay -> ok

i think this process may help you, i had followed this process, it was working for me.

like image 27
Sangram Badi Avatar answered Oct 28 '22 23:10

Sangram Badi