java.lang.NoClassDefFoundError: com/sun/xml/wss/SecurityEnvironment

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

Solutions on the web

via Oracle Community by 843833, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via Oracle Community by AndyT_PA, 1 year ago
java.lang.NoClassDefFoundError: com/sun/xml/wss/SecurityEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.freebxml.omar.common.security.SoapSecurityUtil.getInstance(SoapSecurityUtil.java:67)
at org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMessenger.java:189)
at org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMessenger.java:109)
at org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQueryInternal(QueryManagerSOAPProxy.java:68)
at org.freebxml.omar.common.QueryManagerSOAPProxy.submitAdhocQuery(QueryManagerSOAPProxy.java:49)
at org.freebxml.omar.client.xml.registry.DeclarativeQueryManagerImpl.executeQuery(DeclarativeQueryManagerImpl.java:180)
at org.freebxml.omar.client.xml.registry.DeclarativeQueryManagerImpl.executeQuery(DeclarativeQueryManagerImpl.java:137)
at org.freebxml.omar.client.xml.registry.DeclarativeQueryManagerImpl.executeQuery(DeclarativeQueryManagerImpl.java:116)
at org.freebxml.omar.client.xml.registry.BusinessQueryManagerImpl.findObjects(BusinessQueryManagerImpl.java:260)
at undefined.JAXRQueryStored.executeQuery(Unknown Source)
at undefined.JAXRQueryStored.main(Unknown Source)

Users with the same issue

3 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
6 times, 6 months ago
2 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.