The container 'Maven Dependencies' references non existing library [message #661130] |
Wed, 23 March 2011 06:18  |
Eclipse User |
|
|
|
While trying to build a project, I get:
The container 'Maven Dependencies' references non existing library 'C:\bea\wlserver_10.3\server\lib\weblogic.jar'
The line in the pom.xml file that causes the error is:
weblogicHome>${env.BEA_HOME}/wlserver_10.3</weblogicHome>
I had an old Bea Weblogic installed in C:\bea, but later I installed a new version in C:\bea_10.3.3 and then deleted the old one.
The environment variables are correctly set (I verified in the console):
BEA_HOME=C:\bea_10.3.3
DOMAIN_HOME=C:\bea_10.3.3\user_projects\domains\MyDomain
WL_HOME=C:\bea_10.3.3\wlserver_10.3
I checked and in Eclipse I can not see any BEA_HOME variable set anywhere, and even if I try to set it to the correct value in Java -> Build Path > Classpath Variables, I still get the same error.
This does not seem to be a problem related to Maven, Weblogic etc, but to Eclipse, that's not resolving the env.BEA_HOME the way it should (with the system variable).
Thanks in advance for your help.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04418 seconds