|
Download
FAQ History |
|
API
Search Feedback |
Troubleshooting XWS-Security Applications
Error: at XMLCipher.getInstance (Unknown Source)
[java] Exception in thread "main" java.lang.NullPointerException [java] at com.sun.org.apache.xml.security.encryption.XMLCipher.getInstan ce(Unknown Source)Solution: Configure a JCE provider as described in Configuring a JCE Provider.
Error: UnsupportedClassVersionError
java.lang.UnsupportedClassVersionError: com/sun/tools/javac/ Main (Unsupported major.minor version 49.0)Solution: Install version 1.4.2 of Java 2 Standard Edition (J2SE). If you had an older version of the JDK, you will also have to reinstall the Application Server so that it recognizes this as the default version of the JDK. If you've installed version 1.5 of the JDK, you must use version 1.4.2 as the target JDK for XWS-Security.
Error: DeployTask not found
Solution: Verify that the
jwsdp.homeproperty in thebuild.propertiesfile for the sample is set correctly to the location where you installed the Java WSDP version 1.4, as described in Setting Build Properties.
|
Download
FAQ History |
|
API
Search Feedback |
All of the material in The Java(TM) Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.