My Oracle Support Banner

WLS 9.2.2 - Ant task jwsc fails when EJB contains inner class! (Doc ID 1294822.1)

Last updated on SEPTEMBER 25, 2020

Applies to:

Oracle WebLogic Server - Version 9.2 to 9.2
Oracle WebLogic Server - Version 10.0 to 10.0
Information in this document applies to any platform.

Symptoms

In Weblogic 9.2.2 (WLS), when using ant task jwsc to generate Webservice on an existing EJB that contains inner class, the ant build fails with the following error:

[jwsc] Creating <PATH>\Temp\xxxxx\\ejb-jar.xml
[jwsc] Compiling 5 source files to <PATH>\Temp\xxxxx
[jwsc] <PATH>\Temp\xxxxx\<JAVAFILENAME1>.java:402: cannot find symbol
[jwsc] symbol : class <JAVAFILE>$<FILENAME>.java
[jwsc] location: package <PACKAGENAME>
[jwsc] public <PACKAGENAME>.<JAVAFILE>$<FILENAME> <METHODNAME>() throws RemoteException;
[jwsc] ^
[jwsc] <PATH>\Temp\xxxx\<JAVAFILENAME1>.java:409: cannot find symbol
[jwsc] symbol : class <JAVAFILE>$<FILENAME>
[jwsc] location: interface <INTERFACENAME>
[jwsc] public <PACKAGENAME>.<JAVAFILE>$<FILENAME> <METHODNAME>() throws RemoteException;
[jwsc]
^
[jwsc] Note: Some input files use unchecked or unsafe operations.
[jwsc] Note: Recompile with -Xlint:unchecked for details.
[jwsc] 2 errors
[AntUtil.deleteDir] Deleting directory <PATH>\Temp\xxxx

Creating <PATH>\Temp\xxxxx\\weblogic-ejb-jar.xml

BUILD FAILED

Changes

 

Cause

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

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


In this Document
Symptoms
Changes
Cause
Solution
References


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