JAX-RPC Web Service Fails Compilation with "cannot find symbol" in 10.3.5 (Doc ID 1457472.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Weblogic Server - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

 Building a JAX-RPC WebService on top of WLS 10.3.5 leads to the following error:

[clientgen] C:\Documents and Settings\ovaladie\Local
  Settings\Temp\_vhn32z\sampl
  e\Hello.java:31: cannot find symbol
  [clientgen] symbol  : constructor MyEnum(java.lang.String)
  [clientgen] location: class sample.MyEnum
  [clientgen]     if (_enum == null) return new sample.MyEnum("01");
  [clientgen]                           

 
 This used to work alright on the previous version - WLS 10.3.

Cause

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 hundreds of Community platforms