When I use wsgen or apt to create web service artifacts in JDK 7 with the command.
wsgen -s src -cp CLASS_PATH -d OUTPUT_DIRECTORY com.sun.WebServiceSEI
displays the following warning message
The apt tool and its associated API contained in the com.sun.mirror package are deprecated after JDK 7 and are planned for removal in the next major version of the JDK. Use the options available in the javac tool and the APIs contained in the javax.annotation.processing and javax.lang.model packages to process annotations.
How can I generate web service artifacts without using wsgen or apt to remove this warning?
source
share