Can't import standard Java package [message #667292] |
Wed, 27 April 2011 17:38  |
Eclipse User |
|
|
|
I have a Virgo OSGi project that uses Spring Web Services and other Spring projects related to web services security. When I attempt to deploy my bundle to Virgo, I get the following error:
An Import-Package could not be resolved. Caused by missing constraint in bundle <gov.noaa.nws.iris.OasisCapServiceImpl_0.0.1>
constraint: <Import-Package: org.springframework.ws.soap.security.wss4j; version="0.0.0">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.ws.soap.security_2.0.0.RELEASE>
constraint: <Import-Package: com.sun.xml.wss; version="0.0.0">
An Import-Package could not be resolved. Caused by missing constraint in bundle <com.springsource.com.sun.xml.wss_2.0.0.FCS>
constraint: <Import-Package: com.sun.org.apache.xml.internal.security.algorithms; version="0.0.0">
The last Import-Package error is causing the previous two Import-Package errors. It says it can't find the com.sun.org.apache.xml.internal.security.algorithms package which is part of standard Java. Virgo's lib/java6-server.profile file contains the following:
which I thought meant that the com.sun.org.apache.xml.internal.security.algorithms package should be available.
Am I missing something? Do I not understand what the entries in Virgo's lib/java6-server.profile really do?
Thanks,
Aaron
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.04968 seconds