Target runtime JBoss v4.2 is not defined
Asked Answered
P

2

8

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?

Pilatus answered 4/11, 2013 at 2:55 Comment(0)
P
25

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.

Pilatus answered 4/11, 2013 at 4:9 Comment(1)
Yes it worked for me too.This happens if you have more than one server configured.It takes the first oneCharbonnier
T
1
        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.

Tush answered 29/9, 2016 at 10:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.