My Oracle Support Banner

Compilation failure with wlappc on Webservices using @WebServiceProvider (Doc ID 1296383.1)

Last updated on MAY 24, 2017

Applies to:

Oracle Weblogic Server - Version: 10.3 to 10.3.2
Information in this document applies to any platform.


You will notice that wlappc fails when compiling an application that contains a JAX-WS Webservice that is annotated with (@WebServiceProvider).

The following error on wlappc compilation:
[wlappc] <Nov 9, 2010 4:45:00 PM MST> <Info> <J2EE> <BEA-160186>
<Compiling EAR module 'WebService/xxxxx.war'>
[wlappc] [JspcInvoker]Checking web app for compliance.
[wlappc] <Nov 9, 2010 4:45:01 PM MST> <Info> <HTTP> <BEA-101047>
<[ComplianceChecker] Validating the servlet element with servlet-name named "XxxxServiceServlethttp".>
[wlappc] There are 1 nested errors:
[wlappc] weblogic.servlet.internal.dd.compliance.ComplianceException: The element servlet-class, "xxx.xxxxx.xx.xx.xxxxx.Xxxx" must be a subclass of "javax.servlet.Servlet".
[wlappc] at
[wlappc] at
[wlappc] at
[wlappc] at


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.